Preparing search index...
The search index is not available
LiveKit Agents
LiveKit Agents
agents
tokenize
basic
WordTokenizer
Class WordTokenizer
Hierarchy (
view full
)
tokenize
.
WordTokenizer
WordTokenizer
Index
Constructors
constructor
Methods
stream
tokenize
Constructors
constructor
new
Word
Tokenizer
(
ignorePunctuation
?
)
:
tokenize
.
basic
.
WordTokenizer
Parameters
ignorePunctuation
:
boolean
= true
Returns
tokenize
.
basic
.
WordTokenizer
Methods
stream
stream
(
language
?
)
:
WordStream
Returns a
WordStream
that can be used to push words and receive smaller segments.
Parameters
Optional
language
:
string
Returns
WordStream
tokenize
tokenize
(
text
,
language
?
)
:
string
[]
Parameters
text
:
string
Optional
language
:
string
Returns
string
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
stream
tokenize
LiveKit Agents
Loading...
Returns a WordStream that can be used to push words and receive smaller segments.