jumanpp icon indicating copy to clipboard operation
jumanpp copied to clipboard

Is server mode going be back?

Open kouohhashi opened this issue 6 years ago • 1 comments

Hi, I'm using Juman++ 2.0.0-rc2. I thought Juman++ 2.0.0-rc1 had sever mode but I couldn't find any command for server mode on rc2.

Is server mode going to be back in the future? Or is there any command options to start Jumanpp with server mode?

Thanks in advance.

kouohhashi avatar Aug 28 '19 09:08 kouohhashi

I recommend using https://github.com/eiennohito/jumanpp-grpc instead which uses modern technology and can be easily consumed from various languages. (For using the exact package version you should replace the jumanpp dir with the jumanpp package before building.)

The implementation of server mode of JUMAN is pretty hacky and suffers from problems of JUMAN output formats which break on rather common characters. When using jumanpp-grpc (API definition) you would then get replies packed in https://github.com/ku-nlp/jumanpp/blob/master/src/jumandic/proto/juman.proto messages

eiennohito avatar Aug 29 '19 02:08 eiennohito