Paralex: lexicons of morphological paradigms
Paralex is a standard for morphological lexicons which document inflectional paradigms.
This package contains:
- The paralex specification
- The full documentation
- Utilities to generate metadata and to validate paralex lexicons
Generating metadata
To generate paralex metadata (more in the docs):
from paralex import paralex_factory
package = paralex_factory("Vulcan Verbal Paradigms",
{
"forms": {"path": "vulcan_v_forms.csv"},
}
)
package.to_json("vulcan.package.json")
The package returned is a frictionless Package object and can be manipulated as such as needed.
Validation of paralex datasets
To validate a paralex lexicon:
paralex validate <mypackagename>.package.json
This checks that the data is valid using frictionless, as well as a number of statements to match the paralex standard. For a detailed report on frictionless metadata, do:
frictionless validate <mypackagename>.package.json
Accessing datasets
Available datasets in the Zenodo community:
paralex list
Download a dataset and extract the .zip archive:
paralex get <ZENODO_ID>
The Zenodo ID can be found with the paralex list command.
Serving the paralex site
First, build the standard package from files:
paralex make_standard
Second, build the specs files from the standard package:
paralex make_doc
Third, use mkdocs (which needs to be installed) to build this site:
mkdocs serve
Metadata
Release files for paralex 2.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| paralex-2.3.3.tar.gz | 356.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paralex-2.3.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 736.5 kB
Release files / paralex-2.3.3.tar.gz
| Download URL | paralex-2.3.3.tar.gz |
|---|---|
| Size | 356.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88e129c60245571e17c3ff8759876731ee5bcf97063c326eca44e71d585666d4
|
|
BLAKE2b-256 checksum How to use checksums |
8b695191af054a3df50a1cac900c27f428de9465aa40ad11da1ec3452356e1d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Release files / paralex-2.3.3-py2.py3-none-any.whl
| Download URL | paralex-2.3.3-py2.py3-none-any.whl |
|---|---|
| Size | 380.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
974052208a818e13474a523bff935280e410877d8e51b6161ac5bd868d838879
|
|
BLAKE2b-256 checksum How to use checksums |
ef40ff1247f644130b8ab5d505ea3a17d5153603389758f33ca3c5d2ed11dd00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|