summaryrefslogtreecommitdiff
path: root/extractor/run_extractor.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
commitab5367aa2c42126a04034cd7d3cec125bca399ca (patch)
tree9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/run_extractor.cc
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/run_extractor.cc')
-rw-r--r--extractor/run_extractor.cc17
1 files changed, 10 insertions, 7 deletions
diff --git a/extractor/run_extractor.cc b/extractor/run_extractor.cc
index 5255737d..c701c8d0 100644
--- a/extractor/run_extractor.cc
+++ b/extractor/run_extractor.cc
@@ -1,6 +1,7 @@
#include <chrono>
#include <fstream>
#include <iostream>
+#include <memory>
#include <string>
#include <vector>
@@ -30,6 +31,8 @@
namespace fs = boost::filesystem;
namespace po = boost::program_options;
using namespace std;
+using namespace extractor;
+using namespace features;
int main(int argc, char** argv) {
// TODO(pauldb): Also take arguments from config file.
@@ -146,13 +149,13 @@ int main(int argc, char** argv) {
Clock::time_point extraction_start_time = Clock::now();
vector<shared_ptr<Feature> > features = {
- make_shared<TargetGivenSourceCoherent>(),
- make_shared<SampleSourceCount>(),
- make_shared<CountSourceTarget>(),
- make_shared<MaxLexSourceGivenTarget>(table),
- make_shared<MaxLexTargetGivenSource>(table),
- make_shared<IsSourceSingleton>(),
- make_shared<IsSourceTargetSingleton>()
+// make_shared<TargetGivenSourceCoherent>(),
+// make_shared<SampleSourceCount>(),
+// make_shared<CountSourceTarget>(),
+// make_shared<MaxLexSourceGivenTarget>(table),
+// make_shared<MaxLexTargetGivenSource>(table),
+// make_shared<IsSourceSingleton>(),
+// make_shared<IsSourceTargetSingleton>()
};
shared_ptr<Scorer> scorer = make_shared<Scorer>(features);