greek_tools library

A Dart library for manipulating Greek text - mainly transforming between Latin and Greek character sets.

Based on the ISO 843 standard (which is identical to ELOT 743).

Functions

containsGreek(String text) bool
Checks if the given text contains at least one character from the Greek character set.
isGreekWordInAllCaps(String greekWord) bool
Checks if a given greekWord is in all-capital letters.
removeAccents(String greekTextWithAccents) String
Converts a given any-case text in Greek greekTextWithAccents, into the equivalent, simplified version where accents are removed.
removeAccentsFromGreeklish(String greeklishTextWithAccents) String
Converts a given any-case text in Greeklish greeklishTextWithAccents, into the equivalent, simplified version where accents are removed.
removeAccentsLowercase(String greekLowercaseTextWithAccents) String
Converts a given lower-case text in Greek greekLowercaseTextWithAccents, into the equivalent, simplified version where accents are removed.
removeAccentsUppercase(String greekUppercaseTextWithAccents) String
Converts a given upper-case text in Greek greekUppercaseTextWithAccents, into the equivalent, simplified version where accents are removed.
toGreeklish(String greek, {bool withAccents = false}) String
Converts the input greek text, of multiple words, into Greeklish (i.e. the equivalent text expressed in the Latin character set).
toGreeklishWord(String greekWord, {bool withAccents = false}) String
Converts a single greek word into Greeklish (i.e. the equivalent word expressed in the Latin character set).
verifyCoverage() bool