BotSharp/BotSharp.Core/Engines/Jieba.NET/Pair.cs
Oceania2018 6019d9268f 1. Embed jieba.NET source code.
2. Remove publish profile.
3. Fix docker build
2018-09-21 06:02:58 -05:00

20 lines
398 B
C#

namespace JiebaNet.Segmenter
{
public class Pair<TKey>
{
public TKey Key { get;set; }
public double Freq { get; set; }
public Pair(TKey key, double freq)
{
Key = key;
Freq = freq;
}
public override string ToString()
{
return "Candidate [Key=" + Key + ", Freq=" + Freq + "]";
}
}
}