using System; using System.Collections.Generic; using System.Text; namespace BotSharp.Models.NLP { public class NlpEntity { /// /// What module or algorithm name /// public string Extrator { get; set; } /// /// Entity label /// public string Entity { get; set; } public string Value { get; set; } public int Start { get; set; } public decimal Confidence { get; set; } public int End { get { return Start + Value.Length - 1; } } } }