librime: rime::Recognizer Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::Recognizer Class Reference

`#include <recognizer.h>`

Inheritance diagram for rime::Recognizer:
[legend]
Collaboration diagram for rime::Recognizer:
[legend]

## Public Member Functions
| Recognizer (const Ticket &ticket)
virtual ProcessResult | ProcessKeyEvent (const KeyEvent &key_event)
Public Member Functions inherited from rime::Processor
| Processor (const Ticket &ticket)
virtual | ~Processor ()=default
string | name_space () const

## Protected Attributes
RecognizerPatterns | patterns_
bool | use_space_ = false
Protected Attributes inherited from rime::Processor
Engine * | engine_
string | name_space_

## Additional Inherited Members
Public Types inherited from rime::Class< Processor, const Ticket & >
using | Initializer
Static Public Member Functions inherited from rime::Class< Processor, const Ticket & >
static Component * | Require (const string &name)

## Constructor & Destructor Documentation

## ◆ Recognizer()

rime::Recognizer::Recognizer | ( | const Ticket & | ticket | ) |

## Member Function Documentation

## ◆ ProcessKeyEvent()

ProcessResult rime::Recognizer::ProcessKeyEvent | ( | const KeyEvent & | key_event | ) |
| virtual

Reimplemented from rime::Processor.

## Member Data Documentation

## ◆ patterns_

RecognizerPatterns rime::Recognizer::patterns_
| protected

## ◆ use_space_

bool rime::Recognizer::use_space_ = false
| protected

The documentation for this class was generated from the following files:

- recognizer.h
- recognizer.cc