public FreeTextQuery(IWordBreaker wordBreaker, IThesaurus thesaurus, IEqualityComparer <WordReference <T> > wordReferenceEqualityComparer, ITextIndexSearcher <T> textIndexSearcher) { this.wordBreaker = wordBreaker; this.thesaurus = thesaurus; this.wordReferenceEqualityComparer = wordReferenceEqualityComparer; Indexes = new SortedList <string, TextIndex <T> >(); this.textIndexSearcher = textIndexSearcher; }
public ExampleController(ICapitalize cap, DBInteraction db, ILowercase low, IBinary bin, IAscii ascii, IFilter fil, IThesaurus thesaurus, IHex hex) { _cap = cap; _DB = db; _low = low; _bin = bin; _ascii = ascii; _filter = fil; _thesaurus = thesaurus; _hex = hex; }
public static IThesaurus GetInstance() { return(instance ?? (instance = new GeneralEnglishThesaurus())); }
public void TestSetup() { _thesaurus = Thesaurus.Deserialize(File.ReadAllText(@"..\..\Dictionary.json")); _parser = new Parser(_thesaurus); }
public SearchSynonymsViewModel(IThesaurus thesaurus) { _thesaurus = thesaurus; WordValidation = new ValidationViewModel(ValidateWord); }
public Parser(IThesaurus thesaurus) { _thesaurus = thesaurus; }
public ThesaurusController(IThesaurus thesaurusService) { this.thesaurusService = thesaurusService; }
public App(IThesaurus thesaurus) { this.thesaurus = thesaurus; }
public NewSynonymsViewModel(IThesaurus thesaurus) { _thesaurus = thesaurus; SynonymsValidation = new ValidationViewModel(ValidateSynonyms); }
public AllWordsViewModel(IThesaurus thesaurus) { _thesaurus = thesaurus; }