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

Latinlibrary corpus word/sentence loading raises error #345

Closed
diyclassics opened this issue Aug 4, 2016 · 0 comments
Closed

Latinlibrary corpus word/sentence loading raises error #345

diyclassics opened this issue Aug 4, 2016 · 0 comments

Comments

@diyclassics
Copy link
Collaborator

The NLTK PlaintextCorpusReader methods words() and sents() raise errors when using commands such as:

from cltk.corpus.latin import latinlibrary
latinlibrary.sents()

  • Words: The reader streams the input, sometimes returning empty lists, which cause index out of range errors with the current Latin lemmatizer.
  • Sents: Currently relies on an external NLTK corpus; will raise errors if not installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant