BotSharp/BotSharp.NLP/Tokenize/Token.cs
2018-08-15 17:37:23 -05:00

23 lines
481 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.NLP.Tokenize
{
public class Token
{
public string Text { get; set; }
public int Offset { get; set; }
public string Pos { get; set; }
public string Tag { get; set; }
public string Lemma { get; set; }
public int End
{
get
{
return Offset + Text.Length - 1;
}
}
}
}