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

Uploaded Source

Built Distribution

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

paralex-1.0.5-py2.py3-none-any.whl (71.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: paralex-1.0.5.tar.gz
  • Upload date:
  • Size: 62.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for paralex-1.0.5.tar.gz
Algorithm Hash digest
SHA256 cc38f156061712f55ee9492b44f67c9afb7e3e1c2011ef75ddfac277bc625196
MD5 a99036bacf3333e675f0a7b9c5169286
BLAKE2b-256 cda76834f6cd41f666c08dbdea3d49269f8c478e1dd0292a81821a091dbe02b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: paralex-1.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 71.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for paralex-1.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f32829882b647a20c3aa9232b4e0327c9253327a30da8c2d0428ec57eb16b09e
MD5 bab6aece5be8762ff965c2f4c30c9c90
BLAKE2b-256 2b2cea8f6470a79165e164e4e1a52b1177c6bacc262886f6c115995cfe488dfc

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