Testing and composing strings

Composing strings

Several functions simplify composing a string.

Example: compose a perfect active verb form from a stem and ending:

using PolytonicGreek
ortho = literaryGreek()
s = strcat("γραφ", "ται", ortho)
reduped = reduplicate(s, ortho)
accentword(reduped, :RECESSIVE, ortho)

Example: composte a pluperfect active verb form from a stem and ending:

s = strcat("γραφ","ει", ortho)
reduped = reduplicate(s, ortho)
withaug = augment(reduped, ortho)
accentword(withaug, :RECESSIVE, ortho)

Testing strings

vocalic, consonantal, accented