SpellChecker class¶
(Shortest import: from brian2.utils.stringtools import SpellChecker)
- class brian2.utils.stringtools.SpellChecker(words, alphabet='abcdefghijklmnopqrstuvwxyz0123456789_')[source]¶
Bases:
objectA simple spell checker that will be used to suggest the correct name if the user made a typo (e.g. for state variable names).
Methods
edits1(word)known(words)known_edits2(word)suggest(word)Details