namespace Yuuna.Contracts.TextSegmention
{
using Semantics;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
///
/// 文字分詞器。
///
public interface ITextSegmenter
{
///
/// 文化資訊,用以表示此分詞器適用的語言,詳細請看 。
///
CultureInfo Culture { get; }
///
/// 名稱。
///
string Name { get; }
///
/// 分詞。
///
/// 要切分的文字。
///
IImmutableList Cut(string text);
///
/// 從 載入字典。
///
/// 群組管理器。
void Load(IGroupManager manager);
}
}