Module talk:User:Sarri.greek/grk-stems
Add topicAppearance
tests
[edit]The word examples may be imaginary, they may not exist.
{{#invoke:User:Sarri.greek/grk-stems}}
- expected: Module error: You must specify a function to call.
{{#invoke:User:Sarri.greek/grk-stems| |lemma=x}}
- expected: Module error: The function "" does not exist.
{{#invoke:User:Sarri.greek/grk-stems|word000}}
- expected: Module error: The function "word000" does not exist.
Type 'word' Functions that exist:
word0_i get unaccented 'word' Parameter lemma= is a given word or our pagename.
- word_i is to invoke directly. word is to make a Template.
E.g. the word δημοκρατία (dimokratía) has word δημοκρατί
{{#invoke:User:Sarri.greek/grk-stems|word0|lemma=δημοκρατί}}
- expected: our pagename (This is wrong, because word0 function is not for invoke)
- = User:Sarri.greek/grk-stems
{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=δημοκρατί}}
- expected: δημοκρατι (It is correct: without accent)
- = δημοκρατι
- We can put this into a link, and make the genitive plural δημοκρατιών (dimokratión)
{{l|el|{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=δημοκρατί}}ών}}
- = δημοκρατιών (dimokratión)
{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=αααΐ}}
- expected: αααϊ
- = αααϊ
- FAIL
{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=πράυνση}}
- expected: πραϋνση
- = πραϋνση1
{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=τατατεῦχ}}
- expected: τατατευχ
- = τατατευχ
{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=Ἄριστα}}
- expected: Ἀριστα
- = Ἀριστα
word1_i = put the accent okseia at 1st syllable from the end: the ultima syllable
{{#invoke:User:Sarri.greek/grk-stems|word1_i|lemma=δημοκρατι}}
- expected: δημοκρατί
- = δημοκρατί
- FAIL
{{#invoke:User:Sarri.greek/grk-stems|word1_i|lemma=πράυνση}}
- expected: πραϋνσή
- = πραϋνσή
- USE word0
{{#invoke:User:Sarri.greek/grk-stems|word1_i|lemma=πραϋνση}}
- expected: πραϋνσή
- = πραϋνσή
{{#invoke:User:Sarri.greek/grk-stems|word1_i|lemma=τατατεῦχ}}
- expected: τατατεύχ
- = τατατεύχ
{{#invoke:User:Sarri.greek/grk-stems|word1_i|lemma=Ἄριστα}}
- expected: Ἀριστά
- = Ἀριστά
word2_i = put the accent okseia at 2nd syllable from the end: the penultima syllable,
without checking synizesis
{{#invoke:User:Sarri.greek/grk-stems|word2_i|lemma=δημοκρατί}}
- expected: δημοκράτι
- = δημοκράτι
- FAIL
{{#invoke:User:Sarri.greek/grk-stems|word2_i|lemma=καταπράυνση}}
- expected: καταπραΰνση
- = καταπραΰνση
- USE word0
{{#invoke:User:Sarri.greek/grk-stems|word2_i|lemma=καταπραϋνση}}
- expected: καταπραΰνση
- = καταπραΰνση
- FAIL
{{#invoke:User:Sarri.greek/grk-stems|word2_i|lemma=τατατεῦχ}}
- expected: τατάτευχ
- = τατατέυχ
- USE word0 FAIL AGAIN
{{#invoke:User:Sarri.greek/grk-stems|word2_i|lemma=τατατευχ}}
- expected: τατάτευχ
- = τατατέυχ
{{#invoke:User:Sarri.greek/grk-stems|word2_i|lemma=Ἄναριστα}}
- expected: Ἀναρίστα
- = Ἀναρίστα
MAKE IT
'''word3_i''' = put the accent okseia at 3rd syllable from the end. * <code>{{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=δημοκρατί}}</code> *: expected: *:= {{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=δημοκρατί}} * <span style="color:#b22222;">FAIL</span> <code>{{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=καταπράυνση}}</code> *: expected: 3 *:= {{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=καταπράυνση}} * <span style="color:#b22222;">FAIL</span> <code>{{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=τατατεῦχ}}</code> *: expected: *:= {{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=τατατεῦχ}} * <code>{{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=Ἄναριστα}}</code> *: expected: *:= {{#invoke:User:Sarri.greek/grk-stems|word3_i|lemma=Ἄναριστα}}
word_p_i convert oxia to perispomeni
{{#invoke:User:Sarri.greek/grk-stems|word_p_i|lemma=δημοκρατάτατα}}
- expected: δημοκρατᾶτατα
- = User:Sarri.greek/grk-stems
word2syn put oxia at ulitma (last syllable) plus checking synizesis<br> repeat the above<br> I get = The time allocated for running scripts has expired. * <code>{{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=δημοκρατα}}</code> *: expected: δημοκράτα *:= {{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=δημοκρατα}} * <code>{{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πραϋνσ}}</code> *: expected: πράυνσ / NOT πράϋνσ only for polytonic *:= {{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πραϋνσ}} * <code>{{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πραυνσ}}</code> *: expected: πράυνσ *:= {{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πραυνσ}} * <code>{{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πράυνσα}}</code> *: expected: not πραύνσα *:= {{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πράυνσα}}
The time allocated for running scripts has expired.
control dialytics and or synizesis * <code>{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=πράυνσ}}</code> *: expected: πραυνσ *:= {{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=πράυνσ}} word2, plus checking for [[synizesis]] & check [[diaeresis]] ([[dialytics]]) e.g. dialytics (diaeresis) at [[καταπράυνση]] καταπραΰνσεις / [[θρόισμα]] θροΐσματος go on and add το πράυνσ dialytics πραϋνσ ?? * <code>{{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πραϋνσ}}</code> *: expected πράϋνσ = The time allocated for running scripts has expired. *:= {{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πραϋνσ}} * <code>{{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πράυνσ}}</code> *: expected πραϋνσ = Lua error: bad argument #3 to 'gsub' (function or table or string expected, got nil) *:= {{#invoke:User:Sarri.greek/grk-stems|word2syn_i|lemma=πράυνσ}} * 1.IOTA+dialytics+tonos Ϊ́ https://www.compart.com/en/unicode/U+0390 decompose Ι (U+0399) - ◌̈ (U+0308) - ◌́ (U+0301) * <code>{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=ΑΑΑΪ́}}</code> *: expected: ΑΑΑΪ FAILED *:= {{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=ΑΑΑΪ́}} * 2.IOTAwithdialytics+tonos Ϊ́ that is Ϊ + ◌́ (U+0301) * <code>{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=ΑΑΑΪ́}}</code> *: expected: ΑΑΑΪ FAILED *:= {{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=ΑΑΑΪ́}} * 3.copypaste IOTAwithdialytics+ copypaste invisible tonos Ϊ́ that is Ϊ + * <code>{{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=ΑΑΑΪ}}</code> *: expected: ΑΑΑΪ yesss *:= {{#invoke:User:Sarri.greek/grk-stems|word0_i|lemma=ΑΑΑΪ}}