BotSharp/BotSharp.Core/Engines/NlpDoc.cs

21 lines
491 B
C#
Raw Normal View History

using BotSharp.MachineLearning.NLP;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Core.Engines
{
public class NlpDoc
{
public List<NlpDocSentence> Sentences { get; set; }
}
public class NlpDocSentence
{
public string Text { get; set; }
public List<NlpToken> Tokens { get; set; }
public List<NlpEntity> Entities { get; set; }
public TextClassificationResult Intent { get; set; }
}
}