You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... gets me: {u'Noun': ['a learned person (especially in the humanities', 'someone (especially a child', 'as from a teacher', 'a student who holds a scholarship']}
To avoid the issue, I changed: for x in re.findall(r'\((.*?)\)', reg): (line 135 in core.py)
by: for x in re.findall(r'>\s\((.*?)\)\s<', reg):
Now getting:
{u'Noun': ['a learned person (especially in the humanities); someone who by long study has gained mastery in one or more disciplines', 'someone (especially a child) who learns (as from a teacher) or takes up knowledge or beliefs', 'a student who holds a scholarship']}
as expected.
Thanks,
Jennifer
The text was updated successfully, but these errors were encountered:
This is really awesome! Quick and easy fix to prevent the parser from cutting off close parens. FYI It was on line 130 in my version of core.py. Thanks for this!
Hi,
It seems that there is issue with parenthesis handling.
... gets me:
{u'Noun': ['a learned person (especially in the humanities', 'someone (especially a child', 'as from a teacher', 'a student who holds a scholarship']}
To avoid the issue, I changed:
for x in re.findall(r'\((.*?)\)', reg):
(line 135 in core.py)by:
for x in re.findall(r'>\s\((.*?)\)\s<', reg):
Now getting:
{u'Noun': ['a learned person (especially in the humanities); someone who by long study has gained mastery in one or more disciplines', 'someone (especially a child) who learns (as from a teacher) or takes up knowledge or beliefs', 'a student who holds a scholarship']}
as expected.
Thanks,
Jennifer
The text was updated successfully, but these errors were encountered: