BotSharp/BotSharp.MachineLearning/NLP/NlpToken.cs

23 lines
487 B
C#
Raw Normal View History

2018-06-13 22:17:35 +00:00
using System;
using System.Collections.Generic;
using System.Text;
2018-07-17 16:22:31 +00:00
namespace BotSharp.MachineLearning.NLP
2018-06-13 22:17:35 +00:00
{
public class NlpToken
{
public string Text { get; set; }
public int Offset { get; set; }
2018-08-09 21:06:40 +00:00
public string Pos { get; set; }
public string Tag { get; set; }
public string Lemma { get; set; }
2018-06-13 22:17:35 +00:00
public int End
{
get
{
return Offset + Text.Length;
}
}
}
}