librime: rime::Corrector Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | List of all members
rime::Corrector Class Referenceabstract

`#include <corrector.h>`

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

## Public Member Functions
virtual | ~Corrector ()=default
virtual RIME_DLL void | ToleranceSearch (const Prism &prism, const string &key, corrector::Corrections *results, size_t tolerance)=0

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

## Detailed Description

The unify interface of correctors

## Constructor & Destructor Documentation

## ◆ ~Corrector()

virtual rime::Corrector::~Corrector | ( |  | ) |
| virtualdefault

## Member Function Documentation

## ◆ ToleranceSearch()

virtual RIME_DLL void rime::Corrector::ToleranceSearch | ( | const Prism & | prism,
|  | const string & | key,
|  | corrector::Corrections * | results,
|  | size_t | tolerance )
| pure virtual

Implemented in rime::EditDistanceCorrector, and rime::NearSearchCorrector.

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

- corrector.h