Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is server mode going be back? #117

Open
kouohhashi opened this issue Aug 28, 2019 · 1 comment
Open

Is server mode going be back? #117

kouohhashi opened this issue Aug 28, 2019 · 1 comment

Comments

@kouohhashi
Copy link

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 kouohhashi changed the title Is server mode back? Is server mode going be back? Aug 28, 2019
@eiennohito
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants