示例#1
0
 protected override Dictionary <string, double> ExtractKeywords(string statement)
 {
     return(NLPExtractor.KeywordsByFrequency(statement, OmittedTokens, 50));
 }
示例#2
0
        public Dictionary <string, double> Invoke(Dictionary <string, double> scoredStatements)
        {
            string statement = string.Join(",", scoredStatements.Select(x => x.Key).Select(x => x.ToString()).ToArray());

            return(NLPExtractor.KeywordsByFrequency(statement, OmittedTokens, 50, scoredStatements));
        }