$> ./nGramViewer 2 test_data/small/aky156.txt loading documents... read 1 file corpus contains 2593 total words. building n-gram dictionary... display how many top n-grams? 10 1. "in the" (appears 27 times) 2. "of the" (appears 17 times) 3. "to the" (appears 11 times) 4. "he was" (appears 11 times) 5. "and the" (appears 11 times) 6. "for the" (appears 11 times) 7. "on the" (appears 8 times) 8. "of his" (appears 8 times) 9. "kennedy was" (appears 8 times) 10. "united states" (appears 7 times) search for which n-gram? to be "to be" occurs 5 times search for which n-gram? or not to be expected n-gram of size 2 search for which n-gram? $> ./view_small_corpus.sh 1 loading documents... read 34 files. corpus contains 42749 total words. building n-gram dictionary... display how many top n-grams? 12 1. "the" (appears 2958 times) 2. "of" (appears 1500 times) 3. "and" (appears 1341 times) 4. "to" (appears 1178 times) 5. "a" (appears 963 times) 6. "in" (appears 936 times) 7. "is" (appears 650 times) 8. "that" (appears 543 times) 9. "he" (appears 469 times) 10. "his" (appears 463 times) 11. "for" (appears 407 times) 12. "was" (appears 376 times) search for which n-gram? forall "forall" occurs 0 times search for which n-gram? tis "tis" occurs 4 times search for which n-gram? exit "exit" occurs 0 times search for which n-gram?