Questions and aswers related to FreeLing usage

iOS (terminal): Library not loaded. Image not found

Submitted by Sebastià Salvà… on Fri, 10/30/2020 - 12:54

Dear all,

I have just installed FreeLing 4.2 in a MacBook (iOS Catalina) and the language pack.
I amb new on FreeLing and I am not very used to use Terminal.

I'd like to tag a text in Catalan. The file TXT (UTF 8) is in the Documents directory.

When I try some command, I'll get this:

Freeling's usage and it's functions

Submitted by gabriela123 on Fri, 06/05/2020 - 19:25

I am using Freeling 4.1 in Windows environment that I installed from scratch with python 3 , for Portuguese language. I would like to know how can I change the language in from English to Portuguese without needing “quantities.dat” because that function does not exist in the “pt” folder and when I remove it the rest of the code doesn’t work because it doesn’t have the needed output of “quantites.dat”.

Different tag results between two very similar sentences

Submitted by antodellanzo on Sun, 05/03/2020 - 19:39

Hello. I'm using freeling in python to analyze a set of newspaper articles in Spanish. I've updated the location gazetteers with a bunch of locations and I've removed all locations from other gazetteers (i.e. organization) because it would return some location as ORG and all I need are locations. I'm analyzing my text with tokenizer, splitter, ner-ab-rich.dat NER and finally nec-ab-rich.dat NEC (all with the default configuration, I haven't changed them). I'm having a problem with the two following sentences:

Gathering paragraphs compiling Freeling on Python

Submitted by adriancampillo on Thu, 09/26/2019 - 10:09

Good morning Forum,

I have noticed that Freeling has several functionss related to lists of paragraphs but, the examples only focus on sentences and words, so it's difficult working with paragraphs.
Can I have any help with this, extracting paragraphs from a text?

This is wonderful to work with sentences:

## -----------------------------------------------
## Do whatever is needed with analyzed sentences
## -----------------------------------------------
def ProcessSentences(ls):

Compiling Freeling from Python, analyzer error

Submitted by adriancampillo on Mon, 09/09/2019 - 15:37

Hello Forum,

I am working with the first example ( that is postered on the Freeling gitbook tutorial, but when I run the code, the analysis doesn't seem to be correct. The labels assigned to some words doesn't actually match with the real type of word. For example, some verbs are labeled as nouns.

This is the function that seem to be failing:
#! /usr/bin/python3

import pyfreeling
import sys