Skip to main content

Generatrum Linguarum, a conlang word generator library

Project description

Generatrum Linguarum

This is a project to develop a Python library with which it is possible to generate a spoken constructed language, a conlang. In the library's current state, it is possible to program a word generator.

In the generating process, weights and probabilities affect the usage of individual phonemes, usage of syllable segments, usage of syllables in the same position, the amount of syllables within a stem and the usage of rules. Simple or more complex Regex rules are used for filtering generated word stems (e.g. combinations of phonemes that are not permitted) and in converting a generated word/stem from a raw form (e.g. "<ge><hYo><uN><e><nu>") into a final form (e.g. "gehyōn'enu", "げひょうんえぬ", "gexyoungënu" or "гэхёунъэну").

The title of this project is in Latin and translates to "Generator of Languages".

Requirements

  • Python 3

Installation

From the Python Package Index:

pip install genling

Or download and run:

python3 setup.py install

Examples

Examples of using this library can be found in the git repository.

Command line usage of the examples:

python3 conlang.py 100
python3 conlang.py 100 raw

python3 japanese.py 100 hiragana
python3 japanese.py 100 hepburn
python3 japanese.py 100 strict
python3 japanese.py 100 raw

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

genling-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

genling-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file genling-1.0.0.tar.gz.

File metadata

  • Download URL: genling-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.4.3

File hashes

Hashes for genling-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9a3d3fe107ea4212a730fbfc8268081ae7b8e3ce28c5ae1cdb5ded6a747d2180
MD5 6ff50b9b530aaa52dde581b6704e9d19
BLAKE2b-256 d544539fed21f9624c58a510323ec3a868cff4d96fa9ea6ad7ad76ddffcccbf0

See more details on using hashes here.

File details

Details for the file genling-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: genling-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.4.3

File hashes

Hashes for genling-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fc5aa08c97c803e124dc3793c6662795a1c67fa235c322a5fefda03d96fd8e1
MD5 7c8d2cde74c76505fd5c2c66d461ae6a
BLAKE2b-256 08eaf3e9d61198b26885e9f59d8435c767e946f6bf0aa967691e5171ce9d42aa

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