When a bad tokenization is sent to the translation_server, it is crashing with this kind of error:
/home/dev8/torch/install/bin/luajit: ./onmt/utils/Features.lua:19: all words must have the same number of features stack traceback: [C]: in function 'assert' ./onmt/utils/Features.lua:19: in function 'extract' tools/translation_server.lua:35: in function 'translateMessage' tools/translation_server.lua:95: in function 'main' tools/translation_server.lua:103: in main chunk [C]: in function 'dofile' ...dev8/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50
It’s a bad behaviour, because it won’t be able to reply at any other requests, even well tokenized. If there is a not well configured client in the set of client machines, its request will be fatal for all others…
The good behaviour would have been to reply with a simple error message.