Search
Preparing search index...
The search index is not available
novel-segment
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/mod/Tokenizer"
Tokenizer
Class Tokenizer
分词模块管理器
Hierarchy
SModule
Tokenizer
Implements
ISModule
Index
Constructors
constructor
Properties
segment
type
Methods
_do
Method
split
Constructors
constructor
new
Tokenizer
(
segment
:
Segment
)
:
Tokenizer
Parameters
segment:
Segment
分词接口
Returns
Tokenizer
Properties
segment
segment
:
Segment
type
type
:
string
= "tokenizer"
Methods
Protected
_do
Method
_do
Method<S, T>
(
fn
:
string
, target
:
S
[]
, mods
:
T
[]
,
...
argv
:
any
[]
)
:
S
[]
Type parameters
S
:
IWord
T
:
ISubSModule
Parameters
fn:
string
target:
S
[]
mods:
T
[]
Rest
...
argv:
any
[]
Returns
S
[]
split
split
(
text
:
string
, mods
:
ISubTokenizer
[]
,
...
argv
:
any
[]
)
:
IWord
[]
对一段文本进行分词
Parameters
text:
string
文本
mods:
ISubTokenizer
[]
Rest
...
argv:
any
[]
Returns
IWord
[]
README
Globals
"lib/mod/
Tokenizer"
SubSModule
Tokenizer
Tokenizer
constructor
segment
type
_do
Method
split
ISub
Tokenizer
ISub
Tokenizer
Create
Generated using
TypeDoc
分词模块管理器