Project

General

Profile

« Previous | Next » 

Revision 7474

mappings/Makefile: VegCore.csv: Removed synonyms and ambiguous terms, since the canonicalization of them is handled by Veg+-VegCore.csv. This also reduces the time it takes canon to build the in-memory Python dict of replacements, which scales to all inputs and should speed up the build/test command.

View differences:

Makefile
28 28
	php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@
29 29

  
30 30
VegCore.csv: VegCore.htm
31
	(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a href="#[^>]+>(\??([a-z]|[A-Z]{2})[^<]*).*$$/\1/p')\
31
	(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a href="#[^>]+>(([a-z]|[A-Z]{2})[^<]*).*$$/\1/p')\
32 32
<$< >$@
33 33

  
34 34
Veg+-VegCore.csv: VegCore.htm

Also available in: Unified diff