librime: rime::SpellingProperties Struct Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Public Attributes | List of all members
rime::SpellingProperties Struct Reference

`#include <spelling.h>`

Inheritance diagram for rime::SpellingProperties:
[legend]
Collaboration diagram for rime::SpellingProperties:
[legend]

## Public Member Functions
void | Compose (const SpellingProperties &delta)
void | Update (const SpellingProperties &other)

## Public Attributes
SpellingType | type = kNormalSpelling
size_t | end_pos = 0
double | credibility = 0.0
string | tips
bool | is_correction = false

## Member Function Documentation

## ◆ Compose()

void rime::SpellingProperties::Compose | ( | const SpellingProperties & | delta | ) |

## ◆ Update()

void rime::SpellingProperties::Update | ( | const SpellingProperties & | other | ) |

## Member Data Documentation

## ◆ credibility

double rime::SpellingProperties::credibility = 0.0

## ◆ end_pos

size_t rime::SpellingProperties::end_pos = 0

## ◆ is_correction

bool rime::SpellingProperties::is_correction = false

## ◆ tips

string rime::SpellingProperties::tips

## ◆ type

SpellingType rime::SpellingProperties::type = kNormalSpelling

The documentation for this struct was generated from the following files:

- spelling.h
- spelling.cc