Added wrapper classes for spell checker so new libraries can be added
This commit is contained in:
@@ -18,4 +18,24 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
class NWSpellCheck():
|
||||
|
||||
theDict = None
|
||||
|
||||
def __init__(self):
|
||||
return
|
||||
|
||||
def setLanguage(self, theLang, projectDict=None):
|
||||
return
|
||||
|
||||
def checkWord(self, theWord):
|
||||
return True
|
||||
|
||||
def suggestWords(self, theWord):
|
||||
return []
|
||||
|
||||
def addWord(self, newWord):
|
||||
return
|
||||
|
||||
def listDictionaries(self):
|
||||
return []
|
||||
|
||||
# END Class NWSpellCheck
|
||||
|
||||
Reference in New Issue
Block a user