问:纠错功能如何开启、关闭?
答:纠错功能默认是开启状态。关闭纠错功能代码如下:
if (DWIMECore.init(DWIMECore.DWL_Chinese, keyType==26 ? DWIMECore.DWKBT_QWERTY : DWIMECore.DWKBT_DIGIT, DWIMECore.DWIM_PINYIN) == DWIMECore.DWR_OK) { // 开启纠错, 1 是开启,0 是关闭 DWIMECore.setOption(DWIMECore.DWIME_OPTIONS_CORRECT, 0); }