◆ CandidateSource
| Enumerator |
|---|
| kUninitialized | |
| kUserPhrase | |
| kSysPhrase | |
| kSentence | |
◆ ScriptTranslation()
| rime::ScriptTranslation::ScriptTranslation |
( |
ScriptTranslator * | translator, |
|
|
Corrector * | corrector, |
|
|
Poet * | poet, |
|
|
const string & | input, |
|
|
size_t | start, |
|
|
size_t | end_of_input, |
|
|
int | max_sentences, |
|
|
double | sentence_cutoff_threshold ) |
|
inline |
◆ CheckEmpty()
| bool rime::ScriptTranslation::CheckEmpty |
( |
| ) |
|
|
protected |
◆ EnrollEntries()
template<class QueryResult>
| void rime::ScriptTranslation::EnrollEntries |
( |
map< int, DictEntryList > & | entries_by_end_pos, |
|
|
const an< QueryResult > & | query_result ) |
|
protected |
◆ Evaluate()
◆ IsNormalSpelling()
| bool rime::ScriptTranslation::IsNormalSpelling |
( |
| ) |
const |
|
protected |
◆ MakeSentence()
◆ MakeSentences()
◆ Next()
| bool rime::ScriptTranslation::Next |
( |
| ) |
|
|
virtual |
◆ Peek()
◆ PrepareCandidate()
| bool rime::ScriptTranslation::PrepareCandidate |
( |
| ) |
|
|
protected |
◆ PrepareForMakingSentence()
◆ candidate_
| an<Phrase> rime::ScriptTranslation::candidate_ = nullptr |
|
protected |
◆ candidate_index_
| size_t rime::ScriptTranslation::candidate_index_ = 0 |
|
protected |
◆ candidate_source_
◆ correction_count_
| size_t rime::ScriptTranslation::correction_count_ = 0 |
|
protected |
◆ enable_correction_
| bool rime::ScriptTranslation::enable_correction_ |
|
protected |
◆ end_of_input_
| size_t rime::ScriptTranslation::end_of_input_ |
|
protected |
◆ max_corrections_
| const size_t rime::ScriptTranslation::max_corrections_ = 4 |
|
protected |
◆ max_sentences_
| int rime::ScriptTranslation::max_sentences_ = 1 |
|
protected |
◆ phrase_
◆ phrase_iter_
| DictEntryCollector::reverse_iterator rime::ScriptTranslation::phrase_iter_ |
|
protected |
◆ poet_
| Poet* rime::ScriptTranslation::poet_ |
|
protected |
◆ sentence_cutoff_threshold_
| double rime::ScriptTranslation::sentence_cutoff_threshold_ = 0.1 |
|
protected |
◆ sentences_
| deque<an<Sentence> > rime::ScriptTranslation::sentences_ |
|
protected |
◆ start_
| size_t rime::ScriptTranslation::start_ |
|
protected |
◆ syllabifier_
◆ translator_
◆ user_phrase_
◆ user_phrase_iter_
| UserDictEntryCollector::reverse_iterator rime::ScriptTranslation::user_phrase_iter_ |
|
protected |
The documentation for this class was generated from the following file: