You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codestring`path:"code" minLength:"1" description:"Dictionary code to use for spellchecking."`
25
+
Textstring`json:"text" description:"Input text to be checked and corrected."`
26
+
Limitint`json:"limit" default:"5" description:"Maximum number of suggestions to return per word."`
27
+
MaxErrorsint`json:"maxErrors" default:"2" description:"Maximum number of bit-level differences allowed between the input word and a dictionary word. Examples: deletion=1 bit (proble→problem), insertion=1 bit (problemm→problem), substitution=2 bits (problam→problem), transposition=0 bits (problme→problem). Not recommended to set higher than 2, as it can impact performance."`
SimilarityThresholdfloat64`json:"similarityThreshold" minimum:"0" maximum:"1" description:"Required similarity ratio between input word and candidate suggestion (0.0–1.0). Example: 0.6 = candidate must be at least 60% similar to input."`
0 commit comments