detect chunks with more than one words

This commit is contained in:
Krasimir Angelov
2022-09-29 18:49:31 +02:00
parent cd280272f3
commit 74f4317b98
3 changed files with 80 additions and 19 deletions

View File

@@ -2385,7 +2385,7 @@ PgfExprEnum *pgf_parse(PgfDB *db, PgfConcrRevision revision,
if (u.lincat == 0)
return 0;
PgfParser *parser = new PgfParser(u.lincat, sentence, m);
PgfParser *parser = new PgfParser(concr, u.lincat, sentence, m);
phrasetable_lookup_cohorts(concr->phrasetable,
sentence, case_sensitive,
parser, err);