{"id":20035823,"url":"https://github.com/mldictionary/mldictionary","last_synced_at":"2025-10-19T19:41:30.924Z","repository":{"id":65440371,"uuid":"379666036","full_name":"mldictionary/mldictionary","owner":"mldictionary","description":"MLDictionary is word's dictionary for several language. Available in pypi","archived":false,"fork":false,"pushed_at":"2022-12-21T22:36:42.000Z","size":76,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-20T05:22:50.629Z","etag":null,"topics":["beautifulsoup4","bs4","dictionary-learning","pypi-package","pypi-source","python","webscraping"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/mldictionary/","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/mldictionary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-23T16:28:55.000Z","updated_at":"2023-08-12T22:31:21.000Z","dependencies_parsed_at":"2023-01-30T05:01:10.866Z","dependency_job_id":null,"html_url":"https://github.com/mldictionary/mldictionary","commit_stats":null,"previous_names":["pabloemidio/mldictionary"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mldictionary%2Fmldictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mldictionary%2Fmldictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mldictionary%2Fmldictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mldictionary%2Fmldictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mldictionary","download_url":"https://codeload.github.com/mldictionary/mldictionary/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230852440,"owners_count":18290078,"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":["beautifulsoup4","bs4","dictionary-learning","pypi-package","pypi-source","python","webscraping"],"created_at":"2024-11-13T10:09:24.112Z","updated_at":"2025-10-19T19:41:25.857Z","avatar_url":"https://github.com/mldictionary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MLDictionary\n\n## **MLDictionary** is word's dictionary for several language\n\n```python\n\u003e\u003e\u003e from mldictionary import English\n\u003e\u003e\u003e english_dictionary = English()\n\u003e\u003e\u003e snake_means = english_dictionary.get_meanings('snake')\n\u003e\u003e\u003e len(snake_means)\n4\n\u003e\u003e\u003e snake_means\n['a reptile with a long body and no legs: ' ...]\n...\n```\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pypi.org/project/mldictionary/\" target=\"_blank\" align=\"center\"\u003e\n        \u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/mldictionary?color=%233f7\u0026logo=pypi\u0026style=plastic\"\u003e\n    \u003c/a\u003e\u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://pypi.org/project/mldictionary/\" target=\"_blank\" align=\"center\"\u003e\n        \u003cimg alt=\"PyPI - License\" src=\"https://img.shields.io/pypi/l/mldictionary?color=%237f7\u0026logo=pypi\u0026style=plastic\"\u003e\n    \u003c/a\u003e\u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://pypi.org/project/mldictionary/\" target=\"_blank\" align=\"center\"\u003e\n\u003cimg alt=\"GitHub Workflow Status (event)\" src=\"https://img.shields.io/github/actions/workflow/status/mldictionary/mldictionary/unittest.yaml?branch=main\u0026color=%233f7\u0026label=tests\u0026logo=pypi\u0026style=plastic\"\u003e\n    \u003c/a\u003e\u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://pypi.org/project/mldictionary/\" target=\"_blank\" align=\"center\"\u003e\n        \u003cimg alt=\"PyPI - Downloads\" src=\"https://img.shields.io/pypi/dm/mldictionary?color=%237f7\u0026logo=pypi\u0026style=plastic\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## **Installing MLDictionary**\n\n```console\n$ pip install mldictionary\n```\nMLDictionary officially supports 3.9+.\n\n---\n\n## Some examples\n\n```python\n\u003e\u003e\u003e from mldictionary import Portuguese\n\u003e\u003e\u003e portuguese_dictionary = Portuguese()\n\u003e\u003e\u003e vida_means = portuguese_dictionary.get_meanings('vida')\n\u003e\u003e\u003e vida_means\n['Conjunto dos hábitos e costumes de alguém; maneira de viver: tinha uma vida de milionário.' ...]\n\u003e\u003e\u003e from mldictionary import Spanish\n\u003e\u003e\u003e spanish_dictionary = Spanish()\n\u003e\u003e\u003e coche_means = spanish_dictionary.get_meanings('coche')\n\u003e\u003e\u003e coche_means\n['Automóvil destinado al transporte de personas y con capacidad no superior a siete plazas.' ...]\n```\n\n---\n\n### Make your own dictionary\n```python\nfrom mldictionary import Dictionary\n\nclass MyOwnDictionary(Dictionary):\n    url = 'somedictionary.com'\n    language = 'language name'\n    target_tag = 'tag_where_means_is'\n    target_attr = {'attr': 'attr_value'}\n    replaces = {'something', 'another thing'}\n\n\u003e\u003e\u003e myowndictionary = MyOwnDictionary()\n\u003e\u003e\u003e myowndictionary.get_meanings('other language word')\n```\nTo more details, see the [wiki](https://github.com/mldictionary/mldictionary/wiki)\n\nAlso, it has a insightful [article on linkedin](https://www.linkedin.com/pulse/mldictionary-pablo-em%25C3%25ADdio)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmldictionary%2Fmldictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmldictionary%2Fmldictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmldictionary%2Fmldictionary/lists"}