This is a C++ based implementation of StatNLP framework, designed and developed by StatNLP team of SUTD. For the related academic publications, please visit our website http://www.statnlp.org
This document describes how to develop graphical machine learning model using our StatNLP framework.
- MAC
- Linux
- Windows
Set the eigen directory in CMakeLists.txt.
set(EIGEN3_INCLUDE_DIR YOUR_PATH_TO_EIGEN)
The dynet source code has been placed in project folder, and it will be automatically built when you compile the StatNLP. Meanwhile, you can also build dynet manually via command line.
cmake .. -DEIGEN3_INCLUDE_DIR=YOUR_PATH_TO EIGN -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=address"
The function get_args in file cl-args.h should be static.