TALP-UPC / FreeLing

FreeLing project source code
Other
252 stars 96 forks source link

Cannot get threaded_analyzer to run #117

Open epb378 opened 3 years ago

epb378 commented 3 years ago

When I try to run the following command in a docker container: threaded_analyzer --outlv semgraph --output json --lang en -f /config/configfile.cfg --server --port 50005 nothing happens and the server does not respond

Is there any way to help the analyzer command run faster? Paragraphs take about 8 seconds to parse, and bigger texts a lot longer. Is it possible to enable GPU usage or anything like that?

lluisp commented 3 years ago

Threaded_analyzer is a basic example of how to paralelize the pipeline. It does not have the "--server" option

--server option is only available in "analyzer". Better use it via the "analyze" script. Send text to the server using "analyzer_client". Please check the user manual for details.

(btw, posting your questions in FreeLing web page forum will usually have a shorter response time.)