Questions and aswers related to FreeLing usage

No rule to get short versions of chunk tags (English)

Submitted by PaulBreugnot on Wed, 08/08/2018 - 17:19

I am using Freeling to process English sentences, more particularly using hmm_tagger.
At the beginning I add a lot of errors "TAGSET: No rule to get short version of tag [tag]" where tag was of the form "tag1+tag2" (e.g. : 'DT+MD', 'VB+PRP'... It mainly corresponds to all the English abbreviation I'll, We'd, you're...).
Even if they don't make the program crash, those errors was just overflowing the terminal, slowing the program, and it seems that those PoS tags was not assigned to corresponding words.

Use Freeling with sentences without full stop at the end?

Submitted by nantesfer on Wed, 07/04/2018 - 17:44

Hello. I have just started using Freeling, and I am using it to obtain the lemma form (get_lemma() ) and saving it on a string of some Spanish reviews I get from Google Maps API. Freeling works well with sentences that have full stop at the end (for example, “Buen lugar, comodo y agradable.), but it does not when the review doesn’t have full stop (for example, Buen lugar. Trato amigable). In that case, Freeling won’t return the lemma form of each one of the words in the sentence, so the string remains empty.

Output formatting in Freeling 4.0's analyzer.bat

Submitted by jgregores on Tue, 05/15/2018 - 23:33

I'm using the analyzer.bat to analyze literary texts and I would like to be able to distinguish dialogue from narration. To this end, I would need to know when paragraphs start or end. The thing is, the standard output from analyzer.bat puts an empty line between each sentence, but doesn't mark paragraphs at all from what I can understand.

Does the analyzer.bat actually mark paragraphs? If not, is there a way to change this without coding my own main program using the libraries?

Thank you in advance.

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.