BotSharp/BotSharp.MachineLearning/CRFLite/Encoder/IFeatureLexicalDict.cs
2018-08-18 16:13:49 -05:00

22 lines
527 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BotSharp.MachineLearning.CRFLite.Encoder
{
public interface IFeatureLexicalDict
{
void Shrink(int freq);
long GetOrAddId(string strFeature);
long RegenerateFeatureId(CRFLite.Utils.BTreeDictionary<long, long> old2new, long ysize);
void GenerateLexicalIdList(out IList<string> fea, out IList<int> val);
void Clear();
long Size
{
get;
}
}
}