blob: 53eb5022155c885cd9d65de9aa027705dc64683e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <gmock/gmock.h>
#include "grammar.h"
#include "rule_factory.h"
namespace extractor {
class MockHieroCachingRuleFactory : public HieroCachingRuleFactory {
public:
MOCK_METHOD2(GetGrammar, Grammar(
const vector<int>& word_ids,
const unordered_set<int>& blacklisted_sentence_ids));
};
} // namespace extractor
|