protected override DictionaryIndex <string> CreateIndex(string[][] corpus) { var index = new DictionaryIndex <string>(rareWordThreshold: 3); IndexHelper.BuildIndex(index, corpus); return(index); }
public static DictionaryIndex <string> CreateDictionaryIndex(string[][] corpus) { var index = new DictionaryIndex <string>(rareWordThreshold: 3); IndexHelper.BuildIndex(index, corpus); return(index); }
protected override Index CreateIndex(string[][] corpus) { var index = new Index(); IndexHelper.BuildIndex(index, corpus); return(index); }
protected override DawgSearchableIndex CreateIndex(string[][] corpus) { var buildableIndex = new DawgBuildableIndex(); IndexHelper.BuildIndex(buildableIndex, corpus); return(buildableIndex.Build()); }