{"id":23383157,"url":"https://github.com/fostroll/corpuscula","last_synced_at":"2025-08-10T03:03:30.488Z","repository":{"id":62564890,"uuid":"253229905","full_name":"fostroll/corpuscula","owner":"fostroll","description":"Toolkit that simplifies corpus processing","archived":false,"fork":false,"pushed_at":"2021-12-09T10:56:50.000Z","size":37822,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T16:47:50.375Z","etag":null,"topics":["conllu","corpora","natural-language-processing","nlp","universal-dependencies"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fostroll.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}},"created_at":"2020-04-05T12:30:36.000Z","updated_at":"2023-10-16T07:10:33.000Z","dependencies_parsed_at":"2022-11-03T16:00:42.483Z","dependency_job_id":null,"html_url":"https://github.com/fostroll/corpuscula","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fostroll/corpuscula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fostroll%2Fcorpuscula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fostroll%2Fcorpuscula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fostroll%2Fcorpuscula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fostroll%2Fcorpuscula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fostroll","download_url":"https://codeload.github.com/fostroll/corpuscula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fostroll%2Fcorpuscula/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269668185,"owners_count":24456495,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["conllu","corpora","natural-language-processing","nlp","universal-dependencies"],"created_at":"2024-12-21T22:17:45.826Z","updated_at":"2025-08-10T03:03:30.460Z","avatar_url":"https://github.com/fostroll.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\u003cstrong\u003eRuMor: Russian Morphology project\u003c/strong\u003e\u003c/div\u003e\n\u003ch2 align=\"center\"\u003eCorpuscula: a python NLP library for corpus processing\u003c/h2\u003e\n\r\n[![PyPI Version](https://img.shields.io/pypi/v/corpuscula?color=blue)](https://pypi.org/project/corpuscula/)\r\n[![Python Version](https://img.shields.io/pypi/pyversions/corpuscula?color=blue)](https://www.python.org/)\r\n[![License: BSD-3](https://img.shields.io/badge/License-BSD-brightgreen.svg)](https://opensource.org/licenses/BSD-3-Clause)\r\n\r\nA part of ***RuMor*** project. It contains tools to simplify corpus\r\nprocessing. Highlights are:\r\n\r\n* full [*CoNLL-U*](https://universaldependencies.org/format.html) support\r\n(includes [*CoNLL-U Plus*](https://universaldependencies.org/ext-format.html))\r\n* wrappers for known corpora of Russian language\r\n* parser and wrapper for Russian part of *Wikipedia*\r\n* *Corpus Dictionary* that can be used for further morphology processing\r\n* simple database to keep named entities\r\n\r\n## Installation\r\n\r\n### pip\r\n\r\n***Corpuscula*** supports *Python 3.5* or later. To install it via *pip*, run:\r\n```sh\r\n$ pip install corpuscula\r\n```\r\n\r\nIf you currently have a previous version of ***Corpuscula*** installed, use:\r\n```sh\r\n$ pip install corpuscula -U\r\n```\r\n\r\n### From Source\r\n\r\nAlternatively, you can also install ***Corpuscula*** from source of this *git\r\nrepository*:\r\n```sh\r\n$ git clone https://github.com/fostroll/corpuscula.git\r\n$ cd corpuscula\r\n$ pip install -e .\r\n```\r\nThis gives you access to examples and data that are not included to the\r\n*PyPI* package.\r\n\r\n## Setup\r\n\r\nAfter installation, you need to specify a directory where you prefer to store\r\ndownloaded corpora:\r\n```python\r\n\u003e\u003e\u003e import corpuscula.corpus_utils as cu\r\n\u003e\u003e\u003e cu.set_root_dir(\u003cpath\u003e)  # We will keep corpora here\r\n```\r\n**NB:** it will create/update config file `.rumor` in your home directory.\r\n\r\nIf you won't set the root directory, ***Corpuscula*** will keep corpora\r\nin the directory where it's installed.\r\n\r\n## Usage\r\n\r\n[*CoNLL-U* Support](https://github.com/fostroll/corpuscula/blob/master/doc/README_CONLLU.md)\r\n\r\n[Management of Corpora](https://github.com/fostroll/corpuscula/blob/master/doc/README_CORPORA.md)\r\n\r\n[Wrapper for *Wikipedia*](https://github.com/fostroll/corpuscula/blob/master/doc/README_WIKIPEDIA.md)\r\n\r\n[*Corpus Dictionary*](https://github.com/fostroll/corpuscula/blob/master/doc/README_CDICT.md)\r\n\r\n[Utilities](https://github.com/fostroll/corpuscula/blob/master/doc/README_UTILS.md)\r\n\r\n[*Items* database](https://github.com/fostroll/corpuscula/blob/master/doc/README_ITEMS.md)\r\n\r\n## Examples\r\n\r\nYou can find examples in the directory `examples` of our ***Corpuscula*** github\r\nrepository.\r\n\r\n## License\r\n\r\n***Corpuscula*** is released under the BSD License. See the\r\n[LICENSE](https://github.com/fostroll/corpuscula/blob/master/LICENSE) file for\r\nmore details.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffostroll%2Fcorpuscula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffostroll%2Fcorpuscula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffostroll%2Fcorpuscula/lists"}