void CheckWords(string sentence, List <string> expected)
        {
            List <string> words = SpellingTagger.GetWordsInText(sentence).Select(s => sentence.Substring(s.Start, s.Length)).ToList();

            string errorMessage = string.Format("Got list: [{0}].  Expected: [{1}]", string.Join(", ", words), string.Join(", ", expected));

            CollectionAssert.AreEqual(expected, words, errorMessage);
        }
 void AWord(string word)
 {
     Assert.IsTrue(SpellingTagger.ProbablyARealWord(word), word + " should pass the real word check");
 }
 void NotAWord(string word)
 {
     Assert.IsFalse(SpellingTagger.ProbablyARealWord(word), word + " should fail the real word check");
 }