{"id":22887622,"url":"https://github.com/dedinc/ruslingua","last_synced_at":"2025-03-31T19:14:12.024Z","repository":{"id":62589058,"uuid":"398796802","full_name":"DedInc/ruslingua","owner":"DedInc","description":"A Python library for retrieving various linguistic information about Russian words. It provides a simple API to get synonyms, antonyms, word associations, cognate words, and definitions.","archived":false,"fork":false,"pushed_at":"2024-01-10T15:53:53.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T02:08:42.422Z","etag":null,"topics":["antonims","cognate","ruslingua","sinonyms","word-associations","word-definition"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/ruslingua","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/DedInc.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}},"created_at":"2021-08-22T12:41:01.000Z","updated_at":"2025-02-03T19:23:31.000Z","dependencies_parsed_at":"2024-03-04T10:48:12.306Z","dependency_job_id":"9dfc16c6-629a-44da-88ee-28dc22aa01fb","html_url":"https://github.com/DedInc/ruslingua","commit_stats":null,"previous_names":["dedinc/ruslingua","dedinc/wikionary"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fruslingua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fruslingua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fruslingua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fruslingua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DedInc","download_url":"https://codeload.github.com/DedInc/ruslingua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523867,"owners_count":20791444,"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":["antonims","cognate","ruslingua","sinonyms","word-associations","word-definition"],"created_at":"2024-12-13T20:37:16.786Z","updated_at":"2025-03-31T19:14:11.997Z","avatar_url":"https://github.com/DedInc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RusLingua 📚\n\nRusLingua is a Python library for retrieving various linguistic information about Russian words. It provides a simple API to get synonyms, antonyms, word associations, cognate words, and definitions.\n\n## Features\n\n- Get synonyms of a word 👥\n- Get antonyms of a word 👎\n- Get word associations 💭\n- Get cognate words (words with a common root) 🌳\n- Get definitions from dictionaries 📖\n\n## Quickstart\n\n```python\nfrom ruslingua import RusLingua\n\nruslingua = RusLingua()\n\nsynonyms = ruslingua.get_synonyms('дом')\nantonyms = ruslingua.get_antonyms('дом')\nassociations = ruslingua.get_associations('дом')\ncognates = ruslingua.get_cognate_words('дом')  \ndefinition = ruslingua.get_definition('дом')\n\nprint(synonyms)  \nprint(antonyms)\nprint(associations)\nprint(cognates)\nprint(definition)\n```\n\n## Installation \n\n```\npip install ruslingua\n```\n\n## Usage\n\nImport the RusLingua class and instantiate it:\n\n```python\nfrom ruslingua import RusLingua\n\nruslingua = RusLingua()\n```\n\nThen call the methods with a word to get the linguistic information:\n\n```python \nsynonyms = ruslingua.get_synonyms('дом')\nantonyms = ruslingua.get_antonyms('дом')\nassociations = ruslingua.get_associations('дом')\ncognates = ruslingua.get_cognate_words('дом')\ndefinition = ruslingua.get_definition('дом') \n```\n\nThe methods return lists of strings.\n\n## Credits \n\nRusLingua retrieves data from various sources:\n\n- [jeck.ru](https://jeck.ru) - synonyms 👥\n- [razbiraem-slovo.ru](https://razbiraem-slovo.ru) - antonyms 👎 and cognate words 🌳\n- [wordassociations.net](https://wordassociations.net) - word associations 💭\n- [gramota.ru](https://gramota.ru) - definitions 📖","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedinc%2Fruslingua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedinc%2Fruslingua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedinc%2Fruslingua/lists"}