Module talk:User:Sarri.greek/grk-stems

tests
The word examples may be imaginary, they may not exist.


 * expected: Module error: You must specify a function to call.
 * expected: Module error: The function "" does not exist.
 * expected: Module error: The function "word000" does not exist.
 * expected: Module error: The function "" does not exist.
 * expected: Module error: The function "word000" does not exist.
 * 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 has word δημοκρατί
 * expected: our pagename (This is wrong, because word0 function is not for invoke)
 * expected: δημοκρατι (It is correct: without accent)
 * We can put this into a link, and make the genitive plural
 * expected: αααϊ
 * FAIL
 * expected: πραϋνση
 * expected: τατατευχ
 * expected: Ἀριστα
 * expected: αααϊ
 * FAIL
 * expected: πραϋνση
 * expected: τατατευχ
 * expected: Ἀριστα
 * expected: πραϋνση
 * expected: τατατευχ
 * expected: Ἀριστα
 * expected: τατατευχ
 * expected: Ἀριστα
 * expected: Ἀριστα
 * expected: Ἀριστα

word1_i = put the accent okseia at 1st syllable from the end: the ultima syllable
 * expected: δημοκρατί
 * FAIL
 * expected: πραϋνσή
 * USE word0
 * expected: πραϋνσή
 * expected: τατατεύχ
 * expected: Ἀριστά
 * expected: πραϋνσή
 * expected: τατατεύχ
 * expected: Ἀριστά
 * expected: τατατεύχ
 * expected: Ἀριστά
 * expected: Ἀριστά
 * expected: Ἀριστά

word2_i = put the accent okseia at 2nd syllable from the end: the penultima syllable, without checking synizesis
 * expected: δημοκράτι
 * FAIL
 * expected: καταπραΰνση
 * USE word0
 * expected: καταπραΰνση
 * FAIL
 * expected: τατάτευχ
 * USE word0 FAIL AGAIN
 * expected: τατάτευχ
 * expected: Ἀναρίστα
 * expected: τατάτευχ
 * USE word0 FAIL AGAIN
 * expected: τατάτευχ
 * expected: Ἀναρίστα
 * expected: Ἀναρίστα
 * expected: Ἀναρίστα
 * expected: Ἀναρίστα

MAKE IT word3_i = put the accent okseia at 3rd syllable from the end.
 * expected:
 * FAIL
 * expected: 3
 * FAIL
 * expected:
 * expected:
 * FAIL
 * expected:
 * expected:
 * expected:
 * expected:

word_p_i convert oxia to perispomeni
 * expected: δημοκρατᾶτατα
 * expected: δημοκρατᾶτατα

word2syn put oxia at ulitma (last syllable) plus checking synizesis repeat the above I get = The time allocated for running scripts has expired.
 * expected: δημοκράτα
 * expected: πράυνσ / NOT πράϋνσ only for polytonic
 * expected: πράυνσ
 * expected: not πραύνσα
 * expected: πράυνσ / NOT πράϋνσ only for polytonic
 * expected: πράυνσ
 * expected: not πραύνσα
 * expected: πράυνσ
 * expected: not πραύνσα
 * expected: not πραύνσα
 * expected: not πραύνσα

The time allocated for running scripts has expired. control dialytics and or synizesis word2, plus checking for synizesis & check diaeresis (dialytics) e.g. dialytics (diaeresis) at καταπράυνση καταπραΰνσεις / θρόισμα θροΐσματος go on and add το πράυνσ dialytics  πραϋνσ ??
 * expected: πραυνσ
 * expected: πραυνσ
 * expected πράϋνσ = The time allocated for running scripts has expired.
 * expected πράϋνσ = The time allocated for running scripts has expired.


 * expected πραϋνσ = Lua error: bad argument #3 to 'gsub' (function or table or string expected, got nil)
 * expected πραϋνσ = Lua error: bad argument #3 to 'gsub' (function or table or string expected, got nil)


 * 1.IOTA+dialytics+tonos Ι&#x0308;&#x0301; https://www.compart.com/en/unicode/U+0390 decompose Ι (U+0399) - ◌̈ (U+0308) - ◌́ (U+0301)
 * expected: ΑΑΑΪ FAILED
 * 2.IOTAwithdialytics+tonos Ϊ&#x0301; that is Ϊ +  ◌́ (U+0301)
 * expected: ΑΑΑΪ FAILED
 * 3.copypaste IOTAwithdialytics+ copypaste invisible tonos Ϊ&#x0301; that is Ϊ +
 * expected: ΑΑΑΪ yesss
 * expected: ΑΑΑΪ FAILED
 * 3.copypaste IOTAwithdialytics+ copypaste invisible tonos Ϊ&#x0301; that is Ϊ +
 * expected: ΑΑΑΪ yesss
 * expected: ΑΑΑΪ yesss
 * expected: ΑΑΑΪ yesss