spell_check/spell_annotation library
Classes
- SpellAnnotation
- An annotation representing a single spell-check error in the document. It maps to a span of text within a specific fragment.
- SpellCheckState
- Holds the current spell-check annotations for the entire document. Organized as a map from nodeId (paragraph id) to a list of annotations.