libime
Public Member Functions | Public Attributes | List of all members
libime::PinyinContextPrivate Class Reference
Inheritance diagram for libime::PinyinContextPrivate:
Inheritance graph
[legend]
Collaboration diagram for libime::PinyinContextPrivate:
Collaboration graph
[legend]

Public Member Functions

 PinyinContextPrivate (PinyinContext *q, PinyinIME *ime)
 
size_t alignCursorToNextSegment () const
 
bool needCandidatesToCursor () const
 
void clearCandidates ()
 
void updateCandidatesToCursor () const
 
template<typename FillSentence >
void selectHelper (const FillSentence &fillSentence)
 
void select (const SentenceResult &sentence)
 
void selectCustom (size_t inputLength, std::string_view segment, std::string_view encodedPinyin)
 
std::tuple< LearnWordResult, std::string > learnWord ()
 

Public Attributes

std::vector< std::vector< SelectedPinyin > > selected_
 
bool sp_ = false
 
int maxSentenceLength_ = -1
 
PinyinIMEime_
 
SegmentGraph segs_
 
Lattice lattice_
 
PinyinMatchState matchState_
 
std::vector< SentenceResultcandidates_
 
std::unordered_set< std::string > candidatesSet_
 
bool candidatesToCursorNeedUpdate_ = true
 
std::vector< SentenceResultcandidatesToCursor_
 
std::unordered_set< std::string > candidatesToCursorSet_
 
std::vector< fcitx::ScopedConnection > conn_
 
std::list< PinyinWordNode > contextWords_
 

Detailed Description

Definition at line 97 of file pinyincontext.cpp.


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