Revision 6807
Added by Aaron Marcuse-Kubitza almost 12 years ago
input.Makefile | ||
---|---|---|
345 | 345 |
$(newTerms) |
346 | 346 |
$(bin)/autoremove $@ |
347 | 347 |
newTerms = tail -n +2 $<|$(bin)/filter_out_ci 0 $(vocab)|$(bin)/filter_out_ci 0\ |
348 |
$(dict) $(if $(wildcard $(word 4,$+)),|$(bin)/filter_out_ci 0 $(word 4,$+))\
|
|
348 |
$(dict) $(if $(wildcard $(word 4,$+)),|$(bin)/filter_out_ci 1 $(word 4,$+))\
|
|
349 | 349 |
|grep -vE '^"?:' >$@; exit 0# because grep exits nonzero if no match |
350 | 350 |
|
351 | 351 |
termsSubdirs := $(importTables) |
Also available in: Unified diff
input.Makefile: Maps validation: %/new_terms.csv: Fixed bug where need to filter unmapped_terms.csv's terms out of the output column, not the input column, because that's what the unmapped terms are generated from. Usually these columns are the same for unmapped terms, but sometimes an output term is changed from the original column's name but still doesn't match a VegCore term in mappings/VegCore-VegBIEN.csv.