namespace mozc.spelling;

table CorrectionData {
  begin: uint8;  // the start position of underlined span in utf8
  size: uint8;   // utf8 byte length of the span.
  target: string (required);   // target string
  score: float;   // arbitrary confidence score.
}

table RulebasedSpellCheckerData {
  trie_index: [ubyte] (force_align: 8, required);
  corrections: [CorrectionData] (required);
}

root_type RulebasedSpellCheckerData;
file_identifier "RUSP";
