wmd icon indicating copy to clipboard operation
wmd copied to clipboard

i want to use WMD to train chinese data,there's some errors ,plz help me!

Open 15611511155 opened this issue 8 years ago • 1 comments

root@user-virtual-machine:/home/user/WMD# python wmd.py asd.pk asdwmd.pk [pool :] <multiprocessing.pool.Pool object at 0x7f327f1cc150> 0 out of 3 1 out of 3 emd: Signature size is limited to 100 2 out of 3 emd: Signature size is limited to 100


stop.txt and training data all use in chinese. how can i solve this problem???

15611511155 avatar Aug 28 '17 10:08 15611511155

mkusner/wmd#18

you have to modify some lines in "python-emd-master\emd.h" (for python) or "emd\emd.h" (for matlab )

find definitions and edit MAX_SIG_SIZE #define MAX_SIG_SIZE 100 change 100 to bigger number (actually, the size of biggest document BOW). remember that you must re-make.

kfzyqin avatar Jun 12 '18 22:06 kfzyqin