Skip to main content

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paralex-2.2.16.tar.gz (352.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paralex-2.2.16-py2.py3-none-any.whl (375.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file paralex-2.2.16.tar.gz.

File metadata

  • Download URL: paralex-2.2.16.tar.gz
  • Upload date:
  • Size: 352.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for paralex-2.2.16.tar.gz
Algorithm Hash digest
SHA256 1d55dbe78df5d7da282bd0f264f1b2dfff2af6121dc2fe6e5730eea78b9bdb61
MD5 e116044c67577fb5cb1281c4ea9e52a1
BLAKE2b-256 2ddaf81caa4b2370f06ca762e2f48c01a979863339a6d9cd92d0d263633da124

See more details on using hashes here.

File details

Details for the file paralex-2.2.16-py2.py3-none-any.whl.

File metadata

  • Download URL: paralex-2.2.16-py2.py3-none-any.whl
  • Upload date:
  • Size: 375.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for paralex-2.2.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f0c7175917dd9f080aba5dbeb01d87ec0ba7d48cbdaeec2956c6431a83e399a
MD5 e6a3cd177a4c66a86b6471fecd9f6caf
BLAKE2b-256 c180ba0c5a4cf2d15cfd02fdb5629ae02348519b75d671e1255d2e4da970fef6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page