63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
self.oMainDic = self._loadDictionary(source, True)
return bool(self.oMainDic)
def setExtendedDictionary (self, source, bActivate=True):
"returns True if the dictionary is loaded"
self.oExtendedDic = self._loadDictionary(source)
self.bExtendedDic = False if not bActivate else bool(self.oExtendedDic)
return self.bExtendedDic
def setCommunityDictionary (self, source, bActivate=True):
"returns True if the dictionary is loaded"
self.oCommunityDic = self._loadDictionary(source)
self.bCommunityDic = False if not bActivate else bool(self.oCommunityDic)
return self.bCommunityDic
def setPersonalDictionary (self, source, bActivate=True):
"returns True if the dictionary is loaded"
self.oPersonalDic = self._loadDictionary(source)
self.bPersonalDic = False if not bActivate else bool(self.oPersonalDic)
return self.bPersonalDic
def activateExtendedDictionary (self):
self.bExtendedDic = bool(self.oExtendedDic)
def activateCommunityDictionary (self):
self.bCommunityDic = bool(self.oCommunityDic)
|
|
|
|
|
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
self.oMainDic = self._loadDictionary(source, True)
return bool(self.oMainDic)
def setExtendedDictionary (self, source, bActivate=True):
"returns True if the dictionary is loaded"
self.oExtendedDic = self._loadDictionary(source)
self.bExtendedDic = False if not bActivate else bool(self.oExtendedDic)
return bool(self.oExtendedDic)
def setCommunityDictionary (self, source, bActivate=True):
"returns True if the dictionary is loaded"
self.oCommunityDic = self._loadDictionary(source)
self.bCommunityDic = False if not bActivate else bool(self.oCommunityDic)
return bool(self.oCommunityDic)
def setPersonalDictionary (self, source, bActivate=True):
"returns True if the dictionary is loaded"
self.oPersonalDic = self._loadDictionary(source)
self.bPersonalDic = False if not bActivate else bool(self.oPersonalDic)
return bool(self.oPersonalDic)
def activateExtendedDictionary (self):
self.bExtendedDic = bool(self.oExtendedDic)
def activateCommunityDictionary (self):
self.bCommunityDic = bool(self.oCommunityDic)
|