Cltk

Latest version: v1.3.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 12

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 on spaCy](https://spacy.io/universe/project/odycy)
* [Hugging Face's model card](https://huggingface.co/chcaa/grc_odycy_joint_trf)
* [OdyCy's paper](https://aclanthology.org/2023.latechclfl-1.14/)

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)

1.2.1

Installation
Install the new release with `pip install cltk==1.2.1`.

Changes
* Updated mypy.
* Improved printing of CLTK version

1.2.0

Installation
Install the new release with `pip install cltk==1.2.0`.

Changes
* Updated spaCy to version 3.7.2.
* Added a spaCy wrapper 1195 1239. A spaCy model can be used to parse a text and the data can be translated from a spaCy's `Doc` to a list of CLTK's `Word`.
* LatinCy has been integrated to CLTK as the first spaCy model. This is the default model for spaCy model in Latin 1239.
* **Breaking change** Renamed two files that lead to wrong imports:
* Before: `from cltk.dependency.stanza import StanzaWrapper`
* After: `from cltk.dependency.stanza_wrapper import StanzaWrapper`, `from cltk.dependency.spacy_wrapper import SpacyWrapper`

1.1.7

Installation
Install the new release with `pip install cltk==1.1.7` or just `pip install cltk` if it is still the last release of cltk.

Changes:
- **Breaking change** Python 3.8 not supported anymore.
- Python 3.11 now supported. Fix 1224.
- Removed `python-Levenshtein` and replaced it by `rapidfuzz`.
- Updaded `stanza` to 1.6.0. This leads to new versions of trained models and new values of morpho-syntactic features. Fix 1235, 1232, 1229.
- Updated `spacy` to 3.6.1. A wrapper for `spaCy` models will come for the next release.
- Updated other packages 1233.
- More type annotations were added.
- **Breaking change** Fixed typo from `PrononimalType` to `PronominalType`.

1.1.7a6

Install the pre-release with `pip install cltk==1.1.7a6` https://pypi.org/project/cltk/1.1.7a6/.
* Fixed default pipelines for Python 3.11 (`dataclass(frozen=True)`, see https://docs.python.org/3/library/dataclasses.html#dataclasses.dataclass).
* Fixed CircleCI build (see https://github.com/pytorch/pytorch/issues/100974).

1.1.7a4

* Updated Universal Dependencies.
* Fixed `download_all_models.py` script.

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.