#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