Lerani: Difference between revisions

m
a
(use Iosevka Toaq Aile, demonstrate Latin-only comma before hóı)
m (a)
 
Line 8: Line 8:
* <code>{lll|ddd}</code> produces <code>lll</code> in Latin and <code>ddd</code> in Derani. ''(unimplemented in wiki)''
* <code>{lll|ddd}</code> produces <code>lll</code> in Latin and <code>ddd</code> in Derani. ''(unimplemented in wiki)''


Example of Lerani input and Derani output:
Example of Lerani input and both outputs (with the [[Derani diphthong reform]]):


<blockquote>
<blockquote>
<code style="font-family:Iosevka Toaq Aile">Shê, ꝡä feao súq gêm sá*{,|} hói [Chíchıe] nıo, nä bu moılao deoq hao súq jí ba{.|󱛖}</code><br/>
<code>Shê, ꝡä feao súq gêm sá*{,|} hói [Chíchıe] nıo, nä bu moılao deoq hao súq jí ba{.|{{t|󱛖}}}</code><br/>
{{Dr|Shê, ꝡä feao súq gêm sá* hói [Chíchıe] nıo, nä bu moılao deoq hao súq jí ba!|none}}
→ Latin: {{t|Shê, ꝡä feao súq gêm sá, hói Chíchıe nıo, nä bu moılao deoq hao súq jí ba.}}<br/>
→ Derani: {{Dr|Shê, ꝡä feao súq gêm sá* hói [Chíchıe] nıo, nä bu moılao deoq hao súq jí ba!|none}}
</blockquote>
</blockquote>


Lerani is useful because both scripts contain information that the other does not. If you only have Latin strings and try to generate Derani from them, you it's hard to algorithmically place cartouches. If you only have Derani strings and try to generate Latin from them, you don't know which words should be capitalized.
Lerani is useful because both scripts contain information that the other does not. If you only have Latin strings and try to generate Derani from them, it's hard to algorithmically place cartouches. If you only have Derani strings and try to generate Latin from them, you don't know which words should be capitalized.


To translate from Lerani to Latin, all instances of <code>* [ ]</code> are simply erased. To translate from Lerani to Derani, a more complex algorithm is used. See [[Module:Deranize]] for a Lua implementation.
To translate from Lerani to Latin, all instances of <code>* [ ]</code> are simply erased. To translate from Lerani to Derani, a more complex algorithm is used. See [[Module:Deranize]] for a Lua implementation.


[[Category:Writing systems]]
[[Category:Writing systems]]