diff options
Diffstat (limited to 'extractor/matchings_finder.h')
-rw-r--r-- | extractor/matchings_finder.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extractor/matchings_finder.h b/extractor/matchings_finder.h new file mode 100644 index 00000000..ed04d8b8 --- /dev/null +++ b/extractor/matchings_finder.h @@ -0,0 +1,28 @@ +#ifndef _MATCHINGS_FINDER_H_ +#define _MATCHINGS_FINDER_H_ + +#include <memory> +#include <string> + +using namespace std; + +class PhraseLocation; +class SuffixArray; + +class MatchingsFinder { + public: + MatchingsFinder(shared_ptr<SuffixArray> suffix_array); + + virtual ~MatchingsFinder(); + + virtual PhraseLocation Find(PhraseLocation& location, const string& word, + int offset); + + protected: + MatchingsFinder(); + + private: + shared_ptr<SuffixArray> suffix_array; +}; + +#endif |