librime: rime::PhraseCollector Class Reference

| librime 1.2 Rime Input Method Engine, the core library

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

`#include <encoder.h>`

Inheritance diagram for rime::PhraseCollector:
[legend]

## Public Member Functions
| PhraseCollector ()=default
virtual | ~PhraseCollector ()=default
virtual void | CreateEntry (const string &phrase, const string &code_str, const string &value)=0
virtual bool | TranslateWord (const string &word, vector< string > *code)=0

## Constructor & Destructor Documentation

## ◆ PhraseCollector()

rime::PhraseCollector::PhraseCollector | ( |  | ) |
| default

## ◆ ~PhraseCollector()

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

## Member Function Documentation

## ◆ CreateEntry()

virtual void rime::PhraseCollector::CreateEntry | ( | const string & | phrase,
|  | const string & | code_str,
|  | const string & | value )
| pure virtual

Implemented in rime::EntryCollector, and rime::UnityTableEncoder.

## ◆ TranslateWord()

virtual bool rime::PhraseCollector::TranslateWord | ( | const string & | word,
|  | vector< string > * | code )
| pure virtual

Implemented in rime::EntryCollector, and rime::UnityTableEncoder.

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

- encoder.h