public class StopChar extends Object
Modifier and Type | Field and Description |
---|---|
static Set<Character> |
STOP_WORD
不需要处理的词,如标点符号、空格等
|
Constructor and Description |
---|
StopChar() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNotStopChar(char ch)
是否为合法字符(待处理字符)
|
static boolean |
isStopChar(char ch)
判断指定的词是否是不处理的词。
|
Copyright © 2024. All rights reserved.