Project

General

Profile

« Previous | Next » 

Revision 5169

tnrs.py: encode_map: Added × (times), which TNRS replaces with x

View differences:

tnrs.py
1
# TNRS
1
# TNRS
2 2

  
3 3
import re
4 4
import sys
......
76 76
    (';', ' !sem '), # changes TNRS response format
77 77
    ('\\', ' !bsl '), # TNRS removes it
78 78
    ('_', ' !und '), # TNRS replaces with " "
79
    ('×', ' !mul '), # TNRS replaces with "x"
79 80
]
80 81
decode_map = strings.flip_map(encode_map)
81 82
decode_map.append((padding, ''))

Also available in: Unified diff