Questions and answers related to FreeLing installation

Error loading ukb with Python API on Windows 10

Submitted by PaulBreugnot on Thu, 08/23/2018 - 15:08

I'm using Freeling Python API since 3 months now, mainly on Linux, and for other users I needed to use it on Windows.
So I compiled Freeling 4.1 as described in the doc, using Microsoft Visual Studio 2015 (pre-compiled boost as mentioned in the doc are not available for Microsoft Visual Studio 2017) and it compiled without error, running the following CMake command :

Installing Freeling on Ubuntu 17.10 and Python 3.6

Submitted by aleck1980 on Wed, 02/28/2018 - 22:32

hi, where I try to run make command in directory ../Freeling/APIs/Python3 I get this error

freeling_pythonAPI.cxx:3283:11: fatal error: freeling.h: No such file or directory
#include "freeling.h"
compilation terminated.
Makefile:11: recipe for target '' failed
make: *** [] Error 1

Instalación de Freeling4 en Windows

Submitted by andreadiazg9 on Tue, 01/23/2018 - 19:11


I'm building the Java API in Windows
And I've done the steps

    1. Install java

    2. Download and install Swig (

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

    4. Compile the Java code in edu / upc / freeling and create a freeling.jar file
       with the results.

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.