Features of a Greek orthography

LiteraryGreekOrthography implements the following functions from the GreekOrthography interface.

using PolytonicGreek
lg = literaryGreek()
typeof(lg)
LiteraryGreekOrthography

Accentuation

Strip accents from a string according to a specified implementation of GreekOrthography.

rmaccents("πολλά", lg)
"πολλα"

You can add accents to an unaccented word by specifying the accent pattern as :RECESSIVE

accentword("ἀνθρωποι", :RECESSIVE, lg)
"ἄνθρωποι"

Syllabification

syllabify("ἄνθρωποι", lg)
3-element Vector{SubString{String}}:
 "ἀν"
 "θρω"
 "ποι"

(See more extensive examples on the following page.)

Sorting

wordlist = split("μῆνιν ἄειδε θεά")
sortWords(wordlist, lg)
3-element Vector{SubString{String}}:
 "ἄειδε"
 "θεά"
 "μῆνιν"