How to create n gram model in matlab r2017b?

Dear
As I am practicing NLP tasks in matlab, I am facing questions in regular basis. And the comands differing from versions are making the progress more difficult and push me post the question here.
My question is, is there any command to create n-gram(uni, bi, tri, and as well) of documents? I found a version of bagOfNgrams in Matlab R2018b which I have not found such command in R2017b version?
I appreciate your kind help.
Thanks,

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 6 de Nov. de 2018

Respondida:

el 20 de Dic. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by