diff --git a/README.md b/README.md index d71e9bd..60ce29a 100644 --- a/README.md +++ b/README.md @@ -66,3 +66,17 @@ BOT:您好,您上月共消费二十八元。 BOT:您还想干什么 ``` + +### train word vector + +You can train your own MITIE model using following method: +``` +$ git clone https://github.com/mit-nlp/MITIE.git +$ cd MITIE/tools/wordrep +$ mkdir build +$ cd build +$ cmake .. +$ cmake --build . --config Release +$ ./wordrep -e /path/to/your/folder_of_cutted_text_files +``` +/path/to/your/folder_of_cutted_text_files above is a directory path in which has word cutted data files to train. This process may cost one or two days.