cristinae / WikiTailor

Your à-la-carte in-domain corpora extraction tool from Wikipedia
1 stars 0 forks source link

frequency map for ngrams generator #18

Open albarron opened 7 years ago

albarron commented 7 years ago

I needed a function to return a map of the char n-grams and their frequency in a text.

I added it and (as it implements Decomposition), I had to add the corresponding empty method.

Decide if we really need such method there (and implement it in all the classes that implement Decomposition) or we move that method somewhere else.