| 程序包 | 说明 |
|---|---|
| com.github.houbb.word.checker.core | |
| com.github.houbb.word.checker.core.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
IWordChecker.correct(String word,
IWordCheckerContext context)
最佳纠正结果
1.
|
List<String> |
IWordChecker.correctList(String word,
int limit,
IWordCheckerContext context)
最佳纠正列表
1. list 的大小永远不会大于 limit,大小返回应该是 [0, limit]
|
List<String> |
IWordChecker.correctList(String word,
IWordCheckerContext context)
所有匹配纠正列表
|
boolean |
IWordChecker.isCorrect(String word,
IWordCheckerContext context)
是否拼写正确
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
WordCheckerContext
单词拼写检查上下文
Created: 2018/4/28 上午6:41
Project: word-checker
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
ZhWordChecker.correct(String word,
IWordCheckerContext context) |
String |
EnWordChecker.correct(String word,
IWordCheckerContext context) |
List<String> |
ZhWordChecker.correctList(String word,
int limit,
IWordCheckerContext context) |
List<String> |
EnWordChecker.correctList(String word,
int limit,
IWordCheckerContext context) |
List<String> |
ZhWordChecker.correctList(String word,
IWordCheckerContext context) |
List<String> |
EnWordChecker.correctList(String word,
IWordCheckerContext context) |
boolean |
ZhWordChecker.isCorrect(String word,
IWordCheckerContext context) |
boolean |
EnWordChecker.isCorrect(String word,
IWordCheckerContext context) |
Copyright © 2024. All rights reserved.