using System.Collections.Generic;
using System.Threading.Tasks;
namespace NCC.SensitiveDetection
{
///
/// 脱敏词汇(脱敏)提供器
///
public interface ISensitiveDetectionProvider
{
///
/// 返回所有脱敏词汇
///
///
Task> GetWordsAsync();
///
/// 判断脱敏词汇是否有效(支持自定义算法)
///
///
///
Task VaildedAsync(string text);
///
/// 替换敏感词汇
///
///
///
///
Task ReplaceAsync(string text, char transfer = '*');
}
}