TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/grammars/parsing
parseEarley
Function parseEarley
parseEarley
(
cfg
:
Cfg
,
word
:
TerminalWord
,
budget
:
Budget
,
options
?:
EarleyOptions
,
)
:
Result
<
EarleyRun
,
Exhaustion
>
Recognizes a word, optionally retaining its packed forest and completed chart frames.
Parameters
cfg
:
Cfg
word
:
TerminalWord
budget
:
Budget
options
:
EarleyOptions
= {}
Returns
Result
<
EarleyRun
,
Exhaustion
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Recognizes a word, optionally retaining its packed forest and completed chart frames.