UUDigitalHumanitieslab / gretel

GrETEL4 (fork from CCL-KULeuven)
http://gretel.hum.uu.nl
Other
4 stars 2 forks source link

Alpino in server mode returns malformed xml #229

Open oktaal opened 4 years ago

oktaal commented 4 years ago
$ ssh gretel.hum.uu.nl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Sep 21 16:07:59 2020 from shell.hum.uu.nl
sspoel@im-linux-gretel:~$ telnet localhost 7001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
hallo wereld . 
<?xml version="1.0" encoding="UTF-8"?>
<alpino_ds version="1.3">
  <node begin="0" cat="top" end="3" id="0" rel="top">
    <node begin="0" cat="du" end="3" id="1" rel="--">
      <node begin="0" end="1" frame="tag" id="2" lcat="advp" lemma="hallo" pos="tag" postag="TSW()" pt="tsw" rel="tag" root="hallo" sense="hallo" word="hallo"/>
      <node begin="1" cat="np" end="3" id="3" rel="nucl">
        <node begin="1" end="2" frame="noun(de,count,sg)" gen="de" genus="zijd" getal="ev" graad="basis" id="4" lcat="np" lemma="wereld" naamval="stan" ntype="soort" num="sg" pos="noun" postag="N(soort,ev,basis,zijd,stan)" pt="n" rel="hd" rnum="sg" root="wereld" sense="wereld" word="wereld"/>
        <node begin="2" end="3" frame="number(hoofd(both))" id="5" infl="both" l" numtype="hoofd" pos="num" positie="vrij" postag="TW(hoofd,vrij)" pt="tw" rel=""/>pecial="hoofd" word=".
      </node>
    </node>
  </node>
</sentence>>hallo wereld .
</alpino_ds>
Connection closed by foreign host.

Note eg </sentence>>hallo wereld .

oktaal commented 3 years ago

See: https://github.com/rug-compling/Alpino/issues/7