vrasneur/pyfasttext

whether can we set 'wordgram' parameter, when process supervised classification ?

Closed this issue · 2 comments

whether can we set 'wordgram' parameter, when process supervised classification ?

Do you mean the "wordNgrams" parameter? Yes, you can :-)

For example:

>>> model = FastText()
>>> model.supervised(input='/path/to/input.txt', output='/path/to/model', epoch=100, lr=0.7, wordNgrams=2)

@vrasneur Yes, I found it,thank you!