Installation

Description

Questions and answers related to FreeLing installation

Compiling Python Api in WIndows 10

Submitted by trying_to_code on Fri, 09/15/2017 - 03:05
Forums

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).

compiling problem on windows

Submitted by sadegh-khan on Fri, 05/19/2017 - 15:41
Forums

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.

Running freeling in PHP

Submitted by xinelo on Thu, 01/19/2017 - 18:46
Forums

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

Installing java API on Debian

Submitted by carlesg on Mon, 10/17/2016 - 15:45
Forums

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.

No "analyzer_client.exe" in the 4.0 Windows package

Submitted by koichi on Mon, 05/23/2016 - 11:30
Forums

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,

Makefile changes required to build Java API on OSX

Submitted by free-variation on Sun, 05/08/2016 - 19:39
Forums

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