Added wrapper classes for spell checker so new libraries can be added

This commit is contained in:
Veronica K. B. Olsen
2019-06-11 20:27:29 +02:00
parent 3c2864f161
commit c48b1deb8f
10 changed files with 113 additions and 21 deletions
+20
View File
@@ -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