BotSharp/BotSharp.Core/Engines/NlpDoc.cs
2018-10-24 23:54:26 -05:00

24 lines
607 B
C#

using BotSharp.Core.Abstractions;
using BotSharp.NLP.Tokenize;
using BotSharp.Platform.Models.Entities;
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; }
}
}