Closed giorgio79 closed 5 years ago
The ngram is for string, while the bigram is for tokens. Wondered if tokens could have a more generic ngram function where you can feed in the maximum gram as a parameter?
http://winkjs.org/wink-nlp-utils/#tokensbigrams
So we could have sg like this https://github.com/nlp-compromise/nlp-ngram
Hi @giorgio79,
This feature is in our roadmap.
Best, Rachna
The ngram is for string, while the bigram is for tokens. Wondered if tokens could have a more generic ngram function where you can feed in the maximum gram as a parameter?
http://winkjs.org/wink-nlp-utils/#tokensbigrams
So we could have sg like this https://github.com/nlp-compromise/nlp-ngram