Skip to main content

Latin lookup tables for LatinCy spaCy pipelines

Project description

la-latincy-lookups

Latin lookup tables for LatinCy spaCy pipelines.

When installed in the same environment as spaCy, this package registers Latin lookup data via spaCy's entry point system, making it available to any la pipeline that uses lookup-based lemmatization.

Contents

Table Entries Sources
lemma_lookup 909,669 Kaikki Wiktionary, UD treebanks

Installation

pip install git+https://github.com/latincy/la-latincy-lookups.git

Note: The lookup JSON file is tracked with Git LFS. Make sure Git LFS is installed before cloning.

Usage

The lookup table is registered automatically via spaCy's spacy_lookups entry point. Any la pipeline with a lookup lemmatizer will use it:

from spacy.lookups import load_lookups

lookups = load_lookups(lang="la", tables=["lemma_lookup"])
table = lookups.get_table("lemma_lookup")

Requirements

  • Python >= 3.9
  • spaCy >= 3.8.0, < 4.0.0

License

Code: MIT. Lookup data derived from Wiktionary (CC BY-SA 3.0) and Universal Dependencies treebanks (CC BY-NC-SA 3.0). See latincy-words for full provenance and citations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

la_latincy_lookups-1.0.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

la_latincy_lookups-1.0.0-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file la_latincy_lookups-1.0.0.tar.gz.

File metadata

  • Download URL: la_latincy_lookups-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for la_latincy_lookups-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4a200c2a9f4b0bf2caa861c742a12dd3d608fb0195c1f3389f47e2f1303e2cd9
MD5 094759be130881b4a55f5d0348bf61d1
BLAKE2b-256 aa8e2004549437c10f4c0dcb32e608f892763d07620b760da9b967f67acb7585

See more details on using hashes here.

File details

Details for the file la_latincy_lookups-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for la_latincy_lookups-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 629c84d7664be8fecdeeeb9bb39d41a752f7aee6a200fc6243d63c7511850d48
MD5 977c18cd7cde713bde8bbe64a2a137a1
BLAKE2b-256 ba69c3fce55f64cb36bf3dfcb7fd078d65206436dc5d77839f8bac03b35616e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page