# Planning for structure
CSR Leptos and Tauri for data storage and stuff
A language consists of
- phonemes
- orthography rules
- phonotactics
- *more to come*
# Phonemes
This has features associated with it, and
can be rendered to varying degrees of detail.
# Orthography Rules
These have "orthographs" which are valid Unicode strings (NFKC canonicalization??)
that in various environments (detected by regexes), produce a list of phonemes.
Of course, an orthograph in a certain environment can be *rejected* which means it is
declared invalid, which is important for the phonotactics step.
# Phonotactics
These are rules used to determine if a given orthography is valid.
First, an orthography is converted into its phoneme list using the
orthography rules. Then the phonemes are checked for any violation of these rules.