support syntagmatic words

This commit is contained in:
Krasimir Angelov committed 2024-01-02 16:31:22 +01:00
1 parent 51ea3926a5
commit 68da9226b1
8 files changed
+272 -76

No files matched your search

+9
View File
@@ -115,4 +115,13 @@ void phrasetable_iter(PgfConcr *concr,
PGF_INTERNAL_DECL
void phrasetable_release(PgfPhrasetable table);
// The following are used internally in the parser
enum SeqMatch { SM_FULL_MATCH, SM_PREFIX, SM_PARTIAL };
PGF_INTERNAL_DECL
int text_sequence_cmp(PgfTextSpot *spot, const uint8_t *end,
ref<PgfSequence> seq, size_t *p_i,
bool case_sensitive, SeqMatch sm);
#endif