sagorbrur / bnlp

BNLP is a natural language processing toolkit for Bengali Language.

Home Page:https://pypi.org/project/bnlp-toolkit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to train word2vec on my dataset

KhondokerIslam opened this issue · 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