'nyserver' is a compound splitter server.

To install you must download the file 'http://www.nada.kth.se/theory/humanlang/tools/GPLStava_extra.tar.gz' and unpack it to '../' (by default the compound splitter uses files in '../GPLStava_extra/lib/', but this can be changed by editing the line '#define LIBPATH "../GPLstava_extra/lib/"' in 'nyserver.cpp').

Then type 'make' in the same directory as the Makefile and a file named 'nyserver' will be created. NOTE: On some platforms the '-lsocket' argument to gcc in the Makefile is not needed, just remove it if this is the case for your platform.

When the installation is completed, run 'nyserver' to see help on the command line options. A standard use is to run 'nyserver head_frequencies.txt tail_frequencies.txt ngram_frequenices.txt PORT cwtl pospair_frequencies.txt', where port is the port used by clients.

If we started the server as above with PORT replaced by 6140, clients can communicate with the server by using e.g. telnet:
>telnet 127.0.0.1 6140
Connected to localhost.
>bilmekaniker
>sljdlrare
>fikonsprk
>jospress
>ENDQ

which yiels the following reply:
<reply>
bilmekaniker    bil|mekaniker
sljdlrare     sljd|lrare
fikonsprk      fikon|sprk
jospress
</reply>
