Added per-record context ngrams.
Updated the Hive test and documentation.