Project

General

Profile

« Previous | Next » 

Revision 5168

tnrs.py: encode_map: Added " and ', which TNRS removes when at the beginning or end

View differences:

tnrs.py
70 70
    ('\t', ' !tab '), # TNRS replaces with " "
71 71
    ('\n', ' !nl '), # used to separate multiple names
72 72
    ('\r', ' !cr '), # used to separate multiple names
73
    ('"', ' !quo '), # TNRS removes it when at the beginning or end
73 74
    ('%', ' !pct '), # TNRS URL-decodes it in matched fields
75
    ("'", ' !apo '), # TNRS removes it when at the beginning or end
74 76
    (';', ' !sem '), # changes TNRS response format
75 77
    ('\\', ' !bsl '), # TNRS removes it
76 78
    ('_', ' !und '), # TNRS replaces with " "

Also available in: Unified diff