Overview
| Comment: | [graphspell][py] remove deprecated code | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | graphspell | 
| Files: | files | file ages | folders | 
| SHA3-256: | 37ac74a3bb8e7f3c9984f0b8801c0e63 | 
| User & Date: | olr on 2020-05-28 17:28:06 | 
| Other Links: | manifest | tags | 
Context
| 2020-05-30 | ||
| 17:00 | [fr] merge dicfac branch: dictionary update and new affixation rules check-in: 33eba8eb3d user: olr tags: trunk, fr | |
| 2020-05-28 | ||
| 18:21 | merge trunk check-in: 3ebde2f15f user: olr tags: dicfac | |
| 17:28 | [graphspell][py] remove deprecated code check-in: 37ac74a3bb user: olr tags: trunk, graphspell | |
| 15:20 | [graphspell] suggestions: end of experiment -> aborted, too slow check-in: 4cd155b03e user: olr tags: trunk, graphspell | |
Changes
Modified graphspell/ibdawg.py from [b622d0fc42] to [db890a0452].
| ︙ | ︙ | |||
| 385 386 387 388 389 390 391 | 
        "returns True if sChars in known 2grams"
        if len(sChars) != 2:
            return True
        if not self.a2grams:
            return True
        return sChars in self.a2grams
 | < < < < < < < < < < < < < < < < < < < < < < < < < < | 385 386 387 388 389 390 391 392 393 394 395 396 397 398 | 
        "returns True if sChars in known 2grams"
        if len(sChars) != 2:
            return True
        if not self.a2grams:
            return True
        return sChars in self.a2grams
    def _getCharArcs (self, iAddr):
        "generator: yield all chars and addresses from node at address <iAddr>"
        for nVal, jAddr in self._getArcs(iAddr):
            if nVal <= self.nChar:
                yield (self.dCharVal[nVal], jAddr)
    def _getTails (self, iAddr, sTail="", n=2):
 | 
| ︙ | ︙ |