2018-09-09 14:36:22 +00:00
|
|
|
|
using BotSharp.Algorithm.Bayes;
|
|
|
|
|
|
using System;
|
2018-09-04 02:05:57 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.NLP.Classify
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IClassifier
|
|
|
|
|
|
{
|
|
|
|
|
|
void Train(List<LabeledFeatureSet> featureSets, ClassifyOptions options);
|
|
|
|
|
|
|
2018-09-09 01:47:53 +00:00
|
|
|
|
List<Tuple<string, double>> Classify(LabeledFeatureSet featureSet, ClassifyOptions options);
|
2018-09-04 02:05:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|