2018-09-10 03:56:32 +00:00
|
|
|
|
using BotSharp.Algorithm.Features;
|
2018-09-09 14:36:22 +00:00
|
|
|
|
using System;
|
2018-09-04 02:05:57 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.NLP.Classify
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IClassifier
|
|
|
|
|
|
{
|
2018-09-09 15:32:10 +00:00
|
|
|
|
void Train(List<FeaturesWithLabel> featureSets, ClassifyOptions options);
|
2018-09-04 02:05:57 +00:00
|
|
|
|
|
2018-09-09 15:32:10 +00:00
|
|
|
|
List<Tuple<string, double>> Classify(List<Feature> features, ClassifyOptions options);
|
2018-09-04 02:05:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|