2018-07-15 12:31:52 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
2018-10-01 13:36:39 +00:00
|
|
|
|
namespace BotSharp.Platform.Models
|
2018-07-15 12:31:52 +00:00
|
|
|
|
{
|
|
|
|
|
|
public class TrainingIntentExpressionPart
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Start { get; set; }
|
2018-08-24 14:47:40 +00:00
|
|
|
|
public int End
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return Start + Value.Length - 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2018-07-15 12:31:52 +00:00
|
|
|
|
public String Value { get; set; }
|
|
|
|
|
|
public String Entity { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|