diff options
| author | krangelov <kr.angelov@gmail.com> | 2020-05-14 15:03:30 +0200 |
|---|---|---|
| committer | krangelov <kr.angelov@gmail.com> | 2020-05-14 15:03:30 +0200 |
| commit | 62bc78380e69af2de3253130204fc45bac00f3f0 (patch) | |
| tree | b2d633785ca1e9b4f6ac41bedc03dddd7dd0c677 /src/runtime/c/pgf/pgf.h | |
| parent | 57a1ea5b56fa1e8cb3c8b9512ee421499a72a750 (diff) | |
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
Diffstat (limited to 'src/runtime/c/pgf/pgf.h')
| -rw-r--r-- | src/runtime/c/pgf/pgf.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
