Skip to main content

Overview

Gets a wikipedia dump for a language and creates a lemma table from it for use in vocabsieve. Uses spacy as the lemmatiser but also provides results from simplemma for comparison.

Project is AGPL3+ licensed as it re-uses code from gogadget.

Needs CUDA toolkit installed and an NVIDIA GPU available: https://developer.nvidia.com/cuda-toolkit-archive

On 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

Running

Installation instructions assume the use of uv to automatically deal with package isolation but will work equally well with a pip venv (if you prefer).

No need to download any extra files. The script will automatically grab the wikipedia articles for your chosen language.

Install from Pypi

uv tool install lemma-from-wiki

Standard analysis

lemmafromwiki -l "language code" -n "number of articles to process"

Return only differences from simplemma

lemmafromwiki -l "language code" -n "number of articles to process" --diff

Getting help

lemmafromwiki --help

Getting help (short version)

lemmafromwiki

Metadata

Release files for lemma-from-wiki 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lemma-from-wiki 0.2.0
File Size Uploaded
lemma_from_wiki-0.2.0.tar.gz 62.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lemma-from-wiki 0.2.0
File Interpreter ABI Platform
lemma_from_wiki-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 89.2 kB

Release files / lemma_from_wiki-0.2.0.tar.gz

Download URL lemma_from_wiki-0.2.0.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4d7a3fca451fc207103d4deca9d56c58dec9fe1decbfb0eb37f13b696501470e
BLAKE2b-256 checksum
How to use checksums
5181badd17016193b8b0dd4f5f1d95be24882f6570987e22e977642471bf4a46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.

Transparency log

Release files / lemma_from_wiki-0.2.0-py3-none-any.whl

Download URL lemma_from_wiki-0.2.0-py3-none-any.whl
Size 26.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
540288b077e7bd65f5644f860387297d12249742a04f608c1a252d5bd6cd68b2
BLAKE2b-256 checksum
How to use checksums
3a2a1f1125559282045cd55cdbcf7b160996e0220a490d93285c0127d8b3c51c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page