sagorbrur/bnlp

Unable to train word2vec on my dataset

KhondokerIslam opened this issue · 2 comments

Given the .txt file path, vector_name and model_name, I do not get any output on word2vec when training with my own dataset. Hoping for a quick fix.

Hi,
Thanks for your issue.
There is a simple less information in README.md or documentation.
Just change this line:

bwv = Bengali_Word2Vec()

to

bwv = Bengali_Word2Vec(True)

Here True is a parameter called is_train.
Hope it will solve your problem. Let us know if it works or not.
regards

It works good now. Thanks