librime: rime::ReverseLookupDictionary Class Reference

| librime 1.2 Rime Input Method Engine, the core library

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

`#include <reverse_lookup_dictionary.h>`

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

## Public Member Functions
| ReverseLookupDictionary (an< ReverseDb > db)
bool | Load ()
bool | ReverseLookup (const string &text, string *result)
bool | LookupStems (const string &text, string *result)
an< DictSettings > | GetDictSettings ()

## Protected Attributes
an< ReverseDb > | db_

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

## Constructor & Destructor Documentation

## ◆ ReverseLookupDictionary()

rime::ReverseLookupDictionary::ReverseLookupDictionary | ( | an< ReverseDb > | db | ) |
| explicit

## Member Function Documentation

## ◆ GetDictSettings()

an< DictSettings > rime::ReverseLookupDictionary::GetDictSettings | ( |  | ) |

## ◆ Load()

bool rime::ReverseLookupDictionary::Load | ( |  | ) |

## ◆ LookupStems()

bool rime::ReverseLookupDictionary::LookupStems | ( | const string & | text,
|  | string * | result )

## ◆ ReverseLookup()

bool rime::ReverseLookupDictionary::ReverseLookup | ( | const string & | text,
|  | string * | result )

## Member Data Documentation

## ◆ db_

an<ReverseDb> rime::ReverseLookupDictionary::db_
| protected

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

- reverse_lookup_dictionary.h
- reverse_lookup_dictionary.cc