an initial Java/C API for predicting literals. Still not utilized

This commit is contained in:
kr.angelov
2014-04-25 08:53:18 +00:00
parent 3a0da12e3d
commit d278965095
5 changed files with 91 additions and 13 deletions

View File

@@ -161,6 +161,10 @@ struct PgfLiteralCallback {
size_t lin_idx,
GuString sentence, size_t* poffset,
GuPool *out_pool);
GuEnum* (*predict)(PgfLiteralCallback* self,
size_t lin_idx,
GuString prefix,
GuPool *out_pool);
};
void