Usage

Description

Questions and aswers related to FreeLing usage

Different tag results between two very similar sentences

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

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:
1- Título: VIRUS ZIKA - BRASIL: (SP) PRIMER CASO AUTOCTONO.

Gathering paragraphs compiling Freeling on Python

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

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
Forums

Hello Forum,

I am working with the first example (example01.py.md) 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

Freeling with C# Projects

Submitted by mauroscout on Fri, 05/17/2019 - 18:47
Forums

I am using the freeling command "analize.bat" inside in my project en C# de Microsoft Visual Studio 2015 under Windows 10 on 64 bits plataform, when running the sentence analyze.bat -f en.cfg --lang en locale en_US.utf8 --inplv text --outlv dep --mode doc --output xml --loc --numb --date --quant < FT923-5089.txt > FT923-5089.xml Windows show me this error:

(X) Debug Assertion Failed!

Program C:\Windows\system32\MSVCP1400.dll File C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\list
Line:210

Expression: list iterator not dereferencable

Segfault when parsing sentence with a quantity in the form of <number>M from Wikipedia text.

Submitted by enricm on Wed, 03/13/2019 - 16:38
Forums

This segfault happens with Freeling v4.1 compiled with gcc (GCC) 8.2.1 20181127.

Steps to reproduce:

1. create test-1 file with sentence:

Si la massa de l'estrella se situa entre 0,5 i 8M, en esgotar tot l'hidrogen, el seu nucli posseïx una temperatura alta.

Problems with Assertion failures and out of range vector subscripts.

Submitted by Serafin on Wed, 11/07/2018 - 18:32
Forums

Hi, I'm using the Freeling 4.1 binaries in Windows 10 with the SDK installed in its latest version.

The only thing that my .txt contains are the words "This is a demostration.".

By running ... analyze.bat -f en.cfg --outlv coref <demostration.txt,
apart from the message about NEC and UKB, I get two assertion failures (Debug assertion failed!, Windows says nothing about them being runtime exceptions):