Questions and answers related to FreeLing installation

Compiling Python API on Ubuntu 16

Submitted by ulrike.henny on Wed, 11/15/2017 - 11:12

I tried to compile the Python API on Ubuntu 16. The is created, but it does not work correctly and I get many error messages when compiling the API. I have the following:

Freeling: 4.0 (stable version)
Linux: Ubuntu 16.04.4
gcc: version 5.4.0 20160609
Python: 3.5.2
SWIG: 3.0.8

I changed the paths in the MAKE file like this:
PYTHONVER = python3.5
PYTHONDIR = /usr/include/$(PYTHONVER)

Compiling Python Api in WIndows 10

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

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

I have problem in comiling freeling in windows, I have using instruction (Option B) that where in 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\': 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

Hi there,

I would like to lemmatize in PHP. I have found what looks like a PHP API in

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

FreeLing 4.0 on Windows 10 to use in Java

Submitted by mmineo on Fri, 12/09/2016 - 21:38

I'm following the instructions here:

1. Install java

2. Download and install swig (

3. Run swig with freeling_javaAPI.i to generate the API SWIG will generate a directory edu/upc/freeling with the Java API for all modules, and a file freeling_javaAPI.cxx with the JNI side of the API.

Installing on Ubuntu 16.04.01 LTS

Submitted by LeandroSMatos on Sat, 11/26/2016 - 21:06

When I try to install on Ubuntu via terminal with the command sudo dpkg -i freeling-4.0.deb is returning me this message:

Dpkg: error while processing the file freeling-4.0.deb (--install):
Unable to access file: File or directory not found
Errors were encountered while processing:

Any tips on how to solve or just installing source packages?

Installing java API on Debian

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

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.