BotSharp/BotSharp.NLP/Tag/DefaultTagger.cs
2018-08-16 17:27:50 -05:00

28 lines
822 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using BotSharp.NLP.Tokenize;
namespace BotSharp.NLP.Tag
{
/// <summary>
/// The simplest possible tagger assigns the same tag to each token.
/// This may seem to be a rather banal step, but it establishes an important baseline for tagger performance.
/// In order to get the best result, we tag each word with the most likely tag.
/// </summary>
public class DefaultTagger : ITagger
{
public SupportedLanguage Lang { get; set; }
public void Tag(Sentence sentence, TagOptions options)
{
throw new NotImplementedException();
}
public void Train(List<Sentence> sentences, TagOptions options)
{
throw new NotImplementedException();
}
}
}