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)
| File | Size | Uploaded | |
|---|---|---|---|
| lemma_from_wiki-0.2.0.tar.gz | 62.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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