Differences From Artifact [c0bbecd002]:
- File graphspell/dawg.py — part of check-in [23fcc016ee] at 2019-05-11 14:34:36 on branch trunk — [graphspell] code cleaning (pylint) (user: olr, size: 43034) [annotate] [blame] [check-ins using]
To Artifact [b60434a390]:
- File graphspell/dawg.py — part of check-in [c2f4d1d4ee] at 2019-05-12 10:00:47 on branch trunk — [graphspell] code cleaning (pylint) (user: olr, size: 43182) [annotate] [blame] [check-ins using]
| ︙ | |||
155 156 157 158 159 160 161 162 163 164 165 166 167 168 | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | + + + + + + |
if cStemming == "A":
self.funcStemming = st.changeWordWithAffixCode
elif cStemming == "S":
self.funcStemming = st.changeWordWithSuffixCode
else:
self.funcStemming = st.noStemming
# calculated later
self.nBytesNodeAddress = 1
self.nBytesArc = 0
self.nBytesOffset = 0
self.nMaxOffset = 0
# build
lWord.sort()
oProgBar = ProgressBar(0, len(lWord))
for aEntry in lWord:
self.insert(aEntry)
oProgBar.increment(1)
oProgBar.done()
|
| ︙ |