Ejemplo n.º 1
0
        private string TryCorrectNameBySpellChecking(string name)
        {
            if (spelling == null)
            {
                spelling = new Spelling();
            }

            string result = spelling.CorrectSentence(name);

            result.Trim(); // spelling returns " " if no answer

            return(result);
        }
Ejemplo n.º 2
0
 public SearchFacade(StoreHandler storeHandler)
 {
     this.storeHandler = storeHandler;
     spelling          = null; // will initialzed only when first needed;
 }