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.2.0.tar.gz
.
File metadata
- Download URL: paralex-2.2.0.tar.gz
- Upload date:
- Size: 146.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52920621be518f78ef9207712e6b70718e6c24c9386cb3cffa27481ef39785c1 |
|
MD5 | 1bae124f79771a15936f30f192dfefda |
|
BLAKE2b-256 | 48976b8e85fa181236d86c7f3df5496b5049107aec544fe0de466c0606cf26ff |
File details
Details for the file paralex-2.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: paralex-2.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 153.4 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 | fc078fd50a685988b80052643139f6d4d171d35cd10b8b814f2d7751a0e3be08 |
|
MD5 | 267b6875880fbc6ed35d75be075f6fb6 |
|
BLAKE2b-256 | b6348b8eaaf0d03f26c32fecf8ae9df94059b9db78f4bd6c979b657e64e774df |