-
Notifications
You must be signed in to change notification settings - Fork 119
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
Error parsing specific text within double quotes. #1328
Comments
This happens because "Something" is not marked in |
Sorry for late reply. The correct fix is not obvious. One possibility is would to run optional de-capitalization on the first word after an open-quote (because it is often the case that quoted text is a full-fledged sentence, including capitalization.) However, in this case, "something Here" (with lower-case s but upper-case H) is not a valid sentence -- it seems that the entire sequence was meant to be a named entity. Usually, named entities have names like "Great Southern and Northern Railroad Bank Corporation" -- all caps, nouns and adjectives, and "Something Here Banking Corporation LLC" doesn't quite fit that pattern. My calendar is very busy for the next few weeks. I'm not sure I can think clearly about this just right now. Perhaps one fix is to add an (My main desktop computer died ... I can't do any work just right now; I can't even run LG right now.) |
@linas Thanks for the response. For my use, basically determining a Thinking a little ahead: Is there a way to pass in perhaps a "dictionary extension" when parsing occurs? I have a list of proper nouns that I would like to be identified, and that list can change based on context external of the parser. However, I would like to not have to |
Without an extension to the library, maybe you can use the following solution (or maybe "solution"), that needs manipulation of the text before parsing:
If needed, you can add in the |
I am running into a parsing discrepancy between very similar sentences:
Parsed:
"Create a folder named "Right Here"."
Doesn't Parse
"Create a folder named "Something Here"."
Note the only difference is replacing the word "Right" with "Something".
Thoughts?
The text was updated successfully, but these errors were encountered: