From c9c5675e1dba3dc371d53c8255743e0eb38488e2 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 12 Jun 2012 11:30:01 +0000 Subject: now there is a limit of 2000000 items in the chart of the robust parser. This prevents from explosion in the memory size but it will also prevent us from parsing some sentences. --- src/runtime/c/pgf/pgf.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/runtime/c/pgf/pgf.h') diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index e14b4c8c8..b42921f09 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -72,6 +72,15 @@ pgf_read(GuIn* in, GuPool* pool, GuExn* err); bool pgf_load_meta_child_probs(PgfPGF*, const char* fpath, GuPool* pool); +typedef struct PgfConcr PgfConcr; + +void +pgf_set_item_quota(PgfConcr* concr, int quota); + +int +pgf_get_item_quota(PgfConcr* concr); + + #include extern GU_DECLARE_TYPE(PgfPGF, struct); -- cgit v1.2.3