blob: 0458a4d83760942293040da77ee576a065141961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#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);
PhraseLocation Find(PhraseLocation& location, const string& word, int offset);
private:
shared_ptr<SuffixArray> suffix_array;
};
#endif
|