Project

General

Profile

Task #636

Updated by Aaron Marcuse-Kubitza about 7 years ago

* names like @"Acer rubrum"@ (_with_ quotes) currently get encoded as @ !quo Acer rubrum !quo @, which TNRS can't parse (but will at least pass through verbatim) 
 * unfortunately, the encoding/decoding is required in order to make TNRS's @Name_submitted@ match the actual submitted name 
 ** otherwise, some input names would not be entered verbatim in the TNRS cache, causing them to be repeatedly re-scrubbed 

 * fixing this requires matching TNRS output names to input names by @Name_number@ instead of @Name_submitted@, to avoid relying on @Name_submitted@ 
 ** in this case, @Name_submitted@ would instead contain a TNRS-preprocessed version of the input name, rather than the exact encoded input name 
 ** some characters would no longer need to be encoded, because it will be OK for TNRS to strip them out 
 ** however, some characters break TNRS completely, so those will still need to be encoded or stripped out in advance 

 * see "@lib/tnrs.py@":http://vegbiendev.nceas.ucsb.edu/fs/lib/tnrs.py "@lib/tnrs.py@":http://vegpath.org/fs/lib/tnrs.py > @encode_map@

Back