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
HTTPERROR: 500 Server Error (CoreNLPDependencyParser) [CoreNLP ver: 4.3.2] #1226
Comments
NLTK doesn't set the content type to text and doesn't escape the % symbol.
The result is a change I made to make the server more compatible with one
library stops working when I try to url-decode the incoming text. I
suppose we could check for % without an escape sequence or text that
doesn't decode properly rather than failing. I'll put that in the dev
branch for now. The next release should be in a week or less. If you're
comfortable with working around %, or rebuilding from the dev branch,
great, and if not, I can put a temporary patch together for you.
|
Would you try this? I think it should compensate for that issue without breaking the stanza integration https://nlp.stanford.edu/software/stanford-corenlp-4.3.2b.zip |
i fix this issue by replacing % with %20. |
Please note that %20 is a space, and %25 is the percent sign in the
original text.
…On Sun, Dec 5, 2021 at 3:36 PM Jingli Shi ***@***.***> wrote:
i fix this issue by replacing % with %20.
thank you so much for your suggestion.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1226 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2AYWIUIRF46I5B7LVKZMLUPPZQJANCNFSM5JG2C3ZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
thank you for correcting me. it's a typo.
|
Hi,
I try to use CoreNLPDependencyParser to extract POS and dependency structure. but httperror will come out if percentage sign (%) is included in the sentence. a simple demo is as below.
[Output]:
any help about this issue is greatly appreciated.
The text was updated successfully, but these errors were encountered: