models

package
v1.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpellCheck

type SpellCheck struct {
	OriginalText        string             `json:"originalText,omitempty"`
	DidYouMean          string             `json:"didYouMean,omitempty"`
	Location            string             `json:"location,omitempty"`
	NumberOfCorrections int                `json:"numberOfCorrections,omitempty"`
	Changes             []SpellCheckChange `json:"changes,omitempty"`
}

SpellCheck presents proper text without misspellings and the list of words that were misspelled

type SpellCheckChange

type SpellCheckChange struct {
	Original  string `json:"original,omitempty"`
	Corrected string `json:"corrected,omitempty"`
}

SpellCheckChange describes the misspellings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL