Installation

Description

Questions and answers related to FreeLing installation

Can't reproduce example outcome

Submitted by GregReese on Thu, 05/09/2019 - 15:03
Forums

I installed the Windows version of FreeLing 4.1. When I try the usage example shown at https://talp-upc.gitbook.io/freeling-4-1-user-manual/analyzer
(with mytext.txt and myconfig.cfg also on that page), I get an output that is quite different than the expected results that the example shows. My output is:


El el DA0MS0 1
gato gato NCMS000 1
come comer VMIP3S0 0.978902 comer VMM02S0 0.021098
pescado pescado NCMS000 0.822581 pescar VMP00SM 0.177419
. . Fp 1

freeling-4.1-win64.zip

Submitted by giomach on Thu, 03/28/2019 - 13:24
Forums

After installing FreeLing 4.1 (under Windows 10), I run analyser, and the following files are reported missing: MSVCP140D.dll, VCRUNTIME140D.dll and ucrtbased.dll. These are Microsoft files, which are not available unless Visual Studio is installed. I believe that the "d" in the filenames stands for "debug", and it would seem that this binary has been made in debug mode. Was there a reason to use debug mode rather than "release" mode? In release mode, the files needed would be MSVCP140.dll etc, which can be downloaded from MS.

[solved] Can't compile on OpenBSD -CURRENT

Submitted by enricm on Tue, 03/19/2019 - 16:27
Forums

I've been trying to compile FreeLing from git master branch using OpenBSD. It uses clang by default and the make process runs fine until it chokes with part-dep1.cc. It would be nice if I could use FreeLing on my laptop so I can work on my project with the help of my tutor.

I am using boost-1.66.0p4, and clang++ --version outputs

OpenBSD clang version 7.0.1 (tags/RELEASE_701/final) (based on LLVM 7.0.1)

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)