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

Assertion fail: assert link in addresses_of_all_contained_links #66

Closed
janetzki opened this issue Jan 23, 2017 · 1 comment
Closed

Assertion fail: assert link in addresses_of_all_contained_links #66

janetzki opened this issue Jan 23, 2017 · 1 comment
Labels

Comments

@janetzki
Copy link
Owner

janetzki commented Jan 23, 2017

occurs sometimes
in TaggedSentence.addresses_of_link(...)
called by WikipediaPatternExtractor.extract_patterns(...)

@janetzki janetzki added the bug label Jan 23, 2017
@janetzki
Copy link
Owner Author

janetzki commented Feb 5, 2017

Cause: Wrong encoding, e.g,

Link: '/wiki/Draga_Mašin'
All links: {u'/wiki/Draga_Ma\u0161in': [26]}

janetzki added a commit that referenced this issue Feb 5, 2017
@janetzki janetzki closed this as completed Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant