LanguageMachines / frog

Frog is an integration of memory-based natural language processing (NLP) modules developed for Dutch. All NLP modules are based on Timbl, the Tilburg memory-based learning software package.
https://languagemachines.github.io/frog
GNU General Public License v3.0
73 stars 11 forks source link

Frog server mode with XML output broken in latest stable release #81

Closed proycon closed 4 years ago

proycon commented 5 years ago

This already seems fixed in the latest development release, so we will simply need to do a new release asap.

Server:

$ frog -S 7001  --skip=mp -X 
frog 0.18.3 (c) CLTS, ILK 1998 - 2019
CLST  - Centre for Language and Speech Technology,Radboud University
ILK   - Induction of Linguistic Knowledge Research Group,Tilburg University
based on [ucto 0.18, libfolia 2.3, timbl 6.4.13, ticcutils 0.22, mbt 3.4]
frog-:config read from: /data2/main/share/frog/nld/frog.cfg
frog-:configuration version = 0.12
ucto:configured TEXTCAT( /data2/main/share/ucto/textcat.cfg )
frog-tagger-tagger-:reading subsets from /data2/main/share/frog/nld//subsets.cgn
frog-tagger-tagger-:reading constraints from /data2/main/share/frog/nld//constraints.cgn
frog-NER-tagger-:READ  /data2/main/share/frog/nld//ners.known
frog-NER-tagger-:loaded 13 additional Named Entities files
frog-mblem-:Initiating lemmatizer...
frog-mbma-:Initiating morphological analyzer...
frog-:Mon Sep  9 23:28:51 2019 Initialization done.
frog-:Listening on port 7001
frog-:New connection...
frog-:Mon Sep  9 23:28:56 2019 Processing... 

Client:

$ telnet localhost 7001
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Dit is een test.
EOT
Connection closed by foreign host.

The server closes the connection and gives no reply. (Without XML everything is fine, on the latest development release everything is fine too so this is already fixed and merely needs a release, it currently breaks at least tscan)