Matthew Franglen commited on
Commit
28c203a
1 Parent(s): a93d1d7

Add targets for restaurant 2016

Browse files
Files changed (1) hide show
  1. Makefile +40 -1
Makefile CHANGED
@@ -32,7 +32,13 @@ data : \
32
  data/2015/restaurant/aste/valid.gz.parquet \
33
  data/2015/restaurant/sem-eval/test.gz.parquet \
34
  data/2015/restaurant/sem-eval/train.gz.parquet \
35
- data/2015/restaurant/sem-eval/valid.gz.parquet
 
 
 
 
 
 
36
 
37
 
38
  data/2014/laptop/aste/train.gz.parquet : .make/requirements
@@ -137,6 +143,39 @@ data/2015/restaurant/sem-eval/test.gz.parquet : .make/requirements
137
  --output-file $@
138
 
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
 
141
  ## Install Python Dependencies
142
  requirements : .make/requirements
 
32
  data/2015/restaurant/aste/valid.gz.parquet \
33
  data/2015/restaurant/sem-eval/test.gz.parquet \
34
  data/2015/restaurant/sem-eval/train.gz.parquet \
35
+ data/2015/restaurant/sem-eval/valid.gz.parquet \
36
+ data/2016/restaurant/aste/train.gz.parquet \
37
+ data/2016/restaurant/aste/valid.gz.parquet \
38
+ data/2016/restaurant/aste/test.gz.parquet \
39
+ data/2016/restaurant/sem-eval/train.gz.parquet \
40
+ data/2016/restaurant/sem-eval/valid.gz.parquet \
41
+ data/2016/restaurant/sem-eval/test.gz.parquet
42
 
43
 
44
  data/2014/laptop/aste/train.gz.parquet : .make/requirements
 
143
  --output-file $@
144
 
145
 
146
+ data/2016/restaurant/aste/train.gz.parquet : .make/requirements
147
+ poetry run python -m src.main aste \
148
+ --aste-file data/raw/aspect-sentiment-triplet-extraction/restaurant-2016/train_triplets.txt \
149
+ --output-file $@
150
+
151
+ data/2016/restaurant/aste/valid.gz.parquet : .make/requirements
152
+ poetry run python -m src.main aste \
153
+ --aste-file data/raw/aspect-sentiment-triplet-extraction/restaurant-2016/dev_triplets.txt \
154
+ --output-file $@
155
+
156
+ data/2016/restaurant/aste/test.gz.parquet : .make/requirements
157
+ poetry run python -m src.main aste \
158
+ --aste-file data/raw/aspect-sentiment-triplet-extraction/restaurant-2016/test_triplets.txt \
159
+ --output-file $@
160
+
161
+ data/2016/restaurant/sem-eval/train.gz.parquet : .make/requirements
162
+ poetry run python -m src.main sem-eval \
163
+ --aste-file data/raw/aspect-sentiment-triplet-extraction/restaurant-2016/train_triplets.txt \
164
+ --sem-eval-file data/raw/sem-eval/2016/ABSA16_Restaurants_Train_SB1_v2.xml \
165
+ --output-file $@
166
+
167
+ data/2016/restaurant/sem-eval/valid.gz.parquet : .make/requirements
168
+ poetry run python -m src.main sem-eval \
169
+ --aste-file data/raw/aspect-sentiment-triplet-extraction/restaurant-2016/dev_triplets.txt \
170
+ --sem-eval-file data/raw/sem-eval/2016/ABSA16_Restaurants_Train_SB1_v2.xml \
171
+ --output-file $@
172
+
173
+ data/2016/restaurant/sem-eval/test.gz.parquet : .make/requirements
174
+ poetry run python -m src.main sem-eval \
175
+ --aste-file data/raw/aspect-sentiment-triplet-extraction/restaurant-2016/test_triplets.txt \
176
+ --sem-eval-file data/raw/sem-eval/2016/EN_REST_SB1_TEST.xml.gold \
177
+ --output-file $@
178
+
179
 
180
  ## Install Python Dependencies
181
  requirements : .make/requirements