@willwade/aac-processors
Preparing search index...
TDSnapLexiconParser
Class TDSnapLexiconParser
Index
Constructors
constructor
Properties
HANDLER_
TAG_
MAP
TAG_
TO_
POS
Methods
lookup
Word
lookup
Word
By
Tag
parse
Db
handler
To
Pos
parse
Content
Type
Handler
tag
To
Pos
Constructors
constructor
new
TDSnapLexiconParser
()
:
TDSnapLexiconParser
Returns
TDSnapLexiconParser
Properties
Static
Readonly
HANDLER_
TAG_
MAP
HANDLER_TAG_MAP
:
Record
<
string
,
string
>
= ...
Static
Readonly
TAG_
TO_
POS
TAG_TO_POS
:
Record
<
string
,
string
>
= ...
Methods
lookup
Word
lookupWord
(
data
:
TDSnapLexiconData
,
word
:
string
)
:
string
[]
Parameters
data
:
TDSnapLexiconData
word
:
string
Returns
string
[]
lookup
Word
By
Tag
lookupWordByTag
(
data
:
TDSnapLexiconData
,
word
:
string
,
tag
:
string
)
:
string
[]
Parameters
data
:
TDSnapLexiconData
word
:
string
tag
:
string
Returns
string
[]
parse
Db
parseDb
(
dbPath
:
string
,
locale
?:
string
)
:
TDSnapLexiconData
Parameters
dbPath
:
string
Optional
locale
:
string
Returns
TDSnapLexiconData
Static
handler
To
Pos
handlerToPos
(
handler
:
string
)
:
string
Parameters
handler
:
string
Returns
string
Static
parse
Content
Type
Handler
parseContentTypeHandler
(
handler
:
string
,
)
:
{
category
:
string
;
params
:
string
[]
;
subtype
:
string
}
|
null
Parameters
handler
:
string
Returns
{
category
:
string
;
params
:
string
[]
;
subtype
:
string
}
|
null
Static
tag
To
Pos
tagToPos
(
tag
:
string
)
:
string
Parameters
tag
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
HANDLER_
TAG_
MAP
TAG_
TO_
POS
Methods
lookup
Word
lookup
Word
By
Tag
parse
Db
handler
To
Pos
parse
Content
Type
Handler
tag
To
Pos
@willwade/aac-processors
Loading...