dnanhkhoa / python-vncorenlp

A Python wrapper for VnCoreNLP using a bidirectional communication channel.
MIT License
55 stars 18 forks source link

WARN HttpParser - URI is too large >8192 #10

Open alg0s opened 4 years ago

alg0s commented 4 years ago

The server doesn't serve big text and constantly returns this message: WARN HttpParser - URI is too large >8192

alg0s commented 4 years ago

@dnanhkhoa could you please fix the server to switch from Query Parameter to POST payload? The current implementation cannot handle a long query parameter, hence this error happens.

dnanhkhoa commented 4 years ago

Hi @alg0s , thank you very much for raising this issue,

Unfortunately I cannot sit on this problem this time. I will try to look into it.

anh commented 2 years ago

@dnanhkhoa could you please fix the server to switch from Query Parameter to POST payload? The current implementation cannot handle a long query parameter, hence this error happens.

hi, I wrote R wrapper for this and it can handle long text. You can also run it as docker service and use any clients you want:

https://github.com/vega-ai/vietr