Search
Preparing search index...
The search index is not available
novel-segment
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/submod/DictOptimizer"
DictOptimizer
Class DictOptimizer
词典优化模块
author
老雷
leizongmin@gmail.com
Hierarchy
any
DictOptimizer
Index
Properties
_TABLE
name
Methods
_cache
_get
Word
Cache
do
Optimize
is
Mergeable
Properties
Protected
_TABLE
_TABLE
:
IDICT
<
IWord
>
name
name
:
string
= "DictOptimizer"
Methods
_cache
_cache
(
)
:
void
Returns
void
_get
Word
Cache
_get
Word
Cache
(
nw
:
string
, nw_cache
:
IWord
, nw_cache_exists
:
boolean
)
:
object
Parameters
nw:
string
nw_cache:
IWord
nw_cache_exists:
boolean
Returns
object
nw
:
string
nw_
cache
:
IWord
nw_
cache_
exists
:
boolean
do
Optimize
do
Optimize
(
words
:
IWord
[]
, is_not_first
:
boolean
)
:
IWord
[]
词典优化
Parameters
words:
IWord
[]
单词数组
is_not_first:
boolean
是否为管理器调用的
Returns
IWord
[]
is
Mergeable
is
Mergeable
(
w1
:
IWord
, w2
:
IWord
, __namedParameters
:
object
)
:
boolean
Parameters
w1:
IWord
w2:
IWord
__namedParameters:
object
POSTAG
:
POSTAG
TABLE
:
IDICT
<
any
>
i
:
number
nw
:
string
nw_
cache
:
IWord
nw_
cache_
exists
:
boolean
Returns
boolean
README
Globals
"lib/submod/
Dict
Optimizer"
Dict
Optimizer
_TABLE
name
_cache
_get
Word
Cache
do
Optimize
is
Mergeable
DIRECTIONS_
REGEXP
init
Generated using
TypeDoc
词典优化模块
老雷leizongmin@gmail.com