BotSharp/BotSharp.Core/Engines/NlpDoc.cs
2018-08-29 17:06:27 -05:00

24 lines
593 B
C#

using BotSharp.Core.Abstractions;
using BotSharp.Models.NLP;
using BotSharp.NLP.Tokenize;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Core.Engines
{
public class NlpDoc
{
public INlpPredict Tokenizer { get; set; }
public List<NlpDocSentence> Sentences { get; set; }
}
public class NlpDocSentence
{
public string Text { get; set; }
public List<Token> Tokens { get; set; }
public List<NlpEntity> Entities { get; set; }
public TextClassificationResult Intent { get; set; }
}
}