Standard for lexicons of inflected paradigms
Project description
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file paralex-2.0.7.tar.gz
.
File metadata
- Download URL: paralex-2.0.7.tar.gz
- Upload date:
- Size: 137.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c69cf7592e7ada37df703cffe9797ece8e46f63ef170d061a96b8a501e99271e |
|
MD5 | 7c4b9e2bd0bc9b709cb9c7ad5fb03009 |
|
BLAKE2b-256 | 508e01a7242923a8a67f72b4e20fc20afe330644559c92c7e6483ffc1414b1fb |
Provenance
File details
Details for the file paralex-2.0.7-py2.py3-none-any.whl
.
File metadata
- Download URL: paralex-2.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 143.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a93d8b48ed041ff2b252a448de819dd2eacbc68b86fe214799de87541671bb4 |
|
MD5 | bd3cd89b5d19894cdea27acd69a8ff71 |
|
BLAKE2b-256 | d0df38ee23f894d69cc6d409c23b093e6cc92b320af23d61bee21609d218d631 |