From 5530575ae0ad939e17f08d6bd49978acea388ab7 Mon Sep 17 00:00:00 2001 From: Paul Baltescu Date: Mon, 28 Jan 2013 11:56:31 +0000 Subject: Initial working commit. --- extractor/matching.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extractor/matching.h (limited to 'extractor/matching.h') diff --git a/extractor/matching.h b/extractor/matching.h new file mode 100644 index 00000000..4c46559e --- /dev/null +++ b/extractor/matching.h @@ -0,0 +1,18 @@ +#ifndef _MATCHING_H_ +#define _MATCHING_H_ + +#include +#include + +using namespace std; + +struct Matching { + Matching(vector::iterator start, int len, int sentence_id); + + vector Merge(const Matching& other, int num_subpatterns) const; + + vector positions; + int sentence_id; +}; + +#endif -- cgit v1.2.3