A new words discoverer without any existing knowledge base. Only Chinese is supported.
mkdir build
cd build
cmake [-DBOOST_ROOT=/path/to/your/boost/root/dir] [-DBOOST_LIBRARYDIR=/path/to/your/boost/lib] ..
cmake --build . --target install --config Release
cd ..
You can simply run the example by following steps:
- Build the application
- Run the example:
cd install && ./new_words_discoverer -f ../corpus/红楼梦.txt
- Check the output in
红楼梦_out.txt