Grammalecte  Check-in [c76919a14a]

Overview
Comment:[graphspell] echo() update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | graphspell | rg
Files: files | file ages | folders
SHA3-256: c76919a14a7274dc690429b4330e12e0653a494a624de14d6c9f4cd49dfacc4f
User & Date: olr on 2018-09-04 11:58:04
Other Links: branch diff | manifest | tags
Context
2018-09-05
07:10
[fr] ajustements check-in: 16deb93a42 user: olr tags: fr, rg
2018-09-04
11:58
[graphspell] echo() update check-in: c76919a14a user: olr tags: graphspell, rg
11:56
[fr] inutile de rajouter des espaces avec le processeur de texte check-in: fd865aeae0 user: olr tags: fr, rg
Changes

Modified graphspell/echo.py from [440b1511e9] to [12e48b665e].

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Windows console don’t accept many characters.
"""

import sys


_CHARMAP = str.maketrans({  'œ': 'ö',  'Œ': 'Ö',  'ʳ': "r",  'ᵉ': "e",  '…': "_",  \
                            '“': '"',  '”': '"',  '„': '"',  '‘': "'",  '’': "'",  \
                            'ā': 'â',  'Ā': 'Â',  'ē': 'ê',  'Ē': 'Ê',  'ī': 'î',  'Ī': 'Î',  \
                            'ō': 'ô',  'Ō': 'Ô',  'ū': 'û',  'Ū': 'Û',  'Ÿ': 'Y',  \
                            'ś': 's',  'ŝ': 's',  \
                            '—': '-',  '–': '-'
                         })








|







6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Windows console don’t accept many characters.
"""

import sys


_CHARMAP = str.maketrans({  'œ': 'ö',  'Œ': 'Ö',  'ʳ': "r",  'ᵉ': "e",  'ˢ': "s",  'ᵈ': "d", '…': "_",  \
                            '“': '"',  '”': '"',  '„': '"',  '‘': "'",  '’': "'",  \
                            'ā': 'â',  'Ā': 'Â',  'ē': 'ê',  'Ē': 'Ê',  'ī': 'î',  'Ī': 'Î',  \
                            'ō': 'ô',  'Ō': 'Ô',  'ū': 'û',  'Ū': 'Û',  'Ÿ': 'Y',  \
                            'ś': 's',  'ŝ': 's',  \
                            '—': '-',  '–': '-'
                         })