|
42 | 42 | "outputs": ["<(output_prefix)TSPhrases.ocd2"], |
43 | 43 | "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
44 | 44 | }, { |
45 | | - "action_name": "TWVariants", |
| 45 | + "action_name": "CNVocabulary.txt", |
| 46 | + "inputs": ["<(cmd)"], |
| 47 | + "outputs": ["<(output_prefix)CNVocabulary.txt"], |
| 48 | + "action": ["python", "<(dict_merge)", "<(input_prefix)CNVocabToponym.txt", "<(input_prefix)CNVocabSciTech.txt", "<(input_prefix)CNVocabOthers.txt", "<@(_outputs)"] |
| 49 | + }, { |
| 50 | + "action_name": "CNVocabulary", |
46 | 51 | "variables": { |
47 | | - "input": "<(input_prefix)TWVariants.txt", |
| 52 | + "input": "<(output_prefix)CNVocabulary.txt", |
48 | 53 | }, |
49 | 54 | "inputs": ["<(input)"], |
50 | | - "outputs": ["<(output_prefix)TWVariants.ocd2"], |
| 55 | + "outputs": ["<(output_prefix)CNVocabulary.ocd2"], |
51 | 56 | "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
52 | 57 | }, { |
53 | | - "action_name": "TWVariantsRevPhrases", |
| 58 | + "action_name": "HKVocabulary.txt", |
| 59 | + "inputs": ["<(cmd)"], |
| 60 | + "outputs": ["<(output_prefix)HKVocabulary.txt"], |
| 61 | + "action": ["python", "<(dict_merge)", "<(input_prefix)HKVocabToponym.txt", "<(input_prefix)HKVocabSciTech.txt", "<(input_prefix)HKVocabOthers.txt", "<@(_outputs)"] |
| 62 | + }, { |
| 63 | + "action_name": "HKVocabulary", |
54 | 64 | "variables": { |
55 | | - "input": "<(input_prefix)TWVariantsRevPhrases.txt", |
| 65 | + "input": "<(output_prefix)HKVocabulary.txt", |
56 | 66 | }, |
57 | 67 | "inputs": ["<(input)"], |
58 | | - "outputs": ["<(output_prefix)TWVariantsRevPhrases.ocd2"], |
| 68 | + "outputs": ["<(output_prefix)HKVocabulary.ocd2"], |
59 | 69 | "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
60 | 70 | }, { |
61 | | - "action_name": "JPVariants", |
| 71 | + "action_name": "MOVocabulary.txt", |
| 72 | + "inputs": ["<(cmd)"], |
| 73 | + "outputs": ["<(output_prefix)MOVocabulary.txt"], |
| 74 | + "action": ["python", "<(dict_merge)", "<(input_prefix)MOVocabToponym.txt", "<(input_prefix)MOVocabSciTech.txt", "<(input_prefix)MOVocabOthers.txt", "<@(_outputs)"] |
| 75 | + }, { |
| 76 | + "action_name": "MOVocabulary", |
62 | 77 | "variables": { |
63 | | - "input": "<(input_prefix)JPVariants.txt", |
| 78 | + "input": "<(output_prefix)MOVocabulary.txt", |
64 | 79 | }, |
65 | 80 | "inputs": ["<(input)"], |
66 | | - "outputs": ["<(output_prefix)JPVariants.ocd2"], |
| 81 | + "outputs": ["<(output_prefix)MOVocabulary.ocd2"], |
67 | 82 | "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
68 | 83 | }, { |
69 | | - "action_name": "TWPhrases.txt", |
| 84 | + "action_name": "MYVocabulary.txt", |
70 | 85 | "inputs": ["<(cmd)"], |
71 | | - "outputs": ["<(output_prefix)TWPhrases.txt"], |
72 | | - "action": ["python", "<(dict_merge)", "<(input_prefix)TWPhrasesIT.txt", "<(input_prefix)TWPhrasesName.txt", "<(input_prefix)TWPhrasesOther.txt", "<@(_outputs)"] |
| 86 | + "outputs": ["<(output_prefix)MYVocabulary.txt"], |
| 87 | + "action": ["python", "<(dict_merge)", "<(input_prefix)MYVocabToponym.txt", "<(input_prefix)MYVocabSciTech.txt", "<(input_prefix)MYVocabOthers.txt", "<@(_outputs)"] |
73 | 88 | }, { |
74 | | - "action_name": "TWVariantsRev.txt", |
| 89 | + "action_name": "MYVocabulary", |
75 | 90 | "variables": { |
76 | | - "input": "<(input_prefix)TWVariants.txt", |
| 91 | + "input": "<(output_prefix)MYVocabulary.txt", |
77 | 92 | }, |
78 | 93 | "inputs": ["<(input)"], |
79 | | - "outputs": ["<(output_prefix)TWVariantsRev.txt"], |
80 | | - "action": ["python", "<(dict_reverse)", "<(input)", "<@(_outputs)"] |
| 94 | + "outputs": ["<(output_prefix)MYVocabulary.ocd2"], |
| 95 | + "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
| 96 | + }, { |
| 97 | + "action_name": "SGVocabulary.txt", |
| 98 | + "inputs": ["<(cmd)"], |
| 99 | + "outputs": ["<(output_prefix)SGVocabulary.txt"], |
| 100 | + "action": ["python", "<(dict_merge)", "<(input_prefix)SGVocabToponym.txt", "<(input_prefix)SGVocabSciTech.txt", "<(input_prefix)SGVocabOthers.txt", "<@(_outputs)"] |
81 | 101 | }, { |
82 | | - "action_name": "TWPhrasesRev.txt", |
| 102 | + "action_name": "SGVocabulary", |
83 | 103 | "variables": { |
84 | | - "input": "<(output_prefix)TWPhrases.txt", |
| 104 | + "input": "<(output_prefix)SGVocabulary.txt", |
85 | 105 | }, |
86 | 106 | "inputs": ["<(input)"], |
87 | | - "outputs": ["<(output_prefix)TWPhrasesRev.txt"], |
88 | | - "action": ["python", "<(dict_reverse)", "<(input)", "<@(_outputs)"] |
| 107 | + "outputs": ["<(output_prefix)SGVocabulary.ocd2"], |
| 108 | + "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
| 109 | + }, { |
| 110 | + "action_name": "TWVocabulary.txt", |
| 111 | + "inputs": ["<(cmd)"], |
| 112 | + "outputs": ["<(output_prefix)TWVocabulary.txt"], |
| 113 | + "action": ["python", "<(dict_merge)", "<(input_prefix)TWVocabToponym.txt", "<(input_prefix)TWVocabSciTech.txt", "<(input_prefix)TWVocabOthers.txt", "<@(_outputs)"] |
89 | 114 | }, { |
90 | | - "action_name": "TWPhrases", |
| 115 | + "action_name": "TWVocabulary", |
91 | 116 | "variables": { |
92 | | - "input": "<(output_prefix)TWPhrases.txt", |
| 117 | + "input": "<(output_prefix)TWVocabulary.txt", |
93 | 118 | }, |
94 | 119 | "inputs": ["<(input)"], |
95 | | - "outputs": ["<(output_prefix)TWPhrases.ocd2"], |
| 120 | + "outputs": ["<(output_prefix)TWVocabulary.ocd2"], |
96 | 121 | "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
97 | 122 | }, { |
98 | | - "action_name": "TWVariantsRev", |
| 123 | + "action_name": "TWVariants", |
99 | 124 | "variables": { |
100 | | - "input": "<(output_prefix)TWVariantsRev.txt", |
| 125 | + "input": "<(input_prefix)TWVariants.txt", |
101 | 126 | }, |
102 | 127 | "inputs": ["<(input)"], |
103 | | - "outputs": ["<(output_prefix)TWVariantsRev.ocd2"], |
| 128 | + "outputs": ["<(output_prefix)TWVariants.ocd2"], |
104 | 129 | "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
105 | 130 | }, { |
106 | | - "action_name": "TWPhrasesRev", |
| 131 | + "action_name": "TWVariantsRevPhrases", |
107 | 132 | "variables": { |
108 | | - "input": "<(output_prefix)TWPhrasesRev.txt", |
| 133 | + "input": "<(input_prefix)TWVariantsRevPhrases.txt", |
109 | 134 | }, |
110 | 135 | "inputs": ["<(input)"], |
111 | | - "outputs": ["<(output_prefix)TWPhrasesRev.ocd2"], |
| 136 | + "outputs": ["<(output_prefix)TWVariantsRevPhrases.ocd2"], |
| 137 | + "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
| 138 | + }, { |
| 139 | + "action_name": "JPVariants", |
| 140 | + "variables": { |
| 141 | + "input": "<(input_prefix)JPVariants.txt", |
| 142 | + }, |
| 143 | + "inputs": ["<(input)"], |
| 144 | + "outputs": ["<(output_prefix)JPVariants.ocd2"], |
| 145 | + "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
| 146 | + }, { |
| 147 | + "action_name": "TWVariantsRev.txt", |
| 148 | + "variables": { |
| 149 | + "input": "<(input_prefix)TWVariants.txt", |
| 150 | + }, |
| 151 | + "inputs": ["<(input)"], |
| 152 | + "outputs": ["<(output_prefix)TWVariantsRev.txt"], |
| 153 | + "action": ["python", "<(dict_reverse)", "<(input)", "<@(_outputs)"] |
| 154 | + }, { |
| 155 | + "action_name": "TWVariantsRev", |
| 156 | + "variables": { |
| 157 | + "input": "<(output_prefix)TWVariantsRev.txt", |
| 158 | + }, |
| 159 | + "inputs": ["<(input)"], |
| 160 | + "outputs": ["<(output_prefix)TWVariantsRev.ocd2"], |
112 | 161 | "action": ["node", "<(cmd)", "<(input)", "<@(_outputs)"] |
113 | 162 | }, { |
114 | 163 | "action_name": "HKVariants", |
|
0 commit comments