callmeyan 16c24c10ec 启用多项功能开关,优化查找方法参数与健壮性
本次提交主要包括:
- 优化查找相关方法(FindBySentence、FindTextInRange),新增 prevOffset 和 findStart 参数,支持从指定偏移量和位置开始查找,提升查找灵活性与准确性(DocumentUtil.cs)
2025-06-05 23:51:36 +08:00

43 lines
1.2 KiB
C#

namespace AIProofread.core
{
public class AppModule
{
/// <summary>
/// 是否启用导出校对结果
/// </summary>
public const bool ENABLE_EXPORT_PROOFREAD_RESULT = true;
/// <summary>
/// 是否词库管理
/// </summary>
public const bool ENABLE_LEXICON_MANAGE = true;
/// <summary>
/// 是否启用常识性检测
/// </summary>
public const bool ENABLE_COMMONSENSE_CHECK = true;
/// <summary>
/// 设置功能
/// </summary>
public const bool ENABLE_SETTING = true;
/// <summary>
/// 是否校对功能
/// </summary>
public const bool ENABLE_PROOFREAD = true;
/// <summary>
/// 优先查全
/// </summary>
public const bool ENABLE_PROOFREAD_FULL = true;
/// <summary>
/// 优先查准exact
/// </summary>
public const bool ENABLE_PROOFREAD_EXACT = true;
public const bool ENABLE_SAVE_CACHE = true;
public const bool ENABLE_LOAD_CACHE = true;
public const bool ENABLE_CUSTOMER_SERVICE = true;
public const bool ENABLE_UPGRADE = true;
public const bool ENABLE_HELP = true;
}
}