Project

General

Profile

« Previous | Next » 

Revision 7459

mappings/Makefile: Veg+-VegCore.csv: Before running collapse_multimap, canonicalize alternatives of ambiguous terms using unambiguous mappings. This ensures that the alternatives lists contain only canonical VegCore terms rather than synonyms.

View differences:

Makefile
3 3

  
4 4
##### Vars/functions
5 5

  
6
# Make
7
SHELL := /bin/bash
8

  
6 9
# Paths
7 10
bin := ../bin
8 11
inputCoreMaps := Veg+-VegCore.csv VegCore-VegBIEN.csv VegX-VegCore.csv
......
28 31
<$< >$@
29 32

  
30 33
#Veg+-VegCore.csv: VegCore.htm
31
#	(echo "Veg+,VegCore"; $(bin)/redmine_synonyms|$(bin)/collapse_multimap)\
32
#<$< >$@
34
#	(echo "Veg+,VegCore"; $(bin)/redmine_synonyms) <$< >$@
35
#	# Canonicalize alternatives of ambiguous terms using unambiguous mappings
36
#	$(bin)/in_place $@ $(bin)/translate 1 <(grep -vE '^\?' $(dict))
37
#	$(bin)/in_place $@ $(bin)/collapse_multimap
38
#	# Replace ambiguous terms with alternatives lists
33 39
#	$(bin)/in_place $@ $(bin)/translate 1 $(dict)
34 40

  
35 41
VegCore.tables.csv: VegCore.htm

Also available in: Unified diff