public interface ZhConvertCore
中文转换接口
String toSimple(String original, ZhConvertCoreContext context)
original - 原始字符串context - 上下文String toTraditional(String original, ZhConvertCoreContext context)
original - 原始字符串context - 上下文List<String> simpleList(String original, ZhConvertCoreContext context)
original - 原始字符串列表context - 上下文List<String> traditionalList(String original, ZhConvertCoreContext context)
original - 原始字符串列表context - 上下文boolean isSimple(char c,
ZhConvertCoreContext context)
c - 字符context - 上下文boolean isSimple(String charOrPhrase, ZhConvertCoreContext context)
context - 上下文charOrPhrase - 单个字或者词组boolean containsSimple(String charOrPhrase, ZhConvertCoreContext context)
context - 上下文charOrPhrase - 单个字或者词组boolean isTraditional(char c,
ZhConvertCoreContext context)
c - 字符context - 上下文boolean isTraditional(String charOrPhrase, ZhConvertCoreContext context)
charOrPhrase - 单个字或者词组context - 上下文boolean containsTraditional(String charOrPhrase, ZhConvertCoreContext context)
charOrPhrase - 字符context - 上下文boolean isChinese(char c,
ZhConvertCoreContext context)
c - 字符context - 上下文boolean isChinese(String charOrPhrase, ZhConvertCoreContext context)
charOrPhrase - 字符或者词组context - 上下文boolean containsChinese(String charOrPhrase, ZhConvertCoreContext context)
charOrPhrase - 字符或者数组context - 上下文List<String> toSimple(char c, ZhConvertCoreContext context)
c - 汉字context - 上下文List<String> toTraditional(char c, ZhConvertCoreContext context)
c - 汉字context - 上下文Copyright © 2025. All rights reserved.