2018-09-29 04:21:44 +00:00
|
|
|
|
using Bigtree.Algorithm.SVM;
|
2018-09-04 02:05:57 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.NLP.Classify
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ClassifyOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
public string TrainingCorpusDir { get; set; }
|
|
|
|
|
|
public string ModelFilePath { get; set; }
|
2018-09-26 22:09:39 +00:00
|
|
|
|
public string ModelDir { get; set; }
|
|
|
|
|
|
public string ModelName { get; set; }
|
2018-10-03 22:28:47 +00:00
|
|
|
|
public string Word2VecFilePath { get; set; }
|
2018-09-26 22:09:39 +00:00
|
|
|
|
|
|
|
|
|
|
public string FeaturesFileName { get; set; }
|
2018-10-03 21:49:40 +00:00
|
|
|
|
public string FeaturesInTfIdfFileName { get; set; }
|
2018-09-26 22:09:39 +00:00
|
|
|
|
public string DictionaryFileName { get; set; }
|
|
|
|
|
|
public string CategoriesFileName { get; set; }
|
|
|
|
|
|
|
2018-09-04 02:05:57 +00:00
|
|
|
|
public string PrediceOutputFile { get; set; }
|
2018-09-05 19:38:37 +00:00
|
|
|
|
public string TransformFilePath { get; set; }
|
|
|
|
|
|
public RangeTransform Transform { get; set; }
|
2018-09-13 20:01:40 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Feature dimension
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Dimension { get; set; }
|
2018-09-04 02:05:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|