Overview
| Comment: | [graphspell] char_player: don’t remove double <e> in simplifyWord |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | graphspell |
| Files: | files | file ages | folders |
| SHA3-256: |
496180aadf8ac29acfcca49aec48603e |
| User & Date: | olr on 2018-06-09 13:30:24 |
| Other Links: | manifest | tags |
Context
|
2018-06-10
| ||
| 09:49 | [fx] gc panel ui, tooltip: action block under suggestions block check-in: c6a845b16f user: olr tags: trunk, fx | |
|
2018-06-09
| ||
| 13:30 | [graphspell] char_player: don’t remove double <e> in simplifyWord check-in: 496180aadf user: olr tags: trunk, graphspell | |
| 13:25 | [graphspell][js] char_player: simplifyWord -> code clarification check-in: 0d6362e947 user: olr tags: trunk, graphspell | |
Changes
Modified graphspell-js/char_player.js from [ee4109e576] to [626d7d161b].
| ︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - + - + |
['œ', 'oe'], ['æ', 'ae'],
['ſ', 's'], ['ffi', 'ffi'], ['ffl', 'ffl'], ['ff', 'ff'], ['ſt', 'ft'], ['fi', 'fi'], ['fl', 'fl'], ['st', 'st']
]),
simplifyWord: function (sWord) {
// word simplication before calculating distance between words
sWord = sWord.toLowerCase();
|
| ︙ |
Modified graphspell/char_player.py from [73eee3ee03] to [0a316c953c].
| ︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + |
})
def simplifyWord (sWord):
"word simplication before calculating distance between words"
sWord = sWord.lower().translate(_xTransCharsForSimplification)
sNewWord = ""
for i, c in enumerate(sWord, 1):
|
| ︙ |