{"id":22645904,"url":"https://github.com/jonathanfox5/lemma_from_wiki","last_synced_at":"2025-03-29T06:24:15.871Z","repository":{"id":267037953,"uuid":"900094068","full_name":"jonathanfox5/lemma_from_wiki","owner":"jonathanfox5","description":"Generates lemma files for use in vocabsieve","archived":false,"fork":false,"pushed_at":"2024-12-08T16:31:43.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T18:17:58.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathanfox5.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}},"created_at":"2024-12-07T21:03:54.000Z","updated_at":"2024-12-08T16:32:37.000Z","dependencies_parsed_at":"2024-12-07T21:56:04.441Z","dependency_job_id":"62665b76-ab31-42c4-bc0d-54180ff685b1","html_url":"https://github.com/jonathanfox5/lemma_from_wiki","commit_stats":null,"previous_names":["jonathanfox5/lemma_from_wiki"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanfox5%2Flemma_from_wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanfox5%2Flemma_from_wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanfox5%2Flemma_from_wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanfox5%2Flemma_from_wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanfox5","download_url":"https://codeload.github.com/jonathanfox5/lemma_from_wiki/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246146571,"owners_count":20730784,"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-12-09T06:07:48.011Z","updated_at":"2025-03-29T06:24:15.842Z","avatar_url":"https://github.com/jonathanfox5.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nGets a wikipedia dump for a language and creates a lemma table from it for use in [vocabsieve](https://github.com/FreeLanguageTools/vocabsieve/). Uses `spacy` as the lemmatiser but also provides results from `simplemma` for comparison.\n\nProject is AGPL3+ licensed as it re-uses code from [gogadget](https://gogadget.jfox.io).\n\nNeeds CUDA toolkit installed and an NVIDIA GPU available: \u003chttps://developer.nvidia.com/cuda-toolkit-archive\u003e\n\nOn Windows, you will need to install Visual Studio first. I also needed to manually add the following to my PATH: `C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.42.34433\\bin\\Hostx64\\x64`\n\n## Running\n\nInstallation instructions assume the use of [uv](https://docs.astral.sh/uv/) to automatically deal with package isolation but will work equally well with a pip venv (if you prefer).\n\nNo need to download any extra files. The script will automatically grab the wikipedia articles for your chosen language.\n\n**Install from Pypi**\n\n```sh\nuv tool install lemma-from-wiki\n```\n\n**Standard analysis**\n\n```sh\nlemmafromwiki -l \"language code\" -n \"number of articles to process\"\n```\n\n**Return only differences from `simplemma`**\n\n```sh\nlemmafromwiki -l \"language code\" -n \"number of articles to process\" --diff\n```\n\n**Getting help**\n\n```sh\nlemmafromwiki --help\n```\n\n**Getting help (short version)**\n\n```sh\nlemmafromwiki\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanfox5%2Flemma_from_wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanfox5%2Flemma_from_wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanfox5%2Flemma_from_wiki/lists"}