summaryrefslogtreecommitdiff
path: root/python/cdec/grammar.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'python/cdec/grammar.pxd')
-rw-r--r--python/cdec/grammar.pxd1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/cdec/grammar.pxd b/python/cdec/grammar.pxd
index 0ffe80fa..3607a544 100644
--- a/python/cdec/grammar.pxd
+++ b/python/cdec/grammar.pxd
@@ -16,6 +16,7 @@ cdef extern from "decoder/trule.h":
FastSparseVector[weight_t] scores_
WordID lhs_
int arity_
+ bint ReadFromString(string& line, bint monolingual)
bint IsUnary()
bint IsGoal()
void ComputeArity()