예제 #1
0
        public bool IsWord(string word)
        {
            bool isWord = core.IsWord(word);

            IncrementCounters(isWord);
            return(isWord);
        }
예제 #2
0
        public IEnumerable <string> GetModulationsOf(string word)
        {
            if (word == null)
            {
                throw new ArgumentNullException(nameof(word));
            }

            return(EnumerateInsertedChars(word)
                   .Concat(EnumerateDeletedChars(word))
                   .Concat(EnumerateChangedChars(word))
                   .Where(w => words.IsWord(w)));
        }