mosesdecoder/phrase-extract/filter-rule-table/StringBasedFilter.h
Phil Williams b9a382aa78 Add filter-rule-table
This will eventually replace filter-rule-table.py.  At the moment
it can only filter rule tables where the source-side is a STSG
fragment and when the test sentences have parse trees.
2014-12-07 14:56:48 +00:00

25 lines
404 B
C++

#pragma once
#include <istream>
#include <ostream>
#include <string>
#include <vector>
namespace MosesTraining
{
namespace Syntax
{
namespace FilterRuleTable
{
class StringBasedFilter {
public:
StringBasedFilter(const std::vector<std::vector<std::string> > &);
void Filter(std::istream &, std::ostream &);
};
} // namespace FilterRuleTable
} // namespace Syntax
} // namespace MosesTraining