Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
/ genling-py Public archive

Generatrum Linguarum, a conlang word generator library

License

Notifications You must be signed in to change notification settings

2sh/genling-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Continuation of this project at https://github.com/2sh/genling using Javascript instead as it allows for nice web interfaces and no installation on client machines.

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

About

Generatrum Linguarum, a conlang word generator library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages