Skip to main content

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

Metadata

Release files for genling 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genling 1.0.0
File Size Uploaded
genling-1.0.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genling 1.0.0
File Interpreter ABI Platform
genling-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / genling-1.0.0.tar.gz

Download URL genling-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9a3d3fe107ea4212a730fbfc8268081ae7b8e3ce28c5ae1cdb5ded6a747d2180
BLAKE2b-256 checksum
How to use checksums
d544539fed21f9624c58a510323ec3a868cff4d96fa9ea6ad7ad76ddffcccbf0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / genling-1.0.0-py3-none-any.whl

Download URL genling-1.0.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fc5aa08c97c803e124dc3793c6662795a1c67fa235c322a5fefda03d96fd8e1
BLAKE2b-256 checksum
How to use checksums
08eaf3e9d61198b26885e9f59d8435c767e946f6bf0aa967691e5171ce9d42aa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page