Compiling Python API in Linux Mint
Hi,
Trying to compile the API for Python of Freeling 4.0 (latest from git) and I get this error when I run "make":
- Read more about Compiling Python API in Linux Mint
- 1 comment
- Log in or register to post comments
Questions and answers related to FreeLing installation
Hi,
Trying to compile the API for Python of Freeling 4.0 (latest from git) and I get this error when I run "make":
Hi there. I'm familiar with Freeling from some years now. I'm trying to compile the python api in windows 10 with no luck yet. I've been learning a lot for a few months but I'm not really a coder (at all, actually I studied linguistics) so I thank in advance for any help I can get (hopefully understandable for me).
I have problem in comiling freeling in windows, I have using instruction (Option B) that where in freeling-4.0-win64.zip readme file.
My Visual Studio Version is VS2017,i have errors like below after building solution:
Error C1083 Cannot open source file: '..\..\..\src\main\sample_analyzer\analyzer_client.cc': No such file or directory analyzer_client D:...\freeling\src\msvc\13.0\analyzer_client\c1xx
i have tested on VS2013 update 5 too and i have same problem in that.
Hi there,
I would like to lemmatize in PHP. I have found what looks like a PHP API in https://github.com/TALP-UPC/FreeLing/blob/master/APIs/php/analyzer.php
I have downloaded and included analyzer.php in my PHP script but I don't see how I can run the analyzer. Could you please provide an example?
Thanks in advance.
Cheers, Manuel
I have installed Freeling 4.0 on my Debian 8, using freeling-4.0-jessie-amd64.deb file.
Then, I have tried to install the Java API to access the freeling engine from a java program, so I downloaded the FreeLing-4.0.tar.gz file, I unzipped it, and I have tried to install java API with 'make' (./FreeLing-4.0/APIs/java/Makefile). I have configured the three DIR variables, but the compilation is NOK. The SWIG part does not complain, and it generates a cxx file. But the GCC compilation ends with lots of errors. It seems as if it can not find the freeling objects.
Trying to compile Freeling 4.0 (latest from git) and I get this error when trying to compile the Python:
We were working with Freeling 3.1, but we think 4.0 can offer more power to our analysis. So I tried to install the out-of-the-box version of Freeling 4.0, to use it from Java running on Windows.
Freeling installation
There is no “analyzer_client.exe” file in “bin” folder of the 4.0 Windows package.
I tried using “analyzer_client.exe” of FreeLing 3.1 to connect the server of FreeLing 4.0 and it seems to be working. So we can use client / server model on Windows now.
But it would be very nice if the official Windows package contains “analyzer_client.exe” file.
Best,
I had to make a couple of manual changes to the Makefile to build the Java API -- changes that were not noted in the README.
Here is the build line:
libfreeling_javaAPI.dylib: freeling_javaAPI.cxx
$(GCC) -shared -o libfreeling_javaAPI.so freeling_javaAPI.cxx -lfreeling \
-L$(FREELINGDIR)/lib -I$(FREELINGDIR)/include -I$(FREELINGDIR)/include/treeler -I$(JAVADIR)/include \
-I$(JAVADIR)/include/darwin -fPIC -std=c++0x \
-lboost_system-mt