1
0
forked from GitHub/gf-core

finally the statistical parser is able to return all possible abstract trees

This commit is contained in:
kr.angelov
2013-04-26 20:44:01 +00:00
parent 3d984e9ee4
commit 6cc44193b8
6 changed files with 308 additions and 191 deletions

View File

@@ -816,6 +816,7 @@ pgf_read_fid(PgfReader* rdr, PgfConcr* concr)
ccat->viterbi_prob = 0;
ccat->fid = fid;
ccat->conts = NULL;
ccat->answers = NULL;
gu_map_put(concr->ccats, &fid, PgfCCat*, ccat);
}
@@ -985,6 +986,7 @@ pgf_read_cnccat(PgfReader* rdr, PgfAbstr* abstr, PgfConcr* concr, PgfCId name)
ccat->viterbi_prob = 0;
ccat->fid = fid;
ccat->conts = NULL;
ccat->answers = NULL;
gu_map_put(concr->ccats, &fid, PgfCCat*, ccat);
}