Revision 5169
Added by Aaron Marcuse-Kubitza about 12 years ago
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
tnrs.py: encode_map: Added × (times), which TNRS replaces with x