JP-SystemsX
commited on
Commit
•
7af7df3
1
Parent(s):
20e31f0
Revert "Simplified super_eurlex.py by outsourcing constants"
Browse filesThis reverts commit 20e31f0e8d2aa1ff2cc8f114343b94b0b91c3323.
- .gitignore +0 -1
- constants.py +0 -299
- super_eurlex.py +302 -2
.gitignore
CHANGED
@@ -4,4 +4,3 @@ requirements.txt
|
|
4 |
parquet_converter.py
|
5 |
text_data3/
|
6 |
meta_data3/
|
7 |
-
*.pyc
|
|
|
4 |
parquet_converter.py
|
5 |
text_data3/
|
6 |
meta_data3/
|
|
constants.py
DELETED
@@ -1,299 +0,0 @@
|
|
1 |
-
import datasets
|
2 |
-
|
3 |
-
# TODO: Add BibTeX citation
|
4 |
-
# Find for instance the citation on arxiv or on the dataset repo/website
|
5 |
-
_CITATION = """ """
|
6 |
-
|
7 |
-
# TODO: Add description of the dataset here
|
8 |
-
# You can copy an official description
|
9 |
-
_DESCRIPTION = """ """
|
10 |
-
|
11 |
-
# TODO: Add a link to an official homepage for the dataset here
|
12 |
-
_HOMEPAGE = ""
|
13 |
-
|
14 |
-
# TODO: Add the licence for the dataset here if you can find it
|
15 |
-
_LICENSE = ""
|
16 |
-
|
17 |
-
# TODO: Add link to the official dataset URLs here
|
18 |
-
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
19 |
-
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
20 |
-
_URLS = {
|
21 |
-
"first_domain": "https://huggingface.co/great-new-dataset-first_domain.zip",
|
22 |
-
"second_domain": "https://huggingface.co/great-new-dataset-second_domain.zip",
|
23 |
-
}
|
24 |
-
AVAILABLE_LANGUAGES=['DE']#, 'EN'
|
25 |
-
SECTORS=['0', '1', '2', '3', '4', '5', '6', '8', '9', 'C', 'E']
|
26 |
-
|
27 |
-
# Features to override the standard most Features were scrapped as a sequence
|
28 |
-
# of strings with only the following exceptions
|
29 |
-
FEATURES = {
|
30 |
-
'celex_id': datasets.Value("string"),
|
31 |
-
'current_consolidated_version': datasets.Sequence(datasets.Value("string")),
|
32 |
-
'customs_duties_authorisation_to_defer_application_of_cct': datasets.Sequence(datasets.Value("string")),
|
33 |
-
'customs_duties_community_tariff_quotas': datasets.Sequence(datasets.Value("string")),
|
34 |
-
'customs_duties_suspensions': datasets.Sequence(datasets.Value("string")),
|
35 |
-
'directory_code': datasets.Sequence(datasets.Value("string")),
|
36 |
-
'eurovoc': datasets.Sequence(datasets.Value("string")),
|
37 |
-
'form': datasets.Sequence(datasets.Value("string")),
|
38 |
-
'harmonisation_of_customs_law_community_transit': datasets.Sequence(datasets.Value("string")),
|
39 |
-
'harmonisation_of_customs_law_customs_territory': datasets.Sequence(datasets.Value("string")),
|
40 |
-
'harmonisation_of_customs_law_origin_of_goods': datasets.Sequence(datasets.Value("string")),
|
41 |
-
'harmonisation_of_customs_law_value_for_customs_purposes': datasets.Sequence(datasets.Value("string")),
|
42 |
-
'harmonisation_of_customs_law_various': datasets.Sequence(datasets.Value("string")),
|
43 |
-
'subject_matter': datasets.Sequence(datasets.Value("string")),
|
44 |
-
'text_cleaned': datasets.Value("string"),
|
45 |
-
'text_html_cleaned': datasets.Value("string"),
|
46 |
-
'text_html_raw': datasets.Value("string"),
|
47 |
-
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements':datasets.Sequence(datasets.Value("string")),
|
48 |
-
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles':datasets.Sequence(datasets.Value("string")),
|
49 |
-
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing':datasets.Sequence(datasets.Value("string")),
|
50 |
-
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development':datasets.Sequence(datasets.Value("string")),
|
51 |
-
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles': datasets.Sequence(datasets.Value("string")),
|
52 |
-
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers': datasets.Sequence(datasets.Value("string")),
|
53 |
-
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors': datasets.Sequence(datasets.Value("string")),
|
54 |
-
}
|
55 |
-
FEATURES_IN_SECTOR={
|
56 |
-
'0':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form'],
|
57 |
-
'1':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form',
|
58 |
-
'subject_matter', 'current_consolidated_version',
|
59 |
-
'harmonisation_of_customs_law_community_transit', 'harmonisation_of_customs_law_customs_territory',
|
60 |
-
'harmonisation_of_customs_law_value_for_customs_purposes', 'directory_code', 'eurovoc',
|
61 |
-
'customs_duties_community_tariff_quotas', 'customs_duties_community_tariff_quotas',
|
62 |
-
'customs_duties_authorisation_to_defer_application_of_cct', 'harmonisation_of_customs_law_various',
|
63 |
-
'customs_duties_suspensions'],
|
64 |
-
'2':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned',
|
65 |
-
'harmonisation_of_customs_law_origin_of_goods', 'form', 'directory_code',
|
66 |
-
'subject_matter', 'eurovoc', 'harmonisation_of_customs_law_community_transit',
|
67 |
-
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
68 |
-
'current_consolidated_version',
|
69 |
-
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
70 |
-
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
71 |
-
'harmonisation_of_customs_law_various', 'customs_duties_community_tariff_quotas',
|
72 |
-
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
73 |
-
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
74 |
-
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
75 |
-
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
76 |
-
'cct_franchise','13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
77 |
-
'customs_duties_suspensions', 'latest_consolidated_version',
|
78 |
-
'cct_derogations',
|
79 |
-
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
80 |
-
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
81 |
-
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
82 |
-
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
83 |
-
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
84 |
-
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
85 |
-
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
86 |
-
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
87 |
-
'common_customs_tariff_temporary_importation'
|
88 |
-
],
|
89 |
-
'3':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'cct_derogations',
|
90 |
-
'directory_code', 'subject_matter','eurovoc', 'cct_franchise',
|
91 |
-
'harmonisation_of_customs_law_various', 'latest_consolidated_version',
|
92 |
-
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
93 |
-
'harmonisation_of_customs_law_community_transit',
|
94 |
-
'current_consolidated_version',
|
95 |
-
'harmonisation_of_customs_law_value_for_customs_purposes',
|
96 |
-
'harmonisation_of_customs_law_origin_of_goods',
|
97 |
-
'harmonisation_of_customs_law_inward_processing',
|
98 |
-
'common_customs_tariff_temporary_importation',
|
99 |
-
'customs_duties_suspensions',
|
100 |
-
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
101 |
-
'harmonisation_of_customs_law_warehouses,_free_zones',
|
102 |
-
'customs_duties_community_tariff_quotas',
|
103 |
-
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
104 |
-
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
105 |
-
'13.10.00.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research',
|
106 |
-
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
107 |
-
'13.20.50.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_leather,_hides,_skins_and_footwear',
|
108 |
-
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
109 |
-
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
110 |
-
'13.20.70.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_other_industrial_sectors',
|
111 |
-
'harmonisation_of_customs_law_customs_territory',
|
112 |
-
'customs_duties_authorisation_to_defer_application_of_cct',
|
113 |
-
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
114 |
-
'13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
115 |
-
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
116 |
-
'13.30.17.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_textiles',
|
117 |
-
'13.10.10.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_general',
|
118 |
-
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
119 |
-
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
120 |
-
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
121 |
-
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
122 |
-
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
123 |
-
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
124 |
-
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
125 |
-
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
126 |
-
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
127 |
-
'customs_duties_national_tariff_quotas',
|
128 |
-
'13.30.13.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_electrical_material',
|
129 |
-
'13.30.14.30_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_other_provisions',
|
130 |
-
'13.30.14.20_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_preservatives',
|
131 |
-
'customs_duties_speed-up_decisions',
|
132 |
-
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
133 |
-
'13.30.14.10_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_colouring_matters',
|
134 |
-
'13.30.00.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws',
|
135 |
-
'13.20.10.10_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_competition_prices_and_other_conditions_of_sale',
|
136 |
-
'13.30.12.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_metrology',
|
137 |
-
'12.20.20.00_energy_/_coal_/_competition_rates_and_other_conditions_of_sale',
|
138 |
-
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
139 |
-
'13.20.00.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations'
|
140 |
-
],
|
141 |
-
'4':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'eurovoc',
|
142 |
-
'subject_matter', 'current_consolidated_version', 'directory_code',
|
143 |
-
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
144 |
-
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
145 |
-
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
146 |
-
'latest_consolidated_version', 'cct_derogations',
|
147 |
-
'customs_duties_suspensions', 'customs_duties_speed-up_decisions',
|
148 |
-
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
149 |
-
'customs_duties_community_tariff_quotas',
|
150 |
-
'harmonisation_of_customs_law_origin_of_goods',
|
151 |
-
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
152 |
-
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
153 |
-
'harmonisation_of_customs_law_value_for_customs_purposes',
|
154 |
-
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
155 |
-
'harmonisation_of_customs_law_community_transit',
|
156 |
-
'harmonisation_of_customs_law_various',
|
157 |
-
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
158 |
-
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
159 |
-
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws'],
|
160 |
-
'5':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'directory_code', 'subject_matter', 'eurovoc',
|
161 |
-
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
162 |
-
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
163 |
-
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
164 |
-
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
165 |
-
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
166 |
-
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
167 |
-
'13.10.10.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_general',
|
168 |
-
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
169 |
-
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
170 |
-
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
171 |
-
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
172 |
-
'13.20.70.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_other_industrial_sectors',
|
173 |
-
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
174 |
-
'13.20.00.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations',
|
175 |
-
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
176 |
-
'13.20.10.10_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_competition_prices_and_other_conditions_of_sale',
|
177 |
-
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
178 |
-
'13.30.00.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws',
|
179 |
-
'13.30.13.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_electrical_material',
|
180 |
-
'13.30.12.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_metrology',
|
181 |
-
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
182 |
-
'13.20.50.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_leather,_hides,_skins_and_footwear',
|
183 |
-
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
184 |
-
'13.30.17.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_textiles',
|
185 |
-
'13.10.00.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research',
|
186 |
-
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
187 |
-
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
188 |
-
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
189 |
-
'13.30.14.30_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_other_provisions',
|
190 |
-
'customs_duties_suspensions', 'customs_duties_community_tariff_quotas',
|
191 |
-
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
192 |
-
'cct_derogations', 'harmonisation_of_customs_law_various',
|
193 |
-
'customs_duties_national_tariff_quotas',
|
194 |
-
'harmonisation_of_customs_law_origin_of_goods',
|
195 |
-
'13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
196 |
-
'cct_franchise',
|
197 |
-
'customs_duties_authorisation_to_defer_application_of_cct',
|
198 |
-
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
199 |
-
'common_customs_tariff_temporary_importation',
|
200 |
-
'12.20.20.00_energy_/_coal_/_competition_rates_and_other_conditions_of_sale',
|
201 |
-
'harmonisation_of_customs_law_community_transit',
|
202 |
-
'harmonisation_of_customs_law_inward_processing',
|
203 |
-
'harmonisation_of_customs_law_warehouses,_free_zones',
|
204 |
-
'harmonisation_of_customs_law_value_for_customs_purposes',
|
205 |
-
'harmonisation_of_customs_law_customs_territory',
|
206 |
-
'current_consolidated_version'],
|
207 |
-
'6':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form',
|
208 |
-
'case-law_directory_code_before_lisbon', 'subject_matter', 'b-03.07.01_european_community_eec/ec_/_agriculture_/_structural_policy_/_structural_reform_of_agriculture_joint_action',
|
209 |
-
'b-03.03.07_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_import_and_export_licences_and_advance-fixing_certificates',
|
210 |
-
'b-03.03.06_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_export_refunds',
|
211 |
-
'b-04.06.04.02_european_community_eec/ec_/_eec/ec_-_free_movement_of_persons_and_services_*_free_movement_of_persons_and_services_/_social_security_for_workers_/_social_security_for_workers_-_old_age_and_death_*_old_age_and_death_/_calculation_of_benefits_provisions_against_overlapping',
|
212 |
-
'b-02.04.02.01_european_community_eec/ec_/_eec/ec_-_free_movement_of_goods_*_free_movement_of_goods_/_trade_with_non-member_countries_/_common_customs_tariff_/_common_customs_tariff_-_interpretation_of_tariff_headings_and_classification_of_goods_principles_and_procedures_*_interpretation_of_tariff_headings_and_classification_of_goods_principles_and_procedures',
|
213 |
-
'b-03.03.08_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_deposit_systems',
|
214 |
-
'b-03.03.03_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_prohibition_of_discrimination',
|
215 |
-
'b-07.02.04.02_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_dominant_position_/_abuse_of_a_dominant_position_/_dominant_position_-_abuse_of_a_dominant_position_examples_*_examples_of_abuse',
|
216 |
-
'b-19.07.01_european_community_eec/ec_/_eec/ec_-_legal_proceedings_*_legal_proceedings_/_ancillary_procedures_and_applications_/_application_for_interim_measures_suspension_of_operation_of_the_contested_measure_and_other_interim_measures',
|
217 |
-
'b-03.03.02_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_common_organizations_and_intervention_by_the_member_states',
|
218 |
-
'b-03.03.01_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_national_market_organizations_and_common_organizations',
|
219 |
-
'eurovoc',
|
220 |
-
'b-07.01.01.04_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_agreements,_decisions_and_concerted_practices_/_prohibition_of_agreements,_decisions_and_concerted_practices_/_agreements_that_are_incompatible_with_the_common_market_examples',
|
221 |
-
'b-03.03.04_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_agricultural_prices',
|
222 |
-
'b-03.03.05_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_import_levies',
|
223 |
-
'b-03.03.09_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_intervention_mechanisms',
|
224 |
-
'b-07.03.02.02_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_implementation_of_the_competition_rules_/_procedure_for_the_application_of_the_competition_rules_by_the_commission_/_procedure_for_the_application_of_the_competition_rules_-_termination_of_infringements_powers_of_the_commission_*_termination_of_infringements_powers_of_the_commission',
|
225 |
-
'directory_code',
|
226 |
-
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
227 |
-
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
228 |
-
'b-07.05.04.01_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_concentrations_between_undertakings_/_examination_by_the_commission_/_initiation_of_proceedings_notification_and_complaints'],
|
229 |
-
'7':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'transposed_legal_acts'],
|
230 |
-
'8':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form',
|
231 |
-
'case-law_directory_code_before_lisbon', 'subject_matter',
|
232 |
-
'b-03.03_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms'],
|
233 |
-
'9':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'eurovoc', 'subject_matter', 'directory_code',
|
234 |
-
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
235 |
-
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
236 |
-
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
237 |
-
'13.30.00.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws',
|
238 |
-
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
239 |
-
'13.10.10.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_general',
|
240 |
-
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
241 |
-
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
242 |
-
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
243 |
-
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
244 |
-
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
245 |
-
'13.30.13.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_electrical_material',
|
246 |
-
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
247 |
-
'13.10.00.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research',
|
248 |
-
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
249 |
-
'customs_duties_suspensions',
|
250 |
-
'13.20.70.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_other_industrial_sectors',
|
251 |
-
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
252 |
-
'13.20.00.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations',
|
253 |
-
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
254 |
-
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
255 |
-
'harmonisation_of_customs_law_various',
|
256 |
-
'13.30.17.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_textiles',
|
257 |
-
'harmonisation_of_customs_law_origin_of_goods',
|
258 |
-
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
259 |
-
'13.30.14.10_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_colouring_matters',
|
260 |
-
'13.30.14.20_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_preservatives',
|
261 |
-
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
262 |
-
'13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
263 |
-
'12.20.20.00_energy_/_coal_/_competition_rates_and_other_conditions_of_sale',
|
264 |
-
'13.20.10.10_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_competition_prices_and_other_conditions_of_sale',
|
265 |
-
'13.20.50.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_leather,_hides,_skins_and_footwear',
|
266 |
-
'13.30.12.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_metrology',
|
267 |
-
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
268 |
-
'13.30.14.30_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_other_provisions',
|
269 |
-
'cct_franchise', 'harmonisation_of_customs_law_community_transit',
|
270 |
-
'customs_duties_community_tariff_quotas',
|
271 |
-
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
272 |
-
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
273 |
-
'harmonisation_of_customs_law_warehouses,_free_zones'],
|
274 |
-
'C':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'eurovoc'],
|
275 |
-
'E':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'directory_code',
|
276 |
-
'subject_matter', 'eurovoc',
|
277 |
-
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
278 |
-
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
279 |
-
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
280 |
-
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
281 |
-
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
282 |
-
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws'],
|
283 |
-
}
|
284 |
-
AVAILABLE_FEATURES={sector: datasets.Features({feature:(FEATURES[feature] if feature in FEATURES else datasets.Sequence(datasets.Value("string"))) for feature in FEATURES_IN_SECTOR[sector]}) for sector in SECTORS}
|
285 |
-
|
286 |
-
SECTOR_DESCRIPTIONS={
|
287 |
-
'0':"",
|
288 |
-
'1':"",
|
289 |
-
'2':"",
|
290 |
-
'3':"",
|
291 |
-
'4':"",
|
292 |
-
'5':"",
|
293 |
-
'6':"",
|
294 |
-
'7':"",
|
295 |
-
'8':"",
|
296 |
-
'9':"",
|
297 |
-
'C':"",
|
298 |
-
'E':"",
|
299 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
super_eurlex.py
CHANGED
@@ -24,8 +24,306 @@ import pandas as pd
|
|
24 |
|
25 |
import datasets
|
26 |
from tqdm.auto import tqdm
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
class SuperEurlexConfig(datasets.BuilderConfig):
|
31 |
"""BuilderConfig for SuperGLUE."""
|
@@ -139,6 +437,8 @@ class SuperEurlex(datasets.GeneratorBasedBuilder):
|
|
139 |
yield i, sample
|
140 |
|
141 |
|
|
|
|
|
142 |
if __name__ == '__main__':
|
143 |
import datasets as ds
|
144 |
import sys
|
|
|
24 |
|
25 |
import datasets
|
26 |
from tqdm.auto import tqdm
|
27 |
+
|
28 |
+
|
29 |
+
# TODO: Add BibTeX citation
|
30 |
+
# Find for instance the citation on arxiv or on the dataset repo/website
|
31 |
+
_CITATION = """ """
|
32 |
+
|
33 |
+
# TODO: Add description of the dataset here
|
34 |
+
# You can copy an official description
|
35 |
+
_DESCRIPTION = """ """
|
36 |
+
|
37 |
+
# TODO: Add a link to an official homepage for the dataset here
|
38 |
+
_HOMEPAGE = ""
|
39 |
+
|
40 |
+
# TODO: Add the licence for the dataset here if you can find it
|
41 |
+
_LICENSE = ""
|
42 |
+
|
43 |
+
# TODO: Add link to the official dataset URLs here
|
44 |
+
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
45 |
+
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
46 |
+
_URLS = {
|
47 |
+
"first_domain": "https://huggingface.co/great-new-dataset-first_domain.zip",
|
48 |
+
"second_domain": "https://huggingface.co/great-new-dataset-second_domain.zip",
|
49 |
+
}
|
50 |
+
AVAILABLE_LANGUAGES=['DE']#, 'EN'
|
51 |
+
SECTORS=['0', '1', '2', '3', '4', '5', '6', '8', '9', 'C', 'E']
|
52 |
+
|
53 |
+
# Features to override the standard most Features were scrapped as a sequence
|
54 |
+
# of strings with only the following exceptions
|
55 |
+
FEATURES = {
|
56 |
+
'celex_id': datasets.Value("string"),
|
57 |
+
'current_consolidated_version': datasets.Sequence(datasets.Value("string")),
|
58 |
+
'customs_duties_authorisation_to_defer_application_of_cct': datasets.Sequence(datasets.Value("string")),
|
59 |
+
'customs_duties_community_tariff_quotas': datasets.Sequence(datasets.Value("string")),
|
60 |
+
'customs_duties_suspensions': datasets.Sequence(datasets.Value("string")),
|
61 |
+
'directory_code': datasets.Sequence(datasets.Value("string")),
|
62 |
+
'eurovoc': datasets.Sequence(datasets.Value("string")),
|
63 |
+
'form': datasets.Sequence(datasets.Value("string")),
|
64 |
+
'harmonisation_of_customs_law_community_transit': datasets.Sequence(datasets.Value("string")),
|
65 |
+
'harmonisation_of_customs_law_customs_territory': datasets.Sequence(datasets.Value("string")),
|
66 |
+
'harmonisation_of_customs_law_origin_of_goods': datasets.Sequence(datasets.Value("string")),
|
67 |
+
'harmonisation_of_customs_law_value_for_customs_purposes': datasets.Sequence(datasets.Value("string")),
|
68 |
+
'harmonisation_of_customs_law_various': datasets.Sequence(datasets.Value("string")),
|
69 |
+
'subject_matter': datasets.Sequence(datasets.Value("string")),
|
70 |
+
'text_cleaned': datasets.Value("string"),
|
71 |
+
'text_html_cleaned': datasets.Value("string"),
|
72 |
+
'text_html_raw': datasets.Value("string"),
|
73 |
+
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements':datasets.Sequence(datasets.Value("string")),
|
74 |
+
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles':datasets.Sequence(datasets.Value("string")),
|
75 |
+
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing':datasets.Sequence(datasets.Value("string")),
|
76 |
+
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development':datasets.Sequence(datasets.Value("string")),
|
77 |
+
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles': datasets.Sequence(datasets.Value("string")),
|
78 |
+
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers': datasets.Sequence(datasets.Value("string")),
|
79 |
+
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors': datasets.Sequence(datasets.Value("string")),
|
80 |
+
}
|
81 |
+
FEATURES_IN_SECTOR={
|
82 |
+
'0':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form'],
|
83 |
+
'1':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form',
|
84 |
+
'subject_matter', 'current_consolidated_version',
|
85 |
+
'harmonisation_of_customs_law_community_transit', 'harmonisation_of_customs_law_customs_territory',
|
86 |
+
'harmonisation_of_customs_law_value_for_customs_purposes', 'directory_code', 'eurovoc',
|
87 |
+
'customs_duties_community_tariff_quotas', 'customs_duties_community_tariff_quotas',
|
88 |
+
'customs_duties_authorisation_to_defer_application_of_cct', 'harmonisation_of_customs_law_various',
|
89 |
+
'customs_duties_suspensions'],
|
90 |
+
'2':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned',
|
91 |
+
'harmonisation_of_customs_law_origin_of_goods', 'form', 'directory_code',
|
92 |
+
'subject_matter', 'eurovoc', 'harmonisation_of_customs_law_community_transit',
|
93 |
+
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
94 |
+
'current_consolidated_version',
|
95 |
+
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
96 |
+
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
97 |
+
'harmonisation_of_customs_law_various', 'customs_duties_community_tariff_quotas',
|
98 |
+
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
99 |
+
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
100 |
+
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
101 |
+
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
102 |
+
'cct_franchise','13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
103 |
+
'customs_duties_suspensions', 'latest_consolidated_version',
|
104 |
+
'cct_derogations',
|
105 |
+
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
106 |
+
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
107 |
+
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
108 |
+
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
109 |
+
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
110 |
+
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
111 |
+
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
112 |
+
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
113 |
+
'common_customs_tariff_temporary_importation'
|
114 |
+
],
|
115 |
+
'3':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'cct_derogations',
|
116 |
+
'directory_code', 'subject_matter','eurovoc', 'cct_franchise',
|
117 |
+
'harmonisation_of_customs_law_various', 'latest_consolidated_version',
|
118 |
+
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
119 |
+
'harmonisation_of_customs_law_community_transit',
|
120 |
+
'current_consolidated_version',
|
121 |
+
'harmonisation_of_customs_law_value_for_customs_purposes',
|
122 |
+
'harmonisation_of_customs_law_origin_of_goods',
|
123 |
+
'harmonisation_of_customs_law_inward_processing',
|
124 |
+
'common_customs_tariff_temporary_importation',
|
125 |
+
'customs_duties_suspensions',
|
126 |
+
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
127 |
+
'harmonisation_of_customs_law_warehouses,_free_zones',
|
128 |
+
'customs_duties_community_tariff_quotas',
|
129 |
+
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
130 |
+
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
131 |
+
'13.10.00.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research',
|
132 |
+
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
133 |
+
'13.20.50.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_leather,_hides,_skins_and_footwear',
|
134 |
+
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
135 |
+
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
136 |
+
'13.20.70.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_other_industrial_sectors',
|
137 |
+
'harmonisation_of_customs_law_customs_territory',
|
138 |
+
'customs_duties_authorisation_to_defer_application_of_cct',
|
139 |
+
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
140 |
+
'13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
141 |
+
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
142 |
+
'13.30.17.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_textiles',
|
143 |
+
'13.10.10.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_general',
|
144 |
+
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
145 |
+
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
146 |
+
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
147 |
+
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
148 |
+
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
149 |
+
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
150 |
+
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
151 |
+
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
152 |
+
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
153 |
+
'customs_duties_national_tariff_quotas',
|
154 |
+
'13.30.13.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_electrical_material',
|
155 |
+
'13.30.14.30_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_other_provisions',
|
156 |
+
'13.30.14.20_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_preservatives',
|
157 |
+
'customs_duties_speed-up_decisions',
|
158 |
+
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
159 |
+
'13.30.14.10_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_colouring_matters',
|
160 |
+
'13.30.00.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws',
|
161 |
+
'13.20.10.10_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_competition_prices_and_other_conditions_of_sale',
|
162 |
+
'13.30.12.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_metrology',
|
163 |
+
'12.20.20.00_energy_/_coal_/_competition_rates_and_other_conditions_of_sale',
|
164 |
+
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
165 |
+
'13.20.00.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations'
|
166 |
+
],
|
167 |
+
'4':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'eurovoc',
|
168 |
+
'subject_matter', 'current_consolidated_version', 'directory_code',
|
169 |
+
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
170 |
+
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
171 |
+
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
172 |
+
'latest_consolidated_version', 'cct_derogations',
|
173 |
+
'customs_duties_suspensions', 'customs_duties_speed-up_decisions',
|
174 |
+
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
175 |
+
'customs_duties_community_tariff_quotas',
|
176 |
+
'harmonisation_of_customs_law_origin_of_goods',
|
177 |
+
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
178 |
+
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
179 |
+
'harmonisation_of_customs_law_value_for_customs_purposes',
|
180 |
+
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
181 |
+
'harmonisation_of_customs_law_community_transit',
|
182 |
+
'harmonisation_of_customs_law_various',
|
183 |
+
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
184 |
+
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
185 |
+
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws'],
|
186 |
+
'5':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'directory_code', 'subject_matter', 'eurovoc',
|
187 |
+
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
188 |
+
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
189 |
+
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
190 |
+
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
191 |
+
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
192 |
+
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
193 |
+
'13.10.10.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_general',
|
194 |
+
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
195 |
+
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
196 |
+
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
197 |
+
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
198 |
+
'13.20.70.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_other_industrial_sectors',
|
199 |
+
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
200 |
+
'13.20.00.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations',
|
201 |
+
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
202 |
+
'13.20.10.10_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_competition_prices_and_other_conditions_of_sale',
|
203 |
+
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
204 |
+
'13.30.00.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws',
|
205 |
+
'13.30.13.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_electrical_material',
|
206 |
+
'13.30.12.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_metrology',
|
207 |
+
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
208 |
+
'13.20.50.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_leather,_hides,_skins_and_footwear',
|
209 |
+
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
210 |
+
'13.30.17.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_textiles',
|
211 |
+
'13.10.00.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research',
|
212 |
+
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
213 |
+
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
214 |
+
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
215 |
+
'13.30.14.30_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_other_provisions',
|
216 |
+
'customs_duties_suspensions', 'customs_duties_community_tariff_quotas',
|
217 |
+
'02.40.10.20_customs_union_and_free_movement_of_goods_/_specific_customs_rules_/_movement_of_goods_/_extra-community_trade_efta_agreements',
|
218 |
+
'cct_derogations', 'harmonisation_of_customs_law_various',
|
219 |
+
'customs_duties_national_tariff_quotas',
|
220 |
+
'harmonisation_of_customs_law_origin_of_goods',
|
221 |
+
'13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
222 |
+
'cct_franchise',
|
223 |
+
'customs_duties_authorisation_to_defer_application_of_cct',
|
224 |
+
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
225 |
+
'common_customs_tariff_temporary_importation',
|
226 |
+
'12.20.20.00_energy_/_coal_/_competition_rates_and_other_conditions_of_sale',
|
227 |
+
'harmonisation_of_customs_law_community_transit',
|
228 |
+
'harmonisation_of_customs_law_inward_processing',
|
229 |
+
'harmonisation_of_customs_law_warehouses,_free_zones',
|
230 |
+
'harmonisation_of_customs_law_value_for_customs_purposes',
|
231 |
+
'harmonisation_of_customs_law_customs_territory',
|
232 |
+
'current_consolidated_version'],
|
233 |
+
'6':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form',
|
234 |
+
'case-law_directory_code_before_lisbon', 'subject_matter', 'b-03.07.01_european_community_eec/ec_/_agriculture_/_structural_policy_/_structural_reform_of_agriculture_joint_action',
|
235 |
+
'b-03.03.07_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_import_and_export_licences_and_advance-fixing_certificates',
|
236 |
+
'b-03.03.06_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_export_refunds',
|
237 |
+
'b-04.06.04.02_european_community_eec/ec_/_eec/ec_-_free_movement_of_persons_and_services_*_free_movement_of_persons_and_services_/_social_security_for_workers_/_social_security_for_workers_-_old_age_and_death_*_old_age_and_death_/_calculation_of_benefits_provisions_against_overlapping',
|
238 |
+
'b-02.04.02.01_european_community_eec/ec_/_eec/ec_-_free_movement_of_goods_*_free_movement_of_goods_/_trade_with_non-member_countries_/_common_customs_tariff_/_common_customs_tariff_-_interpretation_of_tariff_headings_and_classification_of_goods_principles_and_procedures_*_interpretation_of_tariff_headings_and_classification_of_goods_principles_and_procedures',
|
239 |
+
'b-03.03.08_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_deposit_systems',
|
240 |
+
'b-03.03.03_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_prohibition_of_discrimination',
|
241 |
+
'b-07.02.04.02_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_dominant_position_/_abuse_of_a_dominant_position_/_dominant_position_-_abuse_of_a_dominant_position_examples_*_examples_of_abuse',
|
242 |
+
'b-19.07.01_european_community_eec/ec_/_eec/ec_-_legal_proceedings_*_legal_proceedings_/_ancillary_procedures_and_applications_/_application_for_interim_measures_suspension_of_operation_of_the_contested_measure_and_other_interim_measures',
|
243 |
+
'b-03.03.02_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_common_organizations_and_intervention_by_the_member_states',
|
244 |
+
'b-03.03.01_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_national_market_organizations_and_common_organizations',
|
245 |
+
'eurovoc',
|
246 |
+
'b-07.01.01.04_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_agreements,_decisions_and_concerted_practices_/_prohibition_of_agreements,_decisions_and_concerted_practices_/_agreements_that_are_incompatible_with_the_common_market_examples',
|
247 |
+
'b-03.03.04_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_agricultural_prices',
|
248 |
+
'b-03.03.05_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_import_levies',
|
249 |
+
'b-03.03.09_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms_/_intervention_mechanisms',
|
250 |
+
'b-07.03.02.02_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_implementation_of_the_competition_rules_/_procedure_for_the_application_of_the_competition_rules_by_the_commission_/_procedure_for_the_application_of_the_competition_rules_-_termination_of_infringements_powers_of_the_commission_*_termination_of_infringements_powers_of_the_commission',
|
251 |
+
'directory_code',
|
252 |
+
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
253 |
+
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
254 |
+
'b-07.05.04.01_european_community_eec/ec_/_eec/ec_-_competition_*_competition_/_concentrations_between_undertakings_/_examination_by_the_commission_/_initiation_of_proceedings_notification_and_complaints'],
|
255 |
+
'7':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'transposed_legal_acts'],
|
256 |
+
'8':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form',
|
257 |
+
'case-law_directory_code_before_lisbon', 'subject_matter',
|
258 |
+
'b-03.03_european_community_eec/ec_/_agriculture_/_common_organization_of_the_markets_principles_and_mechanisms'],
|
259 |
+
'9':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'eurovoc', 'subject_matter', 'directory_code',
|
260 |
+
'13.10.30.10_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_general_principles',
|
261 |
+
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws',
|
262 |
+
'13.30.05.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_general,_programmes',
|
263 |
+
'13.30.00.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws',
|
264 |
+
'13.10.30.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development',
|
265 |
+
'13.10.10.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_general',
|
266 |
+
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
267 |
+
'13.40.00.00_industrial_policy_and_internal_market_/_internal_market_policy_relating_to_undertakings',
|
268 |
+
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
269 |
+
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
270 |
+
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
271 |
+
'13.30.13.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_electrical_material',
|
272 |
+
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
273 |
+
'13.10.00.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research',
|
274 |
+
'13.20.30.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_aeronautical_industry',
|
275 |
+
'customs_duties_suspensions',
|
276 |
+
'13.20.70.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_other_industrial_sectors',
|
277 |
+
'13.30.19.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_fertilisers',
|
278 |
+
'13.20.00.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations',
|
279 |
+
'13.10.20.00_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_programmes_and_statistics',
|
280 |
+
'13.20.40.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_textiles',
|
281 |
+
'harmonisation_of_customs_law_various',
|
282 |
+
'13.30.17.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_textiles',
|
283 |
+
'harmonisation_of_customs_law_origin_of_goods',
|
284 |
+
'13.30.16.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_cosmetics',
|
285 |
+
'13.30.14.10_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_colouring_matters',
|
286 |
+
'13.30.14.20_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_preservatives',
|
287 |
+
'13.10.30.20_industrial_policy_and_internal_market_/_industrial_policy_general,_programmes,_statistics_and_research_/_research_and_technological_development_/_research_sectors',
|
288 |
+
'13.20.20.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_shipbuilding',
|
289 |
+
'12.20.20.00_energy_/_coal_/_competition_rates_and_other_conditions_of_sale',
|
290 |
+
'13.20.10.10_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_competition_prices_and_other_conditions_of_sale',
|
291 |
+
'13.20.50.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_leather,_hides,_skins_and_footwear',
|
292 |
+
'13.30.12.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_metrology',
|
293 |
+
'13.20.10.20_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry_/_other_measures_relating_to_iron_and_steel',
|
294 |
+
'13.30.14.30_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs_/_other_provisions',
|
295 |
+
'cct_franchise', 'harmonisation_of_customs_law_community_transit',
|
296 |
+
'customs_duties_community_tariff_quotas',
|
297 |
+
'13.20.10.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_iron_and_steel_industry',
|
298 |
+
'13.30.11.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_agricultural_and_forestry_tractors',
|
299 |
+
'harmonisation_of_customs_law_warehouses,_free_zones'],
|
300 |
+
'C':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'eurovoc'],
|
301 |
+
'E':['celex_id', 'text_html_raw', 'text_html_cleaned', 'text_cleaned', 'form', 'directory_code',
|
302 |
+
'subject_matter', 'eurovoc',
|
303 |
+
'13.30.14.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_foodstuffs',
|
304 |
+
'13.30.10.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_motor_vehicles',
|
305 |
+
'13.30.18.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_dangerous_substances',
|
306 |
+
'13.30.15.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_proprietary_medicinal_products',
|
307 |
+
'13.20.60.00_industrial_policy_and_internal_market_/_industrial_policy_sectoral_operations_/_information_technology,_telecommunications_and_data-processing',
|
308 |
+
'13.30.99.00_industrial_policy_and_internal_market_/_internal_market_approximation_of_laws_/_other_sectors_for_approximation_of_laws'],
|
309 |
+
}
|
310 |
+
AVAILABLE_FEATURES={sector: datasets.Features({feature:(FEATURES[feature] if feature in FEATURES else datasets.Sequence(datasets.Value("string"))) for feature in FEATURES_IN_SECTOR[sector]}) for sector in SECTORS}
|
311 |
+
|
312 |
+
SECTOR_DESCRIPTIONS={
|
313 |
+
'0':"",
|
314 |
+
'1':"",
|
315 |
+
'2':"",
|
316 |
+
'3':"",
|
317 |
+
'4':"",
|
318 |
+
'5':"",
|
319 |
+
'6':"",
|
320 |
+
'7':"",
|
321 |
+
'8':"",
|
322 |
+
'9':"",
|
323 |
+
'C':"",
|
324 |
+
'E':"",
|
325 |
+
}
|
326 |
+
|
327 |
|
328 |
class SuperEurlexConfig(datasets.BuilderConfig):
|
329 |
"""BuilderConfig for SuperGLUE."""
|
|
|
437 |
yield i, sample
|
438 |
|
439 |
|
440 |
+
|
441 |
+
print("Hello World")
|
442 |
if __name__ == '__main__':
|
443 |
import datasets as ds
|
444 |
import sys
|