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”.

Also, I would like to know if there is any documentation about all the functions available for python and Portuguese and how to use them ( expected inputs and outputs). For exemple, I want to do shallow parsing, available in the demo, which function shall I call in python?

At last, the processing time for is very slow, is that normal?

Best regards.

Hello, I know this is not an answer but I have basically the same problem as you, I can't find any place to document me about the use of the Freeling API for python, if you found something please put it here

The functions available in python are the same than in C++.

To deactivate quantities detection in, you just need to set the file name to "" in the call to op.set_data_files, and the corresponding boolean to False in the call to mf.set_active_options.

The position of each parameter can be found in the user manual (documentation is in C++, but function names and parameters are the same for python)