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

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.1.0.tar.gz (139.9 kB view details)

Uploaded Source

Built Distribution

paralex-2.1.0-py2.py3-none-any.whl (146.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for paralex-2.1.0.tar.gz
Algorithm Hash digest
SHA256 ece721e7977a25db0c0c190e68c7a05f7d25a64915f58436a2e370ec9efa4927
MD5 22eea08eb3d8358001ad02e82cd20779
BLAKE2b-256 c5f91ff0a0a82c1bdeef37930d99852d0211268f7265a7e2b2b3346305d55319

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for paralex-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 10d98d9c2bbf419074a21034a099f70efa3cbf878ca96af9048b790910085d2b
MD5 7071f645017d590c692f67331a2fa5d3
BLAKE2b-256 36dac700b6c0a08bfad5800c519dc2c09bf18898a7bd5d2cfd43c785d7021553

See more details on using hashes here.

Supported by

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