|
libime
|
Provides shared data for PinyinContext. More...
#include <libime/pinyin/pinyinime.h>


Public Member Functions | |
| PinyinIME (std::unique_ptr< PinyinDictionary > dict, std::unique_ptr< UserLanguageModel > model) | |
| PinyinFuzzyFlags | fuzzyFlags () const |
| void | setFuzzyFlags (PinyinFuzzyFlags flags) |
| size_t | nbest () const |
| void | setNBest (size_t n) |
| size_t | beamSize () const |
| void | setBeamSize (size_t n) |
| size_t | frameSize () const |
| void | setFrameSize (size_t n) |
| size_t | partialLongWordLimit () const |
| void | setPartialLongWordLimit (size_t n) |
| size_t | wordCandidateLimit () const |
| The maximum number of candidates that is a word. More... | |
| void | setWordCandidateLimit (size_t n) |
| Set the maximum number of candidates that is a word. More... | |
| void | setScoreFilter (float maxDistance=std::numeric_limits< float >::max(), float minPath=-std::numeric_limits< float >::max()) |
| void | setShuangpinProfile (std::shared_ptr< const ShuangpinProfile > profile) |
| std::shared_ptr< const ShuangpinProfile > | shuangpinProfile () const |
| void | setPreeditMode (PinyinPreeditMode mode) |
| PinyinPreeditMode | preeditMode () const |
| void | setCorrectionProfile (std::shared_ptr< const PinyinCorrectionProfile > profile) |
| std::shared_ptr< const PinyinCorrectionProfile > | correctionProfile () const |
| float | maxDistance () const |
| float | minPath () const |
| PinyinDictionary * | dict () |
| const PinyinDictionary * | dict () const |
| const PinyinDecoder * | decoder () const |
| UserLanguageModel * | model () |
| const UserLanguageModel * | model () const |
| FCITX_DECLARE_SIGNAL (PinyinIME, optionChanged, void()) | |
Provides shared data for PinyinContext.
Definition at line 28 of file pinyinime.h.
| void libime::PinyinIME::setWordCandidateLimit | ( | size_t | n | ) |
Set the maximum number of candidates that is a word.
Since 1.1.12
Definition at line 162 of file pinyinime.cpp.
| size_t libime::PinyinIME::wordCandidateLimit | ( | ) | const |
The maximum number of candidates that is a word.
Limit the non single character candidates to avoid need to scroll/next page too many characters.
When is 0, it means no limit.
Since 1.1.12
Definition at line 157 of file pinyinime.cpp.
1.8.13