summaryrefslogtreecommitdiff
path: root/python/src/grammar.pxd
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-08-09 01:18:51 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-08-09 01:18:51 -0400
commit454ef7fd3a37a7d3105d6bf0f5750047979da2d4 (patch)
tree276fc4758188db716962ba409ccfe832077453a6 /python/src/grammar.pxd
parent2a9c9a414abc074ec4ea8a5494e8dd50e1f94d70 (diff)
parente0eabf1e59cbfa85b00efcff699cdcd6a524e9c5 (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'python/src/grammar.pxd')
-rw-r--r--python/src/grammar.pxd4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/src/grammar.pxd b/python/src/grammar.pxd
index 833de2e3..0ffe80fa 100644
--- a/python/src/grammar.pxd
+++ b/python/src/grammar.pxd
@@ -35,11 +35,9 @@ cdef extern from "decoder/grammar.h":
cdef cppclass Grammar:
const_GrammarIter* GetRoot()
- bint HasRuleForSpan(int i, int j, int distance)
- unsigned GetCTFLevels()
string GetGrammarName()
void SetGrammarName(string)
cdef cppclass TextGrammar(Grammar):
TextGrammar()
- void AddRule(shared_ptr[TRule]& rule)
+ void AddRule(shared_ptr[TRule]& rule) nogil