00001 #include "TreeCfgFilter.h"
00002
00003 #include <algorithm>
00004
00005 #include "util/string_piece_hash.hh"
00006
00007 namespace MosesTraining
00008 {
00009 namespace Syntax
00010 {
00011 namespace FilterRuleTable
00012 {
00013
00014 TreeCfgFilter::TreeCfgFilter(
00015 const std::vector<boost::shared_ptr<SyntaxTree> > &sentences)
00016 {
00017 }
00018
00019 void TreeCfgFilter::Filter(std::istream &in, std::ostream &out)
00020 {
00021
00022 std::string line;
00023 while (std::getline(in, line)) {
00024 out << line << std::endl;
00025 }
00026 }
00027
00028 }
00029 }
00030 }