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.10.tar.gz (70.7 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.10-py2.py3-none-any.whl (79.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: paralex-1.0.10.tar.gz
  • Upload date:
  • Size: 70.7 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.10.tar.gz
Algorithm Hash digest
SHA256 c1850a2bf8790ffe818ac5b290daedc4ec5242d0cef3fb2c6254cee590a2c7e9
MD5 ec342c87504a8ac00bee52b2d3968b0c
BLAKE2b-256 c8e65b8fcdfae7758adecf586b229aef9fde3eca952c022e6c67f979ae442d30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: paralex-1.0.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 79.3 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.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c67a85a4da25b93938b63bffa9f77f00036763fafa39610a22129de2f4a1e2a
MD5 ef2eb55f5372e548c633349439714bbe
BLAKE2b-256 18fc03f3ee937d9deda6af133d45f9ba6a4bb889891f7400e8d6f10908390560

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