summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/parser.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-02-12 09:41:32 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-02-12 09:41:32 +0000
commita4c9d20fc3a92dc2e80208d4fe7b4f54a64a17af (patch)
treedb3f81918d174c517d67b9fa0112496fcfa50a86 /src/runtime/c/pgf/parser.h
parente5231eebbdddd6b6d9cbae2c690f7c8d84221ae0 (diff)
the statistical parser now uses a baseline lexical estimation of the beam size
Diffstat (limited to 'src/runtime/c/pgf/parser.h')
-rw-r--r--src/runtime/c/pgf/parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/parser.h b/src/runtime/c/pgf/parser.h
index 6952d33ab..c4c394aad 100644
--- a/src/runtime/c/pgf/parser.h
+++ b/src/runtime/c/pgf/parser.h
@@ -68,6 +68,9 @@ pgf_parser_next_state(PgfParseState* prev, PgfToken tok,
*/
void
+pgf_parser_set_beam_size(PgfParseState* state, double beam_size);
+
+void
pgf_parser_add_literal(PgfConcr *concr, PgfCId cat,
PgfLiteralCallback* callback);