Project

General

Profile

« Previous | Next » 

Revision 5165

tnrs.py: encode_map: Added '_', which TNRS replaces with space

View differences:

tnrs.py
74 74
    ('&', ' !amp '),
75 75
    (';', ' !sem '),
76 76
    ('\\', ' !bsl '),
77
    ('_', ' !und '), # TNRS replaces with " "
77 78
]
78 79
decode_map = strings.flip_map(encode_map)
79 80
decode_map.append((padding, ''))

Also available in: Unified diff