8#ifndef RIME_SPELLING_H_
9#define RIME_SPELLING_H_
SpellingType
Definition spelling.h:15
@ kAbbreviation
Definition spelling.h:18
@ kInvalidSpelling
Definition spelling.h:21
@ kNormalSpelling
Definition spelling.h:16
@ kFuzzySpelling
Definition spelling.h:17
@ kAmbiguousSpelling
Definition spelling.h:20
@ kCompletion
Definition spelling.h:19
void Update(const SpellingProperties &other)
Definition spelling.cc:22
SpellingType type
Definition spelling.h:25
size_t end_pos
Definition spelling.h:26
bool is_correction
Definition spelling.h:29
double credibility
Definition spelling.h:27
string tips
Definition spelling.h:28
void Compose(const SpellingProperties &delta)
Definition spelling.cc:5
bool operator<(const Spelling &other)
Definition spelling.h:45
Spelling(const string &_str)
Definition spelling.h:42
bool operator==(const Spelling &other)
Definition spelling.h:44
string str
Definition spelling.h:38
SpellingProperties properties
Definition spelling.h:39