BotSharp/BotSharp.Core/Engines/NlpDoc.cs

24 lines
593 B
C#
Raw Normal View History

2018-08-29 22:06:27 +00:00
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
{
2018-08-29 22:06:27 +00:00
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; }
}
}