Preparing search index...
The search index is not available
mcbopomofoweb
mcbopomofoweb
McBopomofo/WebLanguageModel
UserPhrases
Class UserPhrases
The model for user phrases.
Implements
LanguageModel
Index
Constructors
constructor
Methods
add
User
Phrase
get
Unigrams
has
Unigrams
set
On
Phrase
Added
set
On
Phrase
Change
set
User
Phrases
Constructors
constructor
new
User
Phrases
(
)
:
UserPhrases
Returns
UserPhrases
Methods
add
User
Phrase
add
User
Phrase
(
key
,
phrase
)
:
void
Parameters
key
:
string
phrase
:
string
Returns
void
get
Unigrams
get
Unigrams
(
key
)
:
Unigram
[]
Parameters
key
:
string
Returns
Unigram
[]
has
Unigrams
has
Unigrams
(
key
)
:
boolean
Parameters
key
:
string
Returns
boolean
set
On
Phrase
Added
set
On
Phrase
Added
(
callback
)
:
void
Parameters
callback
:
(
(
key
:
string
,
phrase
:
string
)
=>
void
)
(
key
,
phrase
)
:
void
Parameters
key
:
string
phrase
:
string
Returns
void
Returns
void
set
On
Phrase
Change
set
On
Phrase
Change
(
callback
)
:
void
Parameters
callback
:
(
(
map
:
Map
<
string
,
string
[]
>
)
=>
void
)
(
map
)
:
void
Parameters
map
:
Map
<
string
,
string
[]
>
Returns
void
Returns
void
set
User
Phrases
set
User
Phrases
(
map
)
:
void
Parameters
map
:
Map
<
string
,
string
[]
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
User
Phrase
get
Unigrams
has
Unigrams
set
On
Phrase
Added
set
On
Phrase
Change
set
User
Phrases
mcbopomofoweb
Loading...
The model for user phrases.