Questions and aswers related to FreeLing usage

How to find out if suffix rule was applied

Submitted by fcbr on Fri, 04/20/2018 - 14:52

I'm using Freeling 4.0 and I need to check if a particular word was found via the suffixes rules.

Using Python, I'm using the following code excerpt:

w = freeling.word(form)

It looks like the only way to find out if a word was "found" via suffix rules is when get_lemma() returns something and fund_in_dict() returns None.

Is that correct?

Integration of Freeling and UIMA

Submitted by JoanCodina on Fri, 04/13/2018 - 17:03

Inside the OPenMINTED project we have integrated the FreeLing parser within the UIMA framework
In github there is the code of the wrapper and a sample program to read/write XMI or txt files, analyze them with FreeLIng and produce as output XMI files with the corresponding annotations
Also there is a docker that already includes FreeLing and the wrapper. The docker processes all the files in an input folder and leaves the processed files in the output folder.
You can find them here, the github repository:

Use in netbeans over windows 8.1 simple detail

Submitted by sanders3 on Tue, 04/10/2018 - 19:33

Hello good day hopefully someone can help me please, I am a beginner in java and I am trying to use the

library freeling.jar (freeling-3.1-win64) in netbeans in java language I first made a project and added

the library freeling.jar and everything came out well and then add the file to my project

and everything works fine my structure is:

How to get an output similar to Online Demo

Submitted by jluispemberty on Wed, 03/07/2018 - 17:37

I wanna make POS tagging with the analyzer.bat program and I allready have it working, but me and my partners have noticed that the XML output on analyzer.bat is diferent from Demo's.
For example, in a sentence, the verb "lava" gives me this output on the Demo:…

where the possible options of tagging are into the "morpho" element.

Problema Freeling 4 en Centos 7.4 JAVA

Submitted by jmfc90 on Fri, 02/02/2018 - 15:40

Hola, tengo un problema al ejecutar Freeling 4.0 para Java en Centos 7.4

Tengo un proceso con 5 threads y al ejecutar cerca de 1000 documentos salta un error interno de C++ (adjunto mapa de memoria).

El codigo que ejecuta en el error es el sigueinte

Termination in a bad_alloc error

Submitted by carlesg on Wed, 01/24/2018 - 18:54


We are using Freeling 3.1 on a LINUX RED HAT Server, from the Java API bridge. We start several JVM services (Uima AS) that can process text request to analyze in some different ways, using Freeling.
Since the last few weeks, the amount of requests is increasing. From that time, we are noticing that some JVM collapse. It seems to be randomly.

Unexpected differences between output format "tagged" and "morfo"

Submitted by koichi on Sun, 01/21/2018 - 17:17

Dear developer,

Will you check these two results? It looks like we can obtain better results with "morfo" output format.

Here is the test sentence:

Marilla lighted a candle and told Anne to follow her, which Anne spiritlessly did, taking her hat and carpet-bag from the hall table as she passed.

NAF output

Submitted by Xsoto on Thu, 12/14/2017 - 11:59


I'm using the '--output naf' option and I see that the resulting format is not tabulated and sometimes consecutive tags appear in the same line, could it be possible to fix it changing some configuration file or adding any other option when calling to Freeling?



How to add new possible PoS tags?

Submitted by Xsoto on Thu, 11/16/2017 - 15:11


I'm trying to adapt Freeling 4.0 so it can analyze domain specific dictionary, identified by specific PoS tags. To do so, I have modified the file "tagset.dat" including the new codes; for instance, to recognize the PoS tag "NC00SC0" I have changed the following line on "tagset.dat":

N 2 noun type/C:common;P:proper gen/F:feminine;M:masculine;C:common num/S:singular;P:plural;N:invariable neclass/S:person;G:location;O:organization;V:other nesubclass/0:0;P:0 degree/V:evaluative

For this one: