您的浏览器已禁用 JavaScript。
跳过导航链接
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
B
C
D
E
F
G
H
I
L
M
N
O
P
S
T
V
A
addEmit(int)
- 类 中的方法com.hankcs.algorithm.
State
添加一个匹配到的模式串(这个状态对应着这个模式串)
addEmit(Collection<Integer>)
- 类 中的方法com.hankcs.algorithm.
State
添加一些匹配到的模式串
addState(Character)
- 类 中的方法com.hankcs.algorithm.
State
AhoCorasickDoubleArrayTrie
<
V
> -
com.hankcs.algorithm
中的类
An implementation of Aho Corasick algorithm based on Double Array Trie
AhoCorasickDoubleArrayTrie()
- 类 的构造器com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
AhoCorasickDoubleArrayTrie.Hit
<
V
> -
com.hankcs.algorithm
中的类
A result output
AhoCorasickDoubleArrayTrie.IHit
<
V
> -
com.hankcs.algorithm
中的接口
Processor handles the output when hit a keyword
AhoCorasickDoubleArrayTrie.IHitCancellable
<
V
> -
com.hankcs.algorithm
中的接口
Callback that allows to cancel the search process.
AhoCorasickDoubleArrayTrie.IHitFull
<
V
> -
com.hankcs.algorithm
中的接口
Processor handles the output when hit a keyword, with more detail
B
base
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
base array of the Double Array Trie structure
begin
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.Hit
the beginning index, inclusive.
build(Map<String, V>)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Build a AhoCorasickDoubleArrayTrie from a map
C
check
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
check array of the Double Array Trie structure
com.hankcs.algorithm
- 程序包 com.hankcs.algorithm
D
depth
- 类 中的变量com.hankcs.algorithm.
State
模式串的长度,也是这个状态的深度
E
emit()
- 类 中的方法com.hankcs.algorithm.
State
获取这个节点代表的模式串(们)
end
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.Hit
the ending index, exclusive.
exactMatchSearch(String)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
match exactly by a key
F
fail
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
fail table of the Aho Corasick automata
failure()
- 类 中的方法com.hankcs.algorithm.
State
获取failure状态
findFirst(String)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Search first match in string
G
get(String)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Get value by a String key, just like a map.get() method
get(int)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Pick the value by index in value array
Notice that to be more efficiently, this method DO NOT check the parameter
getDepth()
- 类 中的方法com.hankcs.algorithm.
State
获取节点深度
getIndex()
- 类 中的方法com.hankcs.algorithm.
State
getLargestValueId()
- 类 中的方法com.hankcs.algorithm.
State
获取最大的值
getStates()
- 类 中的方法com.hankcs.algorithm.
State
getSuccess()
- 类 中的方法com.hankcs.algorithm.
State
获取goto表
getTransitions()
- 类 中的方法com.hankcs.algorithm.
State
H
Hit(int, int, V)
- 类 的构造器com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.Hit
hit(int, int, V)
- 接口 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.IHit
Hit a keyword, you can use some code like text.substring(begin, end) to get the keyword
hit(int, int, V)
- 接口 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.IHitCancellable
Hit a keyword, you can use some code like text.substring(begin, end) to get the keyword
hit(int, int, V, int)
- 接口 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.IHitFull
Hit a keyword, you can use some code like text.substring(begin, end) to get the keyword
I
isAcceptable()
- 类 中的方法com.hankcs.algorithm.
State
是否是终止状态
L
l
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
the length of every key
load(ObjectInputStream)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Load
M
matches(String)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Checks that string contains at least one substring
N
nextState(Character)
- 类 中的方法com.hankcs.algorithm.
State
按照character转移,根节点转移失败会返回自己(永远不会返回null)
nextStateIgnoreRootState(Character)
- 类 中的方法com.hankcs.algorithm.
State
按照character转移,任何节点转移失败会返回null
O
output
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
output table of the Aho Corasick automata
P
parseText(String)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Parse text
parseText(String, AhoCorasickDoubleArrayTrie.IHit<V>)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Parse text
parseText(String, AhoCorasickDoubleArrayTrie.IHitCancellable<V>)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Parse text
parseText(char[], AhoCorasickDoubleArrayTrie.IHit<V>)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Parse text
parseText(char[], AhoCorasickDoubleArrayTrie.IHitFull<V>)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Parse text
S
save(ObjectOutputStream)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Save
setFailure(State, int[])
- 类 中的方法com.hankcs.algorithm.
State
设置failure状态
setIndex(int)
- 类 中的方法com.hankcs.algorithm.
State
size
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
the size of base and check array
size()
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
Get the size of the keywords
State
-
com.hankcs.algorithm
中的类
一个状态有如下几个功能
success; 成功转移到另一个状态 failure; 不可顺着字符串跳转的话,则跳转到一个浅一点的节点 emits; 命中一个模式串
根节点稍有不同,根节点没有 failure 功能,它的“failure”指的是按照字符串路径转移到下一个状态。
State()
- 类 的构造器com.hankcs.algorithm.
State
构造深度为0的节点
State(int)
- 类 的构造器com.hankcs.algorithm.
State
构造深度为depth的节点
T
toString()
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.Hit
toString()
- 类 中的方法com.hankcs.algorithm.
State
transition(int, char)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
transition of a state
transitionWithRoot(int, char)
- 类 中的方法com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
transition of a state, if the state is root and it failed, then returns the root
V
v
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie
outer value array
value
- 类 中的变量com.hankcs.algorithm.
AhoCorasickDoubleArrayTrie.Hit
the value assigned to the keyword
A
B
C
D
E
F
G
H
I
L
M
N
O
P
S
T
V
跳过导航链接
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2014–2018
码农场
. All rights reserved.