{"id":15520059,"url":"https://github.com/diyclassics/cltk_readers","last_synced_at":"2025-04-23T04:08:33.350Z","repository":{"id":40477638,"uuid":"411454274","full_name":"diyclassics/cltk_readers","owner":"diyclassics","description":"Corpus reader extension for the Classical Language Toolkit","archived":false,"fork":false,"pushed_at":"2025-03-09T14:42:42.000Z","size":168,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T04:08:28.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diyclassics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-28T22:20:51.000Z","updated_at":"2025-03-09T14:42:46.000Z","dependencies_parsed_at":"2024-11-08T20:02:43.875Z","dependency_job_id":"e4625433-ce83-4f63-8212-6fad96107d7b","html_url":"https://github.com/diyclassics/cltk_readers","commit_stats":{"total_commits":115,"total_committers":4,"mean_commits":28.75,"dds":"0.034782608695652195","last_synced_commit":"8e673cf16cef173a3d4015feda49c91bbdeefdb0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diyclassics%2Fcltk_readers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diyclassics%2Fcltk_readers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diyclassics%2Fcltk_readers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diyclassics%2Fcltk_readers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diyclassics","download_url":"https://codeload.github.com/diyclassics/cltk_readers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366721,"owners_count":21418772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:24:09.381Z","updated_at":"2025-04-23T04:08:33.319Z","avatar_url":"https://github.com/diyclassics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLTK Readers\nA corpus-reader extension for CLTK\n\nVersion 0.6.10; tested on Python 3.11.11, CLTK 14.0; LatinCy 3.8.0\n\n## Installation\n`pip install -e git+https://github.com/diyclassics/cltk_readers.git#egg=cltk_readers`\n\n## Usage\n```\n\u003e\u003e\u003e from cltkreaders.lat import LatinTesseraeCorpusReader\n\u003e\u003e\u003e tess = LatinTesseraeCorpusReader()\n```\n\n```\n\u003e\u003e\u003e print(tess.fileids())\n['ammianus.rerum_gestarum.part.14.tess', 'ammianus.rerum_gestarum.part.15.tess', 'ammianus.rerum_gestarum.part.16.tess', 'ammianus.rerum_gestarum.part.17.tess', ...]\n```\n\n```\n\u003e\u003e\u003e print(next(tess.tokenized_sents('vergil.aeneid.part.1.tess', simple=True)))\n['Arma', 'virumque', 'cano', ',', 'Troiae', 'qui', 'primus', 'ab', 'oris', 'Italiam', ',', 'fato', 'profugus', ',', 'Laviniaque', 'venit', 'litora', ',', 'multum', 'ille', 'et', 'terris', 'iactatus', 'et', 'alto', 'vi', 'superum', 'saevae', 'memorem', 'Iunonis', 'ob', 'iram', ';']\n```\n\n## Corpora supported (so far!)\n- [CLTK Tesserae Latin Corpus](https://github.com/cltk/lat_text_tesserae)\n- [CLTK Tesserae Greek Corpus](https://github.com/cltk/grc_text_tesserae)\n- [Perseus Humanist and Renaissance Italian Poetry in Latin (PDILL)](https://www.perseus.tufts.edu/hopper/collection?collection=Perseus:collection:PDILL)\n- [Latin Library](https://www.thelatinlibrary.com/)\n- [Perseus Dependency Treebanks (AGLDT)](https://perseusdl.github.io/treebank_data/)\n- [Universal Dependency treebanks (UD)](https://universaldependencies.org/)\n- [Open Greek \u0026 Latin CSEL files](https://github.com/OpenGreekAndLatin/csel-dev)\n- [CAMENA (jovanovic fork)](https://github.com/nevenjovanovic/camena-neolatinlit)\n\n## Change log\n- 0.6.10: Update requirements\n- 0.6.9: Add a plaintext reader for Ancient Greek\n- 0.6.8: Add parameter to `chunks` method to allow for punctuation to be include/not included in chunking\n- 0.6.7: Add no annotations parameter to spacy_docs for LatinTesseraeCorpusReader\n- 0.6.6: Add `root` parameter to LatinTesseraeCorpusReader\n- 0.6.5: Add fileid selector support for pipe (|) delimited metadata\n- 0.6.4: Bump spaCy version\n- 0.6.3: Update fileid selector for Greek corpus readers\n- 0.6.2: Add LatinCy support for LatinPerseusCorpusReader\n- 0.6.1: Miscellaneous fixes to reader, fileid selector\n- 0.6.0: Introduce metadata-based fileid selector\n- 0.5.6: Bump spaCy version\n- 0.5.5: Update CSEL reader; Update spaCy dependency to LatinCy [lg model](https://huggingface.co/diyclassics/la_core_web_lg)\n- 0.5.4: Update spaCy dependency to LatinCy [md model](https://huggingface.co/diyclassics/la_core_web_md)\n- 0.5.3: Update spaCy dependency to [md model](https://huggingface.co/diyclassics/la_dep_cltk_md)\n- 0.5.2: Minor fixes\n- 0.5.1: Fix spaCy model installation\n- 0.5.0: Update packaging for PyPI\n- 0.4.6: Add `simple` parameter to Tesserae `tokenized_sents`; add `pos_sents` to Tesserae; update demo notebook\n- 0.4.5: Update spaCy dependency to [la_dep_cltk_sm-0.2.0](https://github.com/diyclassics/la_dep_cltk_sm)\n- 0.4.4: Add support for [Camena](https://github.com/nevenjovanovic/camena-neolatinlit)\n- 0.4.3: Add support for Open Greek \u0026 Latin [CSEL files](https://github.com/OpenGreekAndLatin/csel-dev)\n- 0.4.2: Update lxml; also update spaCy dependency (now to main spaCy project, as of v. 3.4.2)\n- 0.4.1: Update spaCy dependency\n- 0.4.0: Add support for Latin Library (and similar plaintext collections)\n- 0.3.0: Add support for Perseus-style TEI/XML files; add Latin spaCy support for lemmatization and POS tagging\n- 0.2.4: Add support for Universal Dependencies files\n- 0.2.3: Add support for Perseus AGLDT Treebanks\n\n*Coded 2022-2024 by [Patrick J. Burns](http://github.com/diyclassics)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiyclassics%2Fcltk_readers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiyclassics%2Fcltk_readers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiyclassics%2Fcltk_readers/lists"}