Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.27 KB

README.md

File metadata and controls

15 lines (11 loc) · 1.27 KB

Generatrum Linguarum

This is a project to develop a 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".

The library is located at script/genling.js but it can be used through the web app. New language files can be added to the script/languages.js file.

Running

The web app just needs to be hosted by a webserver such as Apache or Nginx, or simply with Python, running the following command in the directory with the index.html file:

python3 -m http.server

and the page is served at http://0.0.0.0:8000/