ACAT.Extensions.Default.SpellCheckers.SpellChecker.Lookup C# (CSharp) Method

Lookup() public method

Looks up the spelling list for the indicated word and returns the correct spelling if found. Returns empty string if it didn't find the word.
public Lookup ( String word ) : String
word String word to lookup
return String
        public String Lookup(String word)
        {
            var replacement = String.Empty;
            if (_wordList != null)
            {
                _wordList.TryGetValue(word, out replacement);
            }

            return replacement;
        }