Lerani: Difference between revisions

From The Toaq Wiki
(Initial article)
 
(example)
Line 6: Line 6:
* Determiners without following verbs get a <code>*</code> which encodes a {{t|raılaı}}: <code>sá*</code> becomes {{Deranize|sá*|none}} in Derani.
* Determiners without following verbs get a <code>*</code> which encodes a {{t|raılaı}}: <code>sá*</code> becomes {{Deranize|sá*|none}} in Derani.
* Square brackets become cartouches: <code>sá [raı]</code> becomes {{Deranize|sá [raı]|none}} in Derani.
* Square brackets become cartouches: <code>sá [raı]</code> becomes {{Deranize|sá [raı]|none}} in Derani.
* <code>{lll|ddd}</code> produces <code>lll</code> in Latin and <code>ddd</code> in Derani. ''(unimplemented in wiki)''


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 don't know where to put {{Deranize|*|none}} in the face of experimental determiners. If you only have Derani strings and try to generate Latin from them, you don't know which words should be capitalized.
Example of Lerani input and Derani output:
 
<blockquote>
<code style="font-family:Iosevka Toaq">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/>
{{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>
 
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.


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]]

Revision as of 18:18, 14 October 2024

Lerani is a way of writing Toaq text that allows for simple scripts to produce both Latin and Derani strings from a single source. It is used by Template:Deranize on the wiki, for example.

Lerani looks like Toaq written in the Latin script, but with a few differences:

  • The punctuation marks ,.!? are used like 󱛔 󱛕 󱛖 󱛗.
  • Determiners without following verbs get a * which encodes a raılaı: sá* becomes 󱚺󱛊󱚺 󱛚 in Derani.
  • Square brackets become cartouches: sá [raı] becomes 󱚺󱛊󱚺 󱛘󱚻󱚺󱛎󱚹󱛙 in Derani.
  • {lll|ddd} produces lll in Latin and ddd in Derani. (unimplemented in wiki)

Example of Lerani input and Derani output:

Shê, ꝡä feao súq gêm sá*, hói [Chíchıe] nıo, nä bu moılao deoq hao súq jí ba{.|󱛖}
󱛀󱛌󱚴 󱛔 󱛁󱚺󱛋 󱚴󱚴󱛍󱚳 󱚺󱛊󱚲󱛂 󱛃󱛌󱚴󱚱 󱚺󱛊󱚺 󱛚 󱛔 󱛆󱛊󱚽 󱛘󱚿󱛊󱚹󱚿󱚹󱛍󱚴󱛙 󱚵󱚹󱛍󱛃 󱛔 󱚵󱛋󱚺 󱚲󱚲 󱚰󱚽󱚼󱚳 󱚶󱚴󱛍󱛃󱛂 󱛆󱚳 󱚺󱛊󱚲󱛂 󱚾󱛊󱚹 󱚲󱚺 󱛖

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.

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