Conlang is a Python library for creating and manipulating constructed languages.
To install Conlang, run the following command:
pip install conlang
Here is an example of how you can use Conlang to create and mutate a simple language:
from conlang import Language, LanguageConfig, SoundChange
config = LanguageConfig.from_txt("config.txt")
language = Language("MyLanguage", config)
language.generate_vocabulary()
sound_change = SoundChange.from_txt("sound_change.txt")
mutated_vocabulary = sound_change.apply(language.vocabulary)
For more information on how to use Conlang, please refer to the documentation.
If you would like to contribute to Conlang, please read the contributing guidelines.
Conlang is distributed under the terms of the GNU General Public License v3.0.