public static void InitParams(string[] t) { string[] temp = t; Eng = new StWdsEng(); Rus = new StWdsRus(); EngStem = new EnglishStemmer(); RusStem = new RussianStemmer(); ts = new List<string>(); ts.AddRange(temp); Tag = new List<List<Word>>(); }
public static void InitParams(List<string> t) { Eng = new StWdsEng(); Rus = new StWdsRus(); EngStem = new EnglishStemmer(); RusStem = new RussianStemmer(); ts = new List<string>(); ts = t; Tag = new List<List<Word>>(); }
public static void InitParams(List<string> t) { Eng = new StWdsEng(); Rus = new StWdsRus(); EngStem = new EnglishStemmer(); RusStem = new RussianStemmer(); ts = new List<string>(); ts = t; fullWdsCollection = new List<List<string>>[2]; fullWdsCollection[0] = new List<List<string>>(); fullWdsCollection[1] = new List<List<string>>(); Tag = new List<List<Word>>[2]; Tag[0] = new List<List<Word>>(); Tag[1] = new List<List<Word>>(); }