Usage

Description

Questions and aswers related to FreeLing usage

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):

Diferencias entre resultado de Demo Online y programaticamente version 4.1

Submitted by lag.manuel on Mon, 09/24/2018 - 16:21
Forums

Buenos días, al querer obtener el árbol de dependencias nos surge el siguiente problema,
tenemos diferencias entre la demo Online y prográmaticamente en la frase "La tormenta azotó Montevideo y el huracán destruyó Miami". El resultado correcto es el que da la demo online. Nosotros estamos usando "dep_treeler" porque cuando usabamos "grammar-chunk" y "dep_txala" el árbol de dependecias que obteníamos como resultado era el "full parsing".
El conll nuestro es:

1 La el DA0FS0 - - - - - 2 spec - -