# Functions
CheckIgnore returns true if the word is found in the Ignore list.
CheckLexLine returns the Lex regions for any words that are misspelled within given line of text with existing Lex tags -- automatically excludes any Code token regions (see token.IsCode).
CheckWord checks a single word and returns suggestions if word is unknown.
Complete finds possible completions based on the prefix s.
Edits1 creates a set of terms that are 1 char delete from the input term.
FromReader loads a model from a Reader.
IgnoreWord adds the word to the Ignore list.
Initialized returns true if the model has been loaded or created anew.
LearnWord adds a single word to the corpus: this is deterministic and we set the threshold to 1 to make it learn it immediately.
Calculate the Levenshtein distance between two strings.
Load a saved model from disk.
ModTime returns the modification time of given file path.
Create and initialise a new model.
Open loads the saved model stored in json format.
OpenCheck checks if the current file has been modified since last open time and re-opens it if so -- call this prior to checking.
OpenDefault loads the default spelling file.
OpenEmbed loads json-formatted model from embedded data.
No description provided by the author
No description provided by the author
Save saves the spelling model which includes the data and parameters note: this will overwrite any existing file -- be sure to have opened the current file before making any changes.
SaveIfLearn saves the spelling model to file path that was used in last Open command, if learning has occurred since last save / open.
Train trains the model based on a text file.
UnLearnWord removes word from dictionary -- in case accidentally added.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SaveAfterLearnIntervalSecs is number of seconds since file has been opened / saved above which model is saved after learning.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Type aliases
No description provided by the author