diff options
author | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-10-16 00:37:21 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-10-16 00:37:21 -0400 |
commit | 51b5c16c9110999ac573bd3383d7eb0e3f10fc37 (patch) | |
tree | f7983c151f079edecc102f29c6d2aa698411ad95 /decoder/ff_charset.cc | |
parent | dc435732dbe8929aac900fef8b1d454291769862 (diff) |
clean up of bad header includes
Diffstat (limited to 'decoder/ff_charset.cc')
-rw-r--r-- | decoder/ff_charset.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/decoder/ff_charset.cc b/decoder/ff_charset.cc index 472de82b..6429088b 100644 --- a/decoder/ff_charset.cc +++ b/decoder/ff_charset.cc @@ -1,5 +1,7 @@ #include "ff_charset.h" +#include "tdict.h" +#include "hg.h" #include "fdict.h" #include "stringlib.h" @@ -20,8 +22,8 @@ bool ContainsNonLatin(const string& word) { void NonLatinCount::TraversalFeaturesImpl(const SentenceMetadata& smeta, const Hypergraph::Edge& edge, const std::vector<const void*>& ant_contexts, - FeatureVector* features, - FeatureVector* estimated_features, + SparseVector<double>* features, + SparseVector<double>* estimated_features, void* context) const { const vector<WordID>& e = edge.rule_->e(); int count = 0; |