logo

Module:Grc-utilities/doc是什么意思_Module:Grc-utilities/doc读音|解释_Module:Grc-utilities/doc同义词|反义词

Module:Grc-utilities/doc

Tokenization

The function tokenize breaks the text into meaningful units of a single consonant or monophthong letter, or diphthong, with any diacritics, as shown below. This function is used by Module:grc-translit and Module:grc-accent, and by the sandbox module Module:grc-pronunciation/sandbox.

The first argument is the word to be tokenized. The second is a boolean: if true, the function will group εω together as a diphthong, for instance in πόλεως (póleōs), genitive of πόλῐς (pólis, city state).

word tokens
ἡμεῖς , μ, εῖ, ς
οἷαι οἷ, αι
ἀναῡ̈τέω , ν, α, ῡ̈, τ, έ, ω
δαΐφρων δ, α, ΐ, φ, ρ, ω, ν
τούτῳ τ, ού, τ,
ὑϊκός , ϊ, κ, ό, ς
ἡ Ἑλήνη , , , λ, ή, ν, η
νηῦς ν, ηῦ, ς
υἱός υἱ, ό, ς
ὄργυιᾰ , ρ, γ, υι,
οὐ δοκεῖν ἀλλ᾽ εἶναι ἀγαθὸν οὐ, , δ, ο, κ, εῖ, ν, , , λ, λ, , , εἶ, ν, αι, , , γ, α, θ, , ν

Testcases