Overview
| Comment: | [graphspell] code cleaning (pylint) | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | graphspell | 
| Files: | files | file ages | folders | 
| SHA3-256: | c2f4d1d4ee934598dd299df38dc8eb45 | 
| User & Date: | olr on 2019-05-12 10:00:47 | 
| Other Links: | manifest | tags | 
Context
| 2019-05-12 | ||
| 10:01 | [core][fr] code cleaning (pylint) check-in: 63b8e1b23a user: olr tags: trunk, fr, core | |
| 10:00 | [graphspell] code cleaning (pylint) check-in: c2f4d1d4ee user: olr tags: trunk, graphspell | |
| 2019-05-11 | ||
| 18:50 | [core][fr] code cleaning (pylint) check-in: 16611cf664 user: olr tags: trunk, fr, core | |
Changes
Modified graphspell/dawg.py from [c0bbecd002] to [b60434a390].
| ︙ | ︙ | |||
| 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | 
        if cStemming == "A":
            self.funcStemming = st.changeWordWithAffixCode
        elif cStemming == "S":
            self.funcStemming = st.changeWordWithSuffixCode
        else:
            self.funcStemming = st.noStemming
        # build
        lWord.sort()
        oProgBar = ProgressBar(0, len(lWord))
        for aEntry in lWord:
            self.insert(aEntry)
            oProgBar.increment(1)
        oProgBar.done()
 | > > > > > > | 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()
 | 
| ︙ | ︙ |