public IEnumerable <string> Post([FromBody] PostValue value) { //Rake.Rake rake = new Rake.Rake("stopwords.txt"); Rake.Rake rake = new Rake.Rake(); var teste = rake.Run(value.Value); return(teste.Where((s, d) => s.Value > 1).Select((s, d) => s.Key)); }
public RakeExtractor(int maxWordsLength) { _rake = new RakeExtraction(LoadStopWords("SmartStoplist.txt"), 2, maxWordsLength); }