Index: graphspell/dawg.py ================================================================== --- graphspell/dawg.py +++ graphspell/dawg.py @@ -157,10 +157,16 @@ 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)