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
Metadata
Release files for paralex 1
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-1.tar.gz | 62.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paralex-1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 132.9 kB
Release files / paralex-1.tar.gz
| Download URL | paralex-1.tar.gz |
|---|---|
| Size | 62.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97364bc98bcff135ab6e4d46fdd1174514e932920440bd8a6965bfaf09533caf
|
|
BLAKE2b-256 checksum How to use checksums |
70e98cc47bde3656bff2692eae63bfbc543e2b811b7e7185be5d8a33d7f4a517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.17
|
Release files / paralex-1-py2.py3-none-any.whl
| Download URL | paralex-1-py2.py3-none-any.whl |
|---|---|
| Size | 70.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c7087875158bebb964c6da6b9cdc43b496c34c06cae485c8ccf0f1bbc0a76c32
|
|
BLAKE2b-256 checksum How to use checksums |
975b9c7fc6f909bbf2b75d8e7a8213898d4453498a98dfeccc00897a05595070
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.17
|