Search
Preparing search index...
The search index is not available
segment-dict
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"script/util"
External module "script/util"
Index
Enumerations
Enum
Line
Type
Interfaces
ILoad
Dict
File
Row
Type aliases
ILoad
Dict
File
Row2
Variables
Bluebird
Promise
DEFAULT_
IGNORE
Str
Util
natural
Compare
Functions
all_
default_
load_
dict
all_
extra_
dict
base
Sort
List
chk
Line
Type
glob
Dict
load
Dict
File
Type aliases
ILoad
Dict
File
Row2
ILoad
Dict
File
Row2<D>
:
ILoadDictFileRow
<
D
>
&
{
cjk_id
:
string
;
file
:
string
;
line_type
:
EnumLineType
}
Type parameters
D
:
any
Variables
Bluebird
Promise
Bluebird
Promise
:
any
Const
DEFAULT_
IGNORE
DEFAULT_
IGNORE
:
string
[]
= [//'char*','**/skip','**/jieba','**/lazy','**/synonym','**/names',]
Str
Util
Str
Util
:
any
natural
Compare
natural
Compare
:
any
Functions
all_
default_
load_
dict
all_
default_
load_
dict
(
)
:
string
[]
Returns
string
[]
all_
extra_
dict
all_
extra_
dict
(
)
:
string
[]
Returns
string
[]
base
Sort
List
base
Sort
List<T>
(
ls
:
T
[]
, bool
?:
boolean
)
:
T
[]
Type parameters
T
Parameters
ls:
T
[]
Optional
bool:
boolean
Returns
T
[]
chk
Line
Type
chk
Line
Type
(
line
:
string
)
:
EnumLineType
Parameters
line:
string
Returns
EnumLineType
glob
Dict
glob
Dict
(
cwd
:
string
, pattern
?:
string
[]
, ignore
?:
string
[]
)
:
any
Parameters
cwd:
string
Optional
pattern:
string
[]
Default value
ignore:
string
[]
= DEFAULT_IGNORE
Returns
any
load
Dict
File
load
Dict
File<T>
(
file
:
string
, fn
?:
(
list
:
T
[]
, cur
:
T
)
=>
boolean
, options
?:
{
parseFn
?:
(
line
:
string
)
=>
any
}
)
:
BluebirdPromise
<
T
[]
>
Type parameters
T
Parameters
file:
string
Optional
fn:
(
list
:
T
[]
, cur
:
T
)
=>
boolean
(
list
:
T
[]
, cur
:
T
)
:
boolean
Parameters
list:
T
[]
cur:
T
Returns
boolean
Optional
options:
{
parseFn
?:
(
line
:
string
)
=>
any
}
Optional
parse
Fn
?:
(
line
:
string
)
=>
any
(
line
:
string
)
:
any
Parameters
line:
string
Returns
any
Returns
BluebirdPromise
<
T
[]
>
README
Globals
"index"
"lib/dict"
"lib/fs/line"
"lib/fs/stream"
"lib/fs/sync"
"lib/loader/_
class"
"lib/loader/index"
"lib/loader/jieba/index"
"lib/loader/line"
"lib/loader/opencc/index"
"lib/loader/opencc/scheme"
"lib/loader/segment/index"
"lib/loader/segment/synonym"
"lib/loader/stopword"
"project.config"
"script/extract-
char"
"script/publish-
after"
"script/sort-
line"
"script/sort.dict_
synonym"
"script/sort_
list_
synonym"
"script/util"
Enum
Line
Type
ILoad
Dict
File
Row
ILoad
Dict
File
Row2
Bluebird
Promise
DEFAULT_
IGNORE
Str
Util
natural
Compare
all_
default_
load_
dict
all_
extra_
dict
base
Sort
List
chk
Line
Type
glob
Dict
load
Dict
File
Generated using
TypeDoc