librime 1.2
Rime Input Method Engine, the core library
matcher.h
Go to the documentation of this file.
1//
2// Copyright RIME Developers
3// Distributed under the BSD License
4//
5// 2012-01-01 GONG Chen <chen.sst@gmail.com>
6//
7#ifndef RIME_MATCHER_H_
8#define RIME_MATCHER_H_
9
10#include <rime/segmentor.h>
11#include "recognizer.h"
12
13namespace rime {
14
15class Matcher : public Segmentor {
16 public:
17 explicit Matcher(const Ticket& ticket);
18
19 virtual bool Proceed(Segmentation* segmentation);
20
21 protected:
23};
24
25} // namespace rime
26
27#endif // RIME_MATCHER_H_
Definition algebra.cc:12
RecognizerPatterns patterns_
Definition matcher.h:22
virtual bool Proceed(Segmentation *segmentation)
Definition matcher.cc:26
Matcher(const Ticket &ticket)
Definition matcher.cc:15
Definition recognizer.h:30
Definition segmentation.h:60
Segmentor(const Ticket &ticket)
Definition segmentor.h:20
Definition ticket.h:17