corrects trigram algorithm to hold multiple values for a key pair
adds check to ignore Project Gutenberg metatextual information