summaryrefslogtreecommitdiff
path: root/python/cdec/grammar.pxd
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-12 13:56:42 +0200
committerPatrick Simianer <p@simianer.de>2014-06-12 13:56:42 +0200
commit244971287003d079e46193b8a209c28955f90134 (patch)
tree8beaae6b12b913acb213fc7f2415fd63886192f9 /python/cdec/grammar.pxd
parent5250fd67a4b8f242068cff87f0a6a4211f8b0fcf (diff)
parentb66e838ed52decc0be1eb5817b2a77c3840db2c5 (diff)
Merge remote-tracking branch 'upstream/master'
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()