Tweaked string generation engine; custom data type for bigram.