Revision 11611
Added by Aaron Marcuse-Kubitza about 11 years ago
inputs/.TNRS/schema.sql | ||
---|---|---|
113 | 113 |
ELSE NULL -- ambiguous |
114 | 114 |
END) |
115 | 115 |
END); |
116 |
/* exclude homonyms because these are not valid matches (i.e. TNRS provides |
|
117 |
a name, but the name is not meaningful because it is not unambiguous) */ |
|
116 | 118 |
new.is_valid_match = COALESCE("TNRS".score_ok(new."Max_score"), false) |
117 | 119 |
AND COALESCE(new."Is_plant", false); |
118 | 120 |
|
Also available in: Unified diff
bugfix: inputs/.TNRS/schema.sql: tnrs_populate_fields(): is_valid_match: documented that this excludes homonyms because these are not valid matches (i.e. TNRS provides a name, but the name is not meaningful because it is not unambiguous)