2018-08-10 20:10:53 +00:00
|
|
|
|
using BotSharp.MachineLearning.NLP;
|
2018-08-15 22:37:23 +00:00
|
|
|
|
using BotSharp.NLP.Tokenize;
|
2018-08-10 20:10:53 +00:00
|
|
|
|
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; }
|
2018-08-15 22:37:23 +00:00
|
|
|
|
public List<Token> Tokens { get; set; }
|
2018-08-10 20:10:53 +00:00
|
|
|
|
public List<NlpEntity> Entities { get; set; }
|
|
|
|
|
|
public TextClassificationResult Intent { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|