The first step aims at representing each lexemecategory pair (l, C) with a Bag Of Words (BOW).
once we have determined the number of examples to draw from each category, we sample the sentences according to their perplexity, which we compute with a Neural Language Model trained on WikiText103 (Howard and Ruder, 2018) 7 .