Add grammar database creation code.
Adds abstract class GreekTextParser.

This change eliminates the duplication of code in the LexiconParser and
SyntaxParser classes.