From 62bc78380e69af2de3253130204fc45bac00f3f0 Mon Sep 17 00:00:00 2001 From: krangelov Date: Thu, 14 May 2020 15:03:30 +0200 Subject: lookupCohorts now detects and reports unknown words. Also: - added added two filtering functions: filterLongest and filterBest - updated the PGF service to work with the new API --- src/runtime/c/pgf/pgf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 5dbe2e2e1..6ff269e00 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -171,8 +171,8 @@ pgf_lookup_morpho(PgfConcr *concr, GuString sentence, PgfMorphoCallback* callback, GuExn* err); typedef struct { - size_t pos; - GuString ptr; + size_t pos; // position in Unicode characters + GuString ptr; // pointer into the string } PgfCohortSpot; typedef struct { -- cgit v1.2.3