|
librime 1.2
Rime Input Method Engine, the core library
|
#include <reverse_lookup_dictionary.h>


Public Member Functions | |
| ReverseDb (const path &file_path) | |
| bool | Load () |
| bool | Lookup (const string &text, string *result) |
| bool | Build (DictSettings *settings, const Syllabary &syllabary, const Vocabulary &vocabulary, const ReverseLookupTable &stems, uint32_t dict_file_checksum) |
| bool | Save () |
| uint32_t | dict_file_checksum () const |
| reverse::Metadata * | metadata () const |
| Public Member Functions inherited from rime::MappedFile | |
| MappedFile (const MappedFile &)=delete | |
| MappedFile & | operator= (const MappedFile &)=delete |
| bool | Exists () const |
| bool | IsOpen () const |
| void | Close () |
| bool | Remove () |
| template<class T> | |
| T * | Find (size_t offset) |
| const path & | file_path () const |
| size_t | file_size () const |
Additional Inherited Members | |
| Protected Member Functions inherited from rime::MappedFile | |
| MappedFile (const path &file_path) | |
| virtual | ~MappedFile () |
| bool | Create (size_t capacity) |
| bool | OpenReadOnly () |
| bool | OpenReadWrite () |
| bool | Flush () |
| bool | Resize (size_t capacity) |
| bool | ShrinkToFit () |
| template<class T> | |
| T * | Allocate (size_t count=1) |
| template<class T> | |
| Array< T > * | CreateArray (size_t array_size) |
| String * | CreateString (const string &str) |
| bool | CopyString (const string &src, String *dest) |
| size_t | capacity () const |
| char * | address () const |
|
explicit |
| bool rime::ReverseDb::Build | ( | DictSettings * | settings, |
| const Syllabary & | syllabary, | ||
| const Vocabulary & | vocabulary, | ||
| const ReverseLookupTable & | stems, | ||
| uint32_t | dict_file_checksum ) |
| uint32_t rime::ReverseDb::dict_file_checksum | ( | ) | const |
| bool rime::ReverseDb::Load | ( | ) |
| bool rime::ReverseDb::Lookup | ( | const string & | text, |
| string * | result ) |
|
inline |
| bool rime::ReverseDb::Save | ( | ) |