Alamantus / Lexiconga

The quick and easy dictionary builder for constructed languages.
https://lexiconga.com
10 stars 2 forks source link

Orthography specification #24

Closed Alamantus closed 5 years ago

Alamantus commented 5 years ago

Assign each typed character to another specific orthographic character so using custom fonts could potentially be more useful.

For example, if ai is specified as the trigger character for , you Lexiconga would optionally replace all instances of ai in the Word field with (optionally, turned on/off in the settings). Paired with a custom font, you could set orthography to translate to a Unicode character you don't need and have the font display your conlang's writing instead.

Alamantus commented 5 years ago

This could be tricky with searching. What does the search result display if you search for as in the above example? This would require transforming each word while searching to check for any instance of the translated word plus still needing to match ai. Could potentially slow down searches by a lot with large dictionaries.

Later edit: In searches, I can add a "use orthography" checkbox to toggle searching the orthographic translation instead of the typed word. That way there's at least an option!

Alamantus commented 5 years ago

Some notes about this:

Alamantus commented 5 years ago

Rather that allowing arbitrary inline orthography translation, I'm translating word references to cut down on extra, non-markdown syntax.