Installation

Description

Questions and answers related to FreeLing installation

Problems installing Freeling 4.1 to use it with Python

Submitted by ivansiiito on Thu, 10/11/2018 - 21:53
Forums

Hi!

I'm trying to use Freeling 4.1 in Python (in Windows 10), but I'm having trouble trying to install it from sources. I'm following the installation manual and, with lots of effort (I'm not used to do these things at all), I managed to do up to the cmake command.

However, when I try the nmake install I'm having problems:

Error loading ukb with Python API on Windows 10

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

Hello,
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
Forums

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 '_freeling.so' failed
make: *** [_freeling.so] Error 1

Instalación de Freeling4 en Windows

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

Hello,

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

    1. Install java

    2. Download and install Swig (http://www.swig.org/)

    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
Forums

Hello,
I tried to compile the Python API on Ubuntu 16. The freeling.py 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:
FREELINGDIR = /usr
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
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