While installing from here: https://talp-upc.gitbooks.io/freeling-4-1-user-manual/content/installat…
I am getting below error:
[ 99%] Building CXX object APIs/python2/CMakeFiles/_pyfreeling.dir/freeling_pythonAPIPYTHON_wrap.cxx.o
In file included from /home/kashyap/Downloads/FreeLing/src/include/freeling.h:51:0,
from /home/kashyap/Downloads/FreeLing/build/APIs/python2/freeling_pythonAPIPYTHON_wrap.cxx:3282:
/home/kashyap/Downloads/FreeLing/src/include/freeling/morfo/dep_lstm.h:36:10: fatal error: dynet/lstm.h: No such file or directory
#include "dynet/lstm.h"
^~~~~~~~~~~~~~
compilation terminated.
APIs/python2/CMakeFiles/_pyfreeling.dir/build.make:71: recipe for target 'APIs/python2/CMakeFiles/_pyfreeling.dir/freeling_pythonAPIPYTHON_wrap.cxx.o' failed
make[2]: *** [APIs/python2/CMakeFiles/_pyfreeling.dir/freeling_pythonAPIPYTHON_wrap.cxx.o] Error 1
CMakeFiles/Makefile2:795: recipe for target 'APIs/python2/CMakeFiles/_pyfreeling.dir/all' failed
make[1]: *** [APIs/python2/CMakeFiles/_pyfreeling.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
thanks for the help in advance.
You are compiling the master…
You are compiling the master branch, not version 4.1.
FreeLing is a C++ project. Python APIs are not updated frequently in master, until a stable version is released.
If you want to use python, use version 4.1, not the master branch.
Alternatively, if you update the API generation files to cover new modules in masters, contributions are welcome.
I did make it work. Now, I…
I did make it work. Now, I am having Python API with pyfreeling.py.
Thank you for your help.