Download Latest Version v1.5.0 source code.tar.gz (842.0 kB)
Email in envelope

Get an email when there's a new version of Classical Language Toolkit (CLTK)

Home / v1.3.0
Name Modified Size InfoDownloads / Week
Parent folder
cltk-1.3.0-py3-none-any.whl 2024-05-12 695.7 kB
cltk-1.3.0.tar.gz 2024-05-12 625.3 kB
README.md 2024-05-12 761 Bytes
v1.3.0 source code.tar.gz 2024-05-12 828.1 kB
v1.3.0 source code.zip 2024-05-12 933.9 kB
Totals: 5 Items   3.1 MB 0

Version 1.3.0

Installation

Install the new release with pip install cltk==1.3.0.

Changes

OdyCy code example:

:::python
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)
Source: README.md, updated 2024-05-12