Version 1.3.0
Installation
Install the new release with pip install cltk==1.3.0
.
Changes
- Added odyCy model to process Ancient Greek texts.
OdyCy code example:
from cltk.languages.example_texts import get_example_text
spacy_wrapper: SpacyWrapper = SpacyWrapper(language="grc")
greek_spacy_doc: SpacyDoc = spacy_wrapper.parse(get_example_text("grc"))
for token in greek_spacy_doc.doc:
print(token.orth_, token.lemma_,token.is_stop, token.pos_, token.morph, token.dep_, token.head)