diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2012-11-18 14:26:10 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2012-11-18 14:26:10 -0500 |
commit | c634ab440869d77769ce6d5e0f7da7bc8c36650e (patch) | |
tree | 50c9cb45fa148818ca27b1616168aa9e70aa7183 /python/src | |
parent | 6f36c1e0c7cab60a38c5905bc279dfdf9ef2c1fa (diff) |
fix python pointers into training lib
Diffstat (limited to 'python/src')
-rw-r--r-- | python/src/_cdec.cpp | 4 | ||||
-rw-r--r-- | python/src/mteval.pxd | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/python/src/_cdec.cpp b/python/src/_cdec.cpp index c8d50a4f..6f341f41 100644 --- a/python/src/_cdec.cpp +++ b/python/src/_cdec.cpp @@ -1,4 +1,4 @@ -/* Generated by Cython 0.17.1 on Tue Oct 16 01:04:11 2012 */ +/* Generated by Cython 0.17.1 on Sun Nov 18 14:23:01 2012 */ #define PY_SSIZE_T_CLEAN #include "Python.h" @@ -286,7 +286,7 @@ #include "decoder/kbest.h" #include "mteval/ns.h" #include "py_scorer.h" -#include "training/candidate_set.h" +#include "training/utils/candidate_set.h" #ifdef _OPENMP #include <omp.h> #endif /* _OPENMP */ diff --git a/python/src/mteval.pxd b/python/src/mteval.pxd index c97c4b34..33a6b7a5 100644 --- a/python/src/mteval.pxd +++ b/python/src/mteval.pxd @@ -37,7 +37,7 @@ cdef extern from "py_scorer.h": cdef EvaluationMetric* PyMetricInstance "PythonEvaluationMetric::Instance"( string& metric_id, void*, MetricStatsCallback, MetricScoreCallback) -cdef extern from "training/candidate_set.h" namespace "training": +cdef extern from "training/utils/candidate_set.h" namespace "training": cdef cppclass Candidate: vector[WordID] ewords FastSparseVector[weight_t] fmap |