state jurisdiction

This commit is contained in:
Sebastian 2022-05-03 23:59:27 +02:00
parent c2c7bf069b
commit 8bede28e3d
15 changed files with 1698 additions and 0 deletions

View File

@ -0,0 +1 @@
--metric MultiLabel-F1:uN<F1(UC)> --metric MultiLabel-F1:N<F1>P<3> --metric MultiLabel-F0:uN<P(UC)>P<3> --metric MultiLabel-F9999:uN<R(UC)>P<3> --metric Accuracy:uSN<Accuracy>P<2> --metric Mean/MultiLabel-F1:uN<Mean-F1>P<3> --metric MultiLabel-{F1:N<F1>,F0:N<P>P<3>,F9999:N<R>P<3>}{m<effective_date=\S+\s*>N<date>P<2>,m<party=\S+\s*>N<party>P<2>,m<jurisdiction=\S+\s*>N<juris>P<2>,m<term=\S+\s*>N<term>P<2>}u --precision 5 -B 200 --in-header in-header.tsv -%

View File

@ -0,0 +1,122 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 17,
"id": "8b07c9a5-e5cf-4cf9-a6d9-e784eb109fef",
"metadata": {},
"outputs": [],
"source": [
"import re"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "fce94c21-6792-4938-bf2c-3f46ecf2f954",
"metadata": {},
"outputs": [],
"source": [
"states = ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia', \n",
" 'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland', \n",
" 'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey', \n",
" 'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina', \n",
" 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming']"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "eb1815f2-1876-4437-833a-ff22de81685e",
"metadata": {},
"outputs": [],
"source": [
"def counter(text_in, query):\n",
" pattern = re.compile(query)\n",
" return len(pattern.findall(text_in, re.IGNORECASE))"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "8729062d-87b8-4111-a216-8500334f54b6",
"metadata": {},
"outputs": [],
"source": [
"def state_prediction(text_in):\n",
" state_dict = {}\n",
" for state in states:\n",
" state_dict[state.replace(\" \", \"_\")] = counter(text_in, state) \n",
" return max(state_dict, key=state_dict.get)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"id": "ea8069f7-de8e-454c-8eac-9fb7cc0df626",
"metadata": {},
"outputs": [],
"source": [
"def jurisdiction(path_in, path_out): \n",
" with open(path_in, 'r', encoding='utf8') as file:\n",
" lines = file.readlines() \n",
" with open(path_out, 'wt')as file_out:\n",
" for i in lines:\n",
" file_out.write(\"jurisdiction=\"+str(state_prediction(i))+'\\n') \n",
" file_out.close()"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "ade45bfb-9eaa-4b2b-bba1-6cfcaf0a9ce6",
"metadata": {},
"outputs": [],
"source": [
"jurisdiction('dev-0/in.tsv', 'dev-0/out.tsv')\n",
"jurisdiction('train/in.tsv', 'train/out.tsv')\n",
"jurisdiction('test-A/in.tsv', 'test-A/out.tsv')"
]
},
{
"cell_type": "code",
"execution_count": 22,
"id": "594a25a9-a0ce-4de9-82c8-df50a4ecac39",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[NbConvertApp] Converting notebook run.ipynb to script\n",
"[NbConvertApp] Writing 1634 bytes to run.py\n"
]
}
],
"source": [
"!jupyter nbconvert --to script run.ipynb"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

View File

@ -0,0 +1,62 @@
#!/usr/bin/env python
# coding: utf-8
# In[17]:
import re
# In[5]:
states = ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia',
'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland',
'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey',
'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina',
'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming']
# In[6]:
def counter(text_in, query):
pattern = re.compile(query)
return len(pattern.findall(text_in, re.IGNORECASE))
# In[7]:
def state_prediction(text_in):
state_dict = {}
for state in states:
state_dict[state.replace(" ", "_")] = counter(text_in, state)
return max(state_dict, key=state_dict.get)
# In[20]:
def jurisdiction(path_in, path_out):
with open(path_in, 'r', encoding='utf8') as file:
lines = file.readlines()
with open(path_out, 'wt')as file_out:
for i in lines:
file_out.write("jurisdiction="+str(state_prediction(i))+'\n')
file_out.close()
# In[21]:
jurisdiction('dev-0/in.tsv', 'dev-0/out.tsv')
jurisdiction('train/in.tsv', 'train/out.tsv')
jurisdiction('test-A/in.tsv', 'test-A/out.tsv')
# In[ ]:
# get_ipython().system('jupyter nbconvert --to script run.ipynb')

View File

@ -0,0 +1,83 @@
effective_date=2014-05-20 jurisdiction=New_York party=Liquidmetal_Technology_Inc. party=Visser_Precision_Cast_LLC term=3_years
jurisdiction=New_York party=Oglethorpe_Power_Corporation
effective_date=2012-09-04 jurisdiction=Delaware party=Jda_Software_Group_Inc. party=Redprairie_Holding_Inc. term=2_years
effective_date=2009-02-23 jurisdiction=Massachusetts party=Nitromed_Inc. party=Kenneth_M._Bate
effective_date=2015-03-01 jurisdiction=Delaware party=Auspex_Pharmaceuticals party=Teva_Pharmaceutical_Industries_Ltd. term=3_years
effective_date=2012-01-11 jurisdiction=Washington party=Financial_Northwest_Inc. party=Spencer_L._Schneider party=Stilwell_Group
effective_date=2009-04-30 jurisdiction=Delaware party=California_Micro_Devices_Corporation party=On_Semiconductor_Corporation term=1_year
effective_date=2016-06-22 jurisdiction=New_Jersey party=Nat_Krishnamurti party=Interpace_Diagnostics_Group_Inc.
effective_date=2008-03-31 jurisdiction=New_York party=Intercept_Pharmaceuticals_Inc. party=David_Shapiro
effective_date=2015-12-11 party=Anadigics_Inc. party=Ii-Vi_Inc.
party=Pjm_Interconnection_LLC
effective_date=2018-11-15 jurisdiction=Delaware party=Tesaro_Inc. party=Ajinomoto_Althea_Inc. party=Glaxosmithkline_LLC term=2_years
jurisdiction=Delaware party=Allergan_Inc. party=Map_Pharmaceuticals_Inc. term=2_years
effective_date=2000-05-23 jurisdiction=Delaware party=Udate.Com_Inc. party=Anthony_Dunn
jurisdiction=New_York party=Virgin_Mobile_Usa_LLC term=2_years
effective_date=2012-01-25 jurisdiction=Massachusetts party=Asahi_Kasei_Corporation party=Zoll_Medical_Corporation term=5_years
effective_date=2008-07-31 jurisdiction=Minnesota party=Cogent_Inc. party=3m_Company term=2_years
jurisdiction=California party=Penumbra_Inc. term=2_years
effective_date=2014-11-25 jurisdiction=New_York party=Aol_Inc. party=Verizon_Corporate_Services_Group_Inc. term=3_years
effective_date=2018-10-01 jurisdiction=California party=Cubic_Corporation party=John_D._Thomas term=1_year
effective_date=2018-12-28 jurisdiction=Iowa party=Flexsteel_Industries_Inc. party=Jerald_K._Dittmer
effective_date=2012-03-31 jurisdiction=California party=Integrated_Device_Technology_Inc. party=Plx_Technology_Inc. term=1_year
jurisdiction=Virginia party=Bruce_L._Caswell party=Maximus_Inc. term=3_years
effective_date=2004-10-11 jurisdiction=North_Carolina party=Inspire_Pharmaceuticals_Inc. party=Barry_G._Pea
jurisdiction=Arizona party=Jda_Software_Inc. party=Compuware_Corporation
jurisdiction=Indiana party=Peoples_Bank_Sb
jurisdiction=New_Jersey party=Oceanfinancial_Corp.
effective_date=2005-05-17 jurisdiction=California party=Patricia_Sueltz party=Salesforce.Com_Inc.
effective_date=2018-03-30 jurisdiction=Delaware party=Jamba_Inc. party=Focus_Brands_Inc. term=2_years
effective_date=2013-05-01 jurisdiction=Georgia party=Citi_Trends_Inc. party=Ivy_Council
effective_date=2005-07-03 jurisdiction=New_York party=Common_Sense_Ltd. party=Synova_Healthcare_Inc. term=5_years
effective_date=2015-06-23 jurisdiction=New_York party=Consac_LLC party=Musclepharm_Corporation term=12_months
effective_date=2008-01-01 jurisdiction=California party=Biolargo_Inc. party=Joseph_L._Provenzano
jurisdiction=Minnesota party=The_St._Paul_Travelers_Companies_Inc.
jurisdiction=California party=Kbs_Capital_Advisors_LLC term=2_years
effective_date=2018-08-16 jurisdiction=Kentucky party=Cafepress_Inc. party=District_Photo_Inc. term=1_year
effective_date=2016-01-27 jurisdiction=Minnesota party=Target_Corporation party=Tina_Tyler
jurisdiction=Ohio party=Fifth_Third_Processing_Solutions_LLC
jurisdiction=Michigan party=Hi-Tex_Inc. party=Quaker_Fabric_Corporation_Of_Fall_River
jurisdiction=California party=Gigpeak_Inc. party=Integrated_Device_Technology_Inc.
effective_date=2000-02-10 jurisdiction=Minnesota party=New_England_Business_Service_Inc. party=Premium_Wear_Inc.
effective_date=2008-11-06 jurisdiction=California party=Biolargo_Inc. party=Howard_Isaacs
effective_date=2007-05-09 jurisdiction=Delaware party=Opsware_Inc. party=Hewlett-Packard_Company term=12_months
jurisdiction=Illinois party=Jeremiah_Kaye party=Ahp_Servicing_LLC
effective_date=2003-05-14 jurisdiction=Minnesota party=Flexsteel_Industries_Inc. party=Dmi_Furniture_Inc.
effective_date=2010-06-23 jurisdiction=Texas party=Allis-Chalmers_Energy_Inc. party=Seawell_Ltd. term=2_years
jurisdiction=New_Jersey party=Algorx_Pharmaceuticals_Inc. term=10_years
effective_date=2009-11-06 jurisdiction=Delaware party=Hid_Global_Corporation party=Lasercard_Corporation term=3_years
jurisdiction=Washington party=Corus_Pharma_Inc. party=A._Bruce_Montgomery
effective_date=2005-02-16 party=Omni_National_Bank party=Jeffrey_L._Levine
effective_date=2014-11-26 jurisdiction=Delaware party=E2open_Inc. party=Insight_Venture_Partners_LLC
effective_date=1999-03-16 jurisdiction=Oregon party=Acumed_Inc. party=Medex_Surgical
effective_date=2008-07-02 jurisdiction=Delaware party=Unionbancal_Corporation party=The_Bank_Of_Tokyo-Mitsubishi_Ufj term=2_years
effective_date=2012-06-11 jurisdiction=Delaware party=Lightwave_Logic_Inc. party=Ronald_A._Bucchi
effective_date=2007-03-04 jurisdiction=Delaware party=Webex_Communications_Inc. party=Cisco_Systems_Inc. term=2_years
effective_date=2007-04-30 jurisdiction=Massachusetts party=Accurel_Systems_International_Corporation party=Implant_Sciences_Corporation
effective_date=2011-11-01 jurisdiction=California party=Life_Technologies_Corporation party=Bernd_Brust
effective_date=2012-09-20 party=Contran_Corporation party=Precision_Castparts_Corp.
effective_date=2016-03-15 jurisdiction=Delaware party=Orchestra-Prémaman_Sa party=Destination_Maternity_Corporation term=9_months
effective_date=2005-09-29 jurisdiction=Illinois party=Paul_B._Mulhollem party=Archer-Daniels-Midland_Company
effective_date=2005-05-04 jurisdiction=Idaho party=Affiliated_Companies party=Michael_L._Mooney
effective_date=2007-08-14 jurisdiction=Washington party=Photoworks_Inc. party=American_Greetings_Corporation
effective_date=2016-05-03 jurisdiction=New_York party=Wizard_World_Inc. party=John_D._Maatta
effective_date=2008-08-01 jurisdiction=New_York party=Omrix_Biopharmaceuticals_Inc. party=Ethicon_Inc.
effective_date=2006-01-01 jurisdiction=California party=Bank_Of_Beverly_Hills party=Joseph_W._Kiley_Iii term=12_months
effective_date=2015-03-16 jurisdiction=Utah party=Galil_Medical_Inc. party=Perseon_Corporation
effective_date=2012-07-05 jurisdiction=Delaware party=Curtiss-Wright_Controls_Inc. party=Williams_Controls_Inc. term=3_years
effective_date=2015-12-08 jurisdiction=Washington party=Anchor_Bancorp party=Joel_S._Lawson_Iv party=Varonica_S._Ragan term=1_year
effective_date=2005-02-24 jurisdiction=Virginia party=Mobile_Satellite_Ventures party=Alexander_H._Good
effective_date=2006-12-19 jurisdiction=New_York party=Mapinfo_Corporation party=Pitney_Bowes_Inc.
jurisdiction=New_York party=Axcan_Pharma_Inc. party=Tpg_Capital_LP party=Eurand_N.V. term=24_months
jurisdiction=Illinois party=Motorola_Inc. party=Iridium_Satellite_LLC
effective_date=2008-01-01 jurisdiction=California party=Gigoptix_LLC party=Avi_Katz
effective_date=2017-10-02 jurisdiction=Delaware party=Potbelly_Corporation party=Ancora_Advisors_LLC term=2_years
party=Ideal_Restaurant_Group_Inc. party=The_Schooner_Group_LLC
effective_date=2011-03-29 jurisdiction=Texas party=Newgistics_Inc. party=Stephen_M._Mattessich
effective_date=2011-05-26 jurisdiction=California party=Skyworks_Solutions_Inc. party=Richard_K._Williams
effective_date=2006-09-01 jurisdiction=Washington party=Microsoft_Corporation party=Digital_River_Inc.
effective_date=2015-04-02 jurisdiction=Delaware party=Columbus_Mckinnon_Corporation party=Magnetek_Inc. term=3_years
effective_date=2017-07-21 jurisdiction=Washington party=Adaptive_Biotechnologies party=Microsoft_Corporation
effective_date=2011-01-18 jurisdiction=New_York party=Orthovita_Inc. party=Stryker_Corporation term=2_years
jurisdiction=Washington party=Alder_Biopharmaceuticals_Inc. party=H._Lundbeck_A/S term=1_year
effective_date=2015-07-21 jurisdiction=Illinois party=Us_Foods_Inc. party=Pietro_Satriano
1 effective_date=2014-05-20 jurisdiction=New_York party=Liquidmetal_Technology_Inc. party=Visser_Precision_Cast_LLC term=3_years
2 jurisdiction=New_York party=Oglethorpe_Power_Corporation
3 effective_date=2012-09-04 jurisdiction=Delaware party=Jda_Software_Group_Inc. party=Redprairie_Holding_Inc. term=2_years
4 effective_date=2009-02-23 jurisdiction=Massachusetts party=Nitromed_Inc. party=Kenneth_M._Bate
5 effective_date=2015-03-01 jurisdiction=Delaware party=Auspex_Pharmaceuticals party=Teva_Pharmaceutical_Industries_Ltd. term=3_years
6 effective_date=2012-01-11 jurisdiction=Washington party=Financial_Northwest_Inc. party=Spencer_L._Schneider party=Stilwell_Group
7 effective_date=2009-04-30 jurisdiction=Delaware party=California_Micro_Devices_Corporation party=On_Semiconductor_Corporation term=1_year
8 effective_date=2016-06-22 jurisdiction=New_Jersey party=Nat_Krishnamurti party=Interpace_Diagnostics_Group_Inc.
9 effective_date=2008-03-31 jurisdiction=New_York party=Intercept_Pharmaceuticals_Inc. party=David_Shapiro
10 effective_date=2015-12-11 party=Anadigics_Inc. party=Ii-Vi_Inc.
11 party=Pjm_Interconnection_LLC
12 effective_date=2018-11-15 jurisdiction=Delaware party=Tesaro_Inc. party=Ajinomoto_Althea_Inc. party=Glaxosmithkline_LLC term=2_years
13 jurisdiction=Delaware party=Allergan_Inc. party=Map_Pharmaceuticals_Inc. term=2_years
14 effective_date=2000-05-23 jurisdiction=Delaware party=Udate.Com_Inc. party=Anthony_Dunn
15 jurisdiction=New_York party=Virgin_Mobile_Usa_LLC term=2_years
16 effective_date=2012-01-25 jurisdiction=Massachusetts party=Asahi_Kasei_Corporation party=Zoll_Medical_Corporation term=5_years
17 effective_date=2008-07-31 jurisdiction=Minnesota party=Cogent_Inc. party=3m_Company term=2_years
18 jurisdiction=California party=Penumbra_Inc. term=2_years
19 effective_date=2014-11-25 jurisdiction=New_York party=Aol_Inc. party=Verizon_Corporate_Services_Group_Inc. term=3_years
20 effective_date=2018-10-01 jurisdiction=California party=Cubic_Corporation party=John_D._Thomas term=1_year
21 effective_date=2018-12-28 jurisdiction=Iowa party=Flexsteel_Industries_Inc. party=Jerald_K._Dittmer
22 effective_date=2012-03-31 jurisdiction=California party=Integrated_Device_Technology_Inc. party=Plx_Technology_Inc. term=1_year
23 jurisdiction=Virginia party=Bruce_L._Caswell party=Maximus_Inc. term=3_years
24 effective_date=2004-10-11 jurisdiction=North_Carolina party=Inspire_Pharmaceuticals_Inc. party=Barry_G._Pea
25 jurisdiction=Arizona party=Jda_Software_Inc. party=Compuware_Corporation
26 jurisdiction=Indiana party=Peoples_Bank_Sb
27 jurisdiction=New_Jersey party=Oceanfinancial_Corp.
28 effective_date=2005-05-17 jurisdiction=California party=Patricia_Sueltz party=Salesforce.Com_Inc.
29 effective_date=2018-03-30 jurisdiction=Delaware party=Jamba_Inc. party=Focus_Brands_Inc. term=2_years
30 effective_date=2013-05-01 jurisdiction=Georgia party=Citi_Trends_Inc. party=Ivy_Council
31 effective_date=2005-07-03 jurisdiction=New_York party=Common_Sense_Ltd. party=Synova_Healthcare_Inc. term=5_years
32 effective_date=2015-06-23 jurisdiction=New_York party=Consac_LLC party=Musclepharm_Corporation term=12_months
33 effective_date=2008-01-01 jurisdiction=California party=Biolargo_Inc. party=Joseph_L._Provenzano
34 jurisdiction=Minnesota party=The_St._Paul_Travelers_Companies_Inc.
35 jurisdiction=California party=Kbs_Capital_Advisors_LLC term=2_years
36 effective_date=2018-08-16 jurisdiction=Kentucky party=Cafepress_Inc. party=District_Photo_Inc. term=1_year
37 effective_date=2016-01-27 jurisdiction=Minnesota party=Target_Corporation party=Tina_Tyler
38 jurisdiction=Ohio party=Fifth_Third_Processing_Solutions_LLC
39 jurisdiction=Michigan party=Hi-Tex_Inc. party=Quaker_Fabric_Corporation_Of_Fall_River
40 jurisdiction=California party=Gigpeak_Inc. party=Integrated_Device_Technology_Inc.
41 effective_date=2000-02-10 jurisdiction=Minnesota party=New_England_Business_Service_Inc. party=Premium_Wear_Inc.
42 effective_date=2008-11-06 jurisdiction=California party=Biolargo_Inc. party=Howard_Isaacs
43 effective_date=2007-05-09 jurisdiction=Delaware party=Opsware_Inc. party=Hewlett-Packard_Company term=12_months
44 jurisdiction=Illinois party=Jeremiah_Kaye party=Ahp_Servicing_LLC
45 effective_date=2003-05-14 jurisdiction=Minnesota party=Flexsteel_Industries_Inc. party=Dmi_Furniture_Inc.
46 effective_date=2010-06-23 jurisdiction=Texas party=Allis-Chalmers_Energy_Inc. party=Seawell_Ltd. term=2_years
47 jurisdiction=New_Jersey party=Algorx_Pharmaceuticals_Inc. term=10_years
48 effective_date=2009-11-06 jurisdiction=Delaware party=Hid_Global_Corporation party=Lasercard_Corporation term=3_years
49 jurisdiction=Washington party=Corus_Pharma_Inc. party=A._Bruce_Montgomery
50 effective_date=2005-02-16 party=Omni_National_Bank party=Jeffrey_L._Levine
51 effective_date=2014-11-26 jurisdiction=Delaware party=E2open_Inc. party=Insight_Venture_Partners_LLC
52 effective_date=1999-03-16 jurisdiction=Oregon party=Acumed_Inc. party=Medex_Surgical
53 effective_date=2008-07-02 jurisdiction=Delaware party=Unionbancal_Corporation party=The_Bank_Of_Tokyo-Mitsubishi_Ufj term=2_years
54 effective_date=2012-06-11 jurisdiction=Delaware party=Lightwave_Logic_Inc. party=Ronald_A._Bucchi
55 effective_date=2007-03-04 jurisdiction=Delaware party=Webex_Communications_Inc. party=Cisco_Systems_Inc. term=2_years
56 effective_date=2007-04-30 jurisdiction=Massachusetts party=Accurel_Systems_International_Corporation party=Implant_Sciences_Corporation
57 effective_date=2011-11-01 jurisdiction=California party=Life_Technologies_Corporation party=Bernd_Brust
58 effective_date=2012-09-20 party=Contran_Corporation party=Precision_Castparts_Corp.
59 effective_date=2016-03-15 jurisdiction=Delaware party=Orchestra-Prémaman_Sa party=Destination_Maternity_Corporation term=9_months
60 effective_date=2005-09-29 jurisdiction=Illinois party=Paul_B._Mulhollem party=Archer-Daniels-Midland_Company
61 effective_date=2005-05-04 jurisdiction=Idaho party=Affiliated_Companies party=Michael_L._Mooney
62 effective_date=2007-08-14 jurisdiction=Washington party=Photoworks_Inc. party=American_Greetings_Corporation
63 effective_date=2016-05-03 jurisdiction=New_York party=Wizard_World_Inc. party=John_D._Maatta
64 effective_date=2008-08-01 jurisdiction=New_York party=Omrix_Biopharmaceuticals_Inc. party=Ethicon_Inc.
65 effective_date=2006-01-01 jurisdiction=California party=Bank_Of_Beverly_Hills party=Joseph_W._Kiley_Iii term=12_months
66 effective_date=2015-03-16 jurisdiction=Utah party=Galil_Medical_Inc. party=Perseon_Corporation
67 effective_date=2012-07-05 jurisdiction=Delaware party=Curtiss-Wright_Controls_Inc. party=Williams_Controls_Inc. term=3_years
68 effective_date=2015-12-08 jurisdiction=Washington party=Anchor_Bancorp party=Joel_S._Lawson_Iv party=Varonica_S._Ragan term=1_year
69 effective_date=2005-02-24 jurisdiction=Virginia party=Mobile_Satellite_Ventures party=Alexander_H._Good
70 effective_date=2006-12-19 jurisdiction=New_York party=Mapinfo_Corporation party=Pitney_Bowes_Inc.
71 jurisdiction=New_York party=Axcan_Pharma_Inc. party=Tpg_Capital_LP party=Eurand_N.V. term=24_months
72 jurisdiction=Illinois party=Motorola_Inc. party=Iridium_Satellite_LLC
73 effective_date=2008-01-01 jurisdiction=California party=Gigoptix_LLC party=Avi_Katz
74 effective_date=2017-10-02 jurisdiction=Delaware party=Potbelly_Corporation party=Ancora_Advisors_LLC term=2_years
75 party=Ideal_Restaurant_Group_Inc. party=The_Schooner_Group_LLC
76 effective_date=2011-03-29 jurisdiction=Texas party=Newgistics_Inc. party=Stephen_M._Mattessich
77 effective_date=2011-05-26 jurisdiction=California party=Skyworks_Solutions_Inc. party=Richard_K._Williams
78 effective_date=2006-09-01 jurisdiction=Washington party=Microsoft_Corporation party=Digital_River_Inc.
79 effective_date=2015-04-02 jurisdiction=Delaware party=Columbus_Mckinnon_Corporation party=Magnetek_Inc. term=3_years
80 effective_date=2017-07-21 jurisdiction=Washington party=Adaptive_Biotechnologies party=Microsoft_Corporation
81 effective_date=2011-01-18 jurisdiction=New_York party=Orthovita_Inc. party=Stryker_Corporation term=2_years
82 jurisdiction=Washington party=Alder_Biopharmaceuticals_Inc. party=H._Lundbeck_A/S term=1_year
83 effective_date=2015-07-21 jurisdiction=Illinois party=Us_Foods_Inc. party=Pietro_Satriano

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,83 @@
jurisdiction=New_York
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Delaware
jurisdiction=New_Jersey
jurisdiction=New_York
jurisdiction=Alabama
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=Delaware
jurisdiction=California
jurisdiction=New_York
jurisdiction=California
jurisdiction=Iowa
jurisdiction=Delaware
jurisdiction=Virginia
jurisdiction=North_Carolina
jurisdiction=Arizona
jurisdiction=Indiana
jurisdiction=New_Jersey
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=California
jurisdiction=Minnesota
jurisdiction=Delaware
jurisdiction=Kentucky
jurisdiction=Minnesota
jurisdiction=Ohio
jurisdiction=Massachusetts
jurisdiction=California
jurisdiction=Minnesota
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=Minnesota
jurisdiction=Texas
jurisdiction=New_Jersey
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=Oregon
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=Idaho
jurisdiction=Ohio
jurisdiction=California
jurisdiction=New_York
jurisdiction=California
jurisdiction=Utah
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Virginia
jurisdiction=Connecticut
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Alabama
jurisdiction=Texas
jurisdiction=California
jurisdiction=Washington
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=New_York
jurisdiction=Washington
jurisdiction=Illinois
1 jurisdiction=New_York
2 jurisdiction=Georgia
3 jurisdiction=Delaware
4 jurisdiction=Massachusetts
5 jurisdiction=Delaware
6 jurisdiction=Washington
7 jurisdiction=Delaware
8 jurisdiction=New_Jersey
9 jurisdiction=New_York
10 jurisdiction=Alabama
11 jurisdiction=Delaware
12 jurisdiction=Delaware
13 jurisdiction=Delaware
14 jurisdiction=Delaware
15 jurisdiction=Delaware
16 jurisdiction=Massachusetts
17 jurisdiction=Delaware
18 jurisdiction=California
19 jurisdiction=New_York
20 jurisdiction=California
21 jurisdiction=Iowa
22 jurisdiction=Delaware
23 jurisdiction=Virginia
24 jurisdiction=North_Carolina
25 jurisdiction=Arizona
26 jurisdiction=Indiana
27 jurisdiction=New_Jersey
28 jurisdiction=California
29 jurisdiction=Delaware
30 jurisdiction=Georgia
31 jurisdiction=Delaware
32 jurisdiction=New_York
33 jurisdiction=California
34 jurisdiction=Minnesota
35 jurisdiction=Delaware
36 jurisdiction=Kentucky
37 jurisdiction=Minnesota
38 jurisdiction=Ohio
39 jurisdiction=Massachusetts
40 jurisdiction=California
41 jurisdiction=Minnesota
42 jurisdiction=California
43 jurisdiction=Delaware
44 jurisdiction=Illinois
45 jurisdiction=Minnesota
46 jurisdiction=Texas
47 jurisdiction=New_Jersey
48 jurisdiction=Delaware
49 jurisdiction=Washington
50 jurisdiction=Georgia
51 jurisdiction=Delaware
52 jurisdiction=Oregon
53 jurisdiction=California
54 jurisdiction=Delaware
55 jurisdiction=Delaware
56 jurisdiction=Massachusetts
57 jurisdiction=California
58 jurisdiction=Delaware
59 jurisdiction=Delaware
60 jurisdiction=Illinois
61 jurisdiction=Idaho
62 jurisdiction=Ohio
63 jurisdiction=California
64 jurisdiction=New_York
65 jurisdiction=California
66 jurisdiction=Utah
67 jurisdiction=Delaware
68 jurisdiction=Washington
69 jurisdiction=Virginia
70 jurisdiction=Connecticut
71 jurisdiction=New_York
72 jurisdiction=Delaware
73 jurisdiction=California
74 jurisdiction=Delaware
75 jurisdiction=Alabama
76 jurisdiction=Texas
77 jurisdiction=California
78 jurisdiction=Washington
79 jurisdiction=Delaware
80 jurisdiction=Washington
81 jurisdiction=New_York
82 jurisdiction=Washington
83 jurisdiction=Illinois

83
dev-0/in.tsv Normal file

File diff suppressed because one or more lines are too long

83
dev-0/out.tsv Normal file
View File

@ -0,0 +1,83 @@
jurisdiction=New_York
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Delaware
jurisdiction=New_Jersey
jurisdiction=New_York
jurisdiction=Alabama
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=Delaware
jurisdiction=California
jurisdiction=New_York
jurisdiction=California
jurisdiction=Iowa
jurisdiction=Delaware
jurisdiction=Virginia
jurisdiction=North_Carolina
jurisdiction=Arizona
jurisdiction=Indiana
jurisdiction=New_Jersey
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=California
jurisdiction=Minnesota
jurisdiction=Delaware
jurisdiction=Kentucky
jurisdiction=Minnesota
jurisdiction=Ohio
jurisdiction=Massachusetts
jurisdiction=California
jurisdiction=Minnesota
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=Minnesota
jurisdiction=Texas
jurisdiction=New_Jersey
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=Oregon
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=Idaho
jurisdiction=Ohio
jurisdiction=California
jurisdiction=New_York
jurisdiction=California
jurisdiction=Utah
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Virginia
jurisdiction=Connecticut
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Alabama
jurisdiction=Texas
jurisdiction=California
jurisdiction=Washington
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=New_York
jurisdiction=Washington
jurisdiction=Illinois
1 jurisdiction=New_York
2 jurisdiction=Georgia
3 jurisdiction=Delaware
4 jurisdiction=Massachusetts
5 jurisdiction=Delaware
6 jurisdiction=Washington
7 jurisdiction=Delaware
8 jurisdiction=New_Jersey
9 jurisdiction=New_York
10 jurisdiction=Alabama
11 jurisdiction=Delaware
12 jurisdiction=Delaware
13 jurisdiction=Delaware
14 jurisdiction=Delaware
15 jurisdiction=Delaware
16 jurisdiction=Massachusetts
17 jurisdiction=Delaware
18 jurisdiction=California
19 jurisdiction=New_York
20 jurisdiction=California
21 jurisdiction=Iowa
22 jurisdiction=Delaware
23 jurisdiction=Virginia
24 jurisdiction=North_Carolina
25 jurisdiction=Arizona
26 jurisdiction=Indiana
27 jurisdiction=New_Jersey
28 jurisdiction=California
29 jurisdiction=Delaware
30 jurisdiction=Georgia
31 jurisdiction=Delaware
32 jurisdiction=New_York
33 jurisdiction=California
34 jurisdiction=Minnesota
35 jurisdiction=Delaware
36 jurisdiction=Kentucky
37 jurisdiction=Minnesota
38 jurisdiction=Ohio
39 jurisdiction=Massachusetts
40 jurisdiction=California
41 jurisdiction=Minnesota
42 jurisdiction=California
43 jurisdiction=Delaware
44 jurisdiction=Illinois
45 jurisdiction=Minnesota
46 jurisdiction=Texas
47 jurisdiction=New_Jersey
48 jurisdiction=Delaware
49 jurisdiction=Washington
50 jurisdiction=Georgia
51 jurisdiction=Delaware
52 jurisdiction=Oregon
53 jurisdiction=California
54 jurisdiction=Delaware
55 jurisdiction=Delaware
56 jurisdiction=Massachusetts
57 jurisdiction=California
58 jurisdiction=Delaware
59 jurisdiction=Delaware
60 jurisdiction=Illinois
61 jurisdiction=Idaho
62 jurisdiction=Ohio
63 jurisdiction=California
64 jurisdiction=New_York
65 jurisdiction=California
66 jurisdiction=Utah
67 jurisdiction=Delaware
68 jurisdiction=Washington
69 jurisdiction=Virginia
70 jurisdiction=Connecticut
71 jurisdiction=New_York
72 jurisdiction=Delaware
73 jurisdiction=California
74 jurisdiction=Delaware
75 jurisdiction=Alabama
76 jurisdiction=Texas
77 jurisdiction=California
78 jurisdiction=Washington
79 jurisdiction=Delaware
80 jurisdiction=Washington
81 jurisdiction=New_York
82 jurisdiction=Washington
83 jurisdiction=Illinois

122
run.ipynb Normal file
View File

@ -0,0 +1,122 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 17,
"id": "8b07c9a5-e5cf-4cf9-a6d9-e784eb109fef",
"metadata": {},
"outputs": [],
"source": [
"import re"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "fce94c21-6792-4938-bf2c-3f46ecf2f954",
"metadata": {},
"outputs": [],
"source": [
"states = ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia', \n",
" 'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland', \n",
" 'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey', \n",
" 'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina', \n",
" 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming']"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "eb1815f2-1876-4437-833a-ff22de81685e",
"metadata": {},
"outputs": [],
"source": [
"def counter(text_in, query):\n",
" pattern = re.compile(query)\n",
" return len(pattern.findall(text_in, re.IGNORECASE))"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "8729062d-87b8-4111-a216-8500334f54b6",
"metadata": {},
"outputs": [],
"source": [
"def state_prediction(text_in):\n",
" state_dict = {}\n",
" for state in states:\n",
" state_dict[state.replace(\" \", \"_\")] = counter(text_in, state) \n",
" return max(state_dict, key=state_dict.get)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"id": "ea8069f7-de8e-454c-8eac-9fb7cc0df626",
"metadata": {},
"outputs": [],
"source": [
"def jurisdiction(path_in, path_out): \n",
" with open(path_in, 'r', encoding='utf8') as file:\n",
" lines = file.readlines() \n",
" with open(path_out, 'wt')as file_out:\n",
" for i in lines:\n",
" file_out.write(\"jurisdiction=\"+str(state_prediction(i))+'\\n') \n",
" file_out.close()"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "ade45bfb-9eaa-4b2b-bba1-6cfcaf0a9ce6",
"metadata": {},
"outputs": [],
"source": [
"jurisdiction('dev-0/in.tsv', 'dev-0/out.tsv')\n",
"jurisdiction('train/in.tsv', 'train/out.tsv')\n",
"jurisdiction('test-A/in.tsv', 'test-A/out.tsv')"
]
},
{
"cell_type": "code",
"execution_count": 22,
"id": "594a25a9-a0ce-4de9-82c8-df50a4ecac39",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[NbConvertApp] Converting notebook run.ipynb to script\n",
"[NbConvertApp] Writing 1634 bytes to run.py\n"
]
}
],
"source": [
"!jupyter nbconvert --to script run.ipynb"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

62
run.py Normal file
View File

@ -0,0 +1,62 @@
#!/usr/bin/env python
# coding: utf-8
# In[17]:
import re
# In[5]:
states = ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia',
'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland',
'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey',
'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina',
'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming']
# In[6]:
def counter(text_in, query):
pattern = re.compile(query)
return len(pattern.findall(text_in, re.IGNORECASE))
# In[7]:
def state_prediction(text_in):
state_dict = {}
for state in states:
state_dict[state.replace(" ", "_")] = counter(text_in, state)
return max(state_dict, key=state_dict.get)
# In[20]:
def jurisdiction(path_in, path_out):
with open(path_in, 'r', encoding='utf8') as file:
lines = file.readlines()
with open(path_out, 'wt')as file_out:
for i in lines:
file_out.write("jurisdiction="+str(state_prediction(i))+'\n')
file_out.close()
# In[21]:
jurisdiction('dev-0/in.tsv', 'dev-0/out.tsv')
jurisdiction('train/in.tsv', 'train/out.tsv')
jurisdiction('test-A/in.tsv', 'test-A/out.tsv')
# In[ ]:
# get_ipython().system('jupyter nbconvert --to script run.ipynb')

203
test-A/in.tsv Normal file

File diff suppressed because one or more lines are too long

203
test-A/out.tsv Normal file
View File

@ -0,0 +1,203 @@
jurisdiction=Ohio
jurisdiction=California
jurisdiction=Indiana
jurisdiction=New_York
jurisdiction=Nevada
jurisdiction=Colorado
jurisdiction=Colorado
jurisdiction=California
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=California
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=Georgia
jurisdiction=Texas
jurisdiction=California
jurisdiction=Washington
jurisdiction=Alabama
jurisdiction=Florida
jurisdiction=Delaware
jurisdiction=Florida
jurisdiction=New_York
jurisdiction=California
jurisdiction=Florida
jurisdiction=New_York
jurisdiction=Washington
jurisdiction=Texas
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Delaware
jurisdiction=Pennsylvania
jurisdiction=California
jurisdiction=California
jurisdiction=New_York
jurisdiction=California
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Florida
jurisdiction=California
jurisdiction=Virginia
jurisdiction=Pennsylvania
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Virginia
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=New_Jersey
jurisdiction=Delaware
jurisdiction=Texas
jurisdiction=Massachusetts
jurisdiction=Washington
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=Pennsylvania
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=Connecticut
jurisdiction=California
jurisdiction=Texas
jurisdiction=Delaware
jurisdiction=Virginia
jurisdiction=Delaware
jurisdiction=Washington
jurisdiction=Minnesota
jurisdiction=Delaware
jurisdiction=Texas
jurisdiction=Colorado
jurisdiction=Colorado
jurisdiction=Nevada
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=New_Jersey
jurisdiction=New_York
jurisdiction=Florida
jurisdiction=Virginia
jurisdiction=Delaware
jurisdiction=Nevada
jurisdiction=Delaware
jurisdiction=New_Jersey
jurisdiction=Delaware
jurisdiction=Minnesota
jurisdiction=Connecticut
jurisdiction=North_Carolina
jurisdiction=Kansas
jurisdiction=Florida
jurisdiction=Washington
jurisdiction=Oregon
jurisdiction=New_York
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=Colorado
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Ohio
jurisdiction=Minnesota
jurisdiction=Delaware
jurisdiction=California
jurisdiction=Connecticut
jurisdiction=Maryland
jurisdiction=Delaware
jurisdiction=Utah
jurisdiction=California
jurisdiction=Utah
jurisdiction=Colorado
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Virginia
jurisdiction=Massachusetts
jurisdiction=Texas
jurisdiction=Massachusetts
jurisdiction=Colorado
jurisdiction=New_York
jurisdiction=Michigan
jurisdiction=Pennsylvania
jurisdiction=New_York
jurisdiction=New_Jersey
jurisdiction=Georgia
jurisdiction=Minnesota
jurisdiction=Ohio
jurisdiction=Oregon
jurisdiction=New_Jersey
jurisdiction=Florida
jurisdiction=Oregon
jurisdiction=Massachusetts
jurisdiction=Ohio
jurisdiction=Minnesota
jurisdiction=Maryland
jurisdiction=Indiana
jurisdiction=California
jurisdiction=Virginia
jurisdiction=Tennessee
jurisdiction=Delaware
jurisdiction=Maryland
jurisdiction=Minnesota
jurisdiction=Ohio
jurisdiction=California
jurisdiction=New_Jersey
jurisdiction=Colorado
jurisdiction=Indiana
jurisdiction=Virginia
jurisdiction=Minnesota
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Louisiana
jurisdiction=Georgia
jurisdiction=New_York
jurisdiction=New_York
jurisdiction=Oregon
jurisdiction=Nevada
jurisdiction=California
jurisdiction=North_Carolina
jurisdiction=California
jurisdiction=Georgia
jurisdiction=California
jurisdiction=New_York
jurisdiction=Alabama
jurisdiction=New_York
jurisdiction=Indiana
jurisdiction=Georgia
jurisdiction=New_Jersey
jurisdiction=Minnesota
jurisdiction=North_Carolina
jurisdiction=Delaware
jurisdiction=Kentucky
jurisdiction=Nevada
jurisdiction=Missouri
jurisdiction=Colorado
jurisdiction=Connecticut
jurisdiction=Delaware
jurisdiction=North_Carolina
jurisdiction=Delaware
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=Pennsylvania
jurisdiction=California
jurisdiction=Maryland
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Pennsylvania
jurisdiction=New_York
jurisdiction=Virginia
jurisdiction=Virginia
jurisdiction=Delaware
jurisdiction=Nevada
jurisdiction=Nevada
jurisdiction=Delaware
jurisdiction=California
jurisdiction=Colorado
jurisdiction=Alabama
1 jurisdiction=Ohio
2 jurisdiction=California
3 jurisdiction=Indiana
4 jurisdiction=New_York
5 jurisdiction=Nevada
6 jurisdiction=Colorado
7 jurisdiction=Colorado
8 jurisdiction=California
9 jurisdiction=Delaware
10 jurisdiction=New_York
11 jurisdiction=California
12 jurisdiction=Delaware
13 jurisdiction=New_York
14 jurisdiction=Georgia
15 jurisdiction=Texas
16 jurisdiction=California
17 jurisdiction=Washington
18 jurisdiction=Alabama
19 jurisdiction=Florida
20 jurisdiction=Delaware
21 jurisdiction=Florida
22 jurisdiction=New_York
23 jurisdiction=California
24 jurisdiction=Florida
25 jurisdiction=New_York
26 jurisdiction=Washington
27 jurisdiction=Texas
28 jurisdiction=Delaware
29 jurisdiction=Delaware
30 jurisdiction=Washington
31 jurisdiction=Delaware
32 jurisdiction=Pennsylvania
33 jurisdiction=California
34 jurisdiction=California
35 jurisdiction=New_York
36 jurisdiction=California
37 jurisdiction=New_York
38 jurisdiction=Delaware
39 jurisdiction=Florida
40 jurisdiction=California
41 jurisdiction=Virginia
42 jurisdiction=Pennsylvania
43 jurisdiction=Delaware
44 jurisdiction=Washington
45 jurisdiction=Virginia
46 jurisdiction=California
47 jurisdiction=Delaware
48 jurisdiction=Delaware
49 jurisdiction=New_Jersey
50 jurisdiction=Delaware
51 jurisdiction=Texas
52 jurisdiction=Massachusetts
53 jurisdiction=Washington
54 jurisdiction=Delaware
55 jurisdiction=Delaware
56 jurisdiction=New_York
57 jurisdiction=Pennsylvania
58 jurisdiction=California
59 jurisdiction=Delaware
60 jurisdiction=Delaware
61 jurisdiction=Delaware
62 jurisdiction=Massachusetts
63 jurisdiction=Connecticut
64 jurisdiction=California
65 jurisdiction=Texas
66 jurisdiction=Delaware
67 jurisdiction=Virginia
68 jurisdiction=Delaware
69 jurisdiction=Washington
70 jurisdiction=Minnesota
71 jurisdiction=Delaware
72 jurisdiction=Texas
73 jurisdiction=Colorado
74 jurisdiction=Colorado
75 jurisdiction=Nevada
76 jurisdiction=New_York
77 jurisdiction=Delaware
78 jurisdiction=Illinois
79 jurisdiction=New_Jersey
80 jurisdiction=New_York
81 jurisdiction=Florida
82 jurisdiction=Virginia
83 jurisdiction=Delaware
84 jurisdiction=Nevada
85 jurisdiction=Delaware
86 jurisdiction=New_Jersey
87 jurisdiction=Delaware
88 jurisdiction=Minnesota
89 jurisdiction=Connecticut
90 jurisdiction=North_Carolina
91 jurisdiction=Kansas
92 jurisdiction=Florida
93 jurisdiction=Washington
94 jurisdiction=Oregon
95 jurisdiction=New_York
96 jurisdiction=Georgia
97 jurisdiction=Delaware
98 jurisdiction=New_York
99 jurisdiction=Colorado
100 jurisdiction=California
101 jurisdiction=Delaware
102 jurisdiction=Ohio
103 jurisdiction=Minnesota
104 jurisdiction=Delaware
105 jurisdiction=California
106 jurisdiction=Connecticut
107 jurisdiction=Maryland
108 jurisdiction=Delaware
109 jurisdiction=Utah
110 jurisdiction=California
111 jurisdiction=Utah
112 jurisdiction=Colorado
113 jurisdiction=Delaware
114 jurisdiction=New_York
115 jurisdiction=California
116 jurisdiction=Delaware
117 jurisdiction=Virginia
118 jurisdiction=Massachusetts
119 jurisdiction=Texas
120 jurisdiction=Massachusetts
121 jurisdiction=Colorado
122 jurisdiction=New_York
123 jurisdiction=Michigan
124 jurisdiction=Pennsylvania
125 jurisdiction=New_York
126 jurisdiction=New_Jersey
127 jurisdiction=Georgia
128 jurisdiction=Minnesota
129 jurisdiction=Ohio
130 jurisdiction=Oregon
131 jurisdiction=New_Jersey
132 jurisdiction=Florida
133 jurisdiction=Oregon
134 jurisdiction=Massachusetts
135 jurisdiction=Ohio
136 jurisdiction=Minnesota
137 jurisdiction=Maryland
138 jurisdiction=Indiana
139 jurisdiction=California
140 jurisdiction=Virginia
141 jurisdiction=Tennessee
142 jurisdiction=Delaware
143 jurisdiction=Maryland
144 jurisdiction=Minnesota
145 jurisdiction=Ohio
146 jurisdiction=California
147 jurisdiction=New_Jersey
148 jurisdiction=Colorado
149 jurisdiction=Indiana
150 jurisdiction=Virginia
151 jurisdiction=Minnesota
152 jurisdiction=New_York
153 jurisdiction=Delaware
154 jurisdiction=New_York
155 jurisdiction=California
156 jurisdiction=Delaware
157 jurisdiction=Louisiana
158 jurisdiction=Georgia
159 jurisdiction=New_York
160 jurisdiction=New_York
161 jurisdiction=Oregon
162 jurisdiction=Nevada
163 jurisdiction=California
164 jurisdiction=North_Carolina
165 jurisdiction=California
166 jurisdiction=Georgia
167 jurisdiction=California
168 jurisdiction=New_York
169 jurisdiction=Alabama
170 jurisdiction=New_York
171 jurisdiction=Indiana
172 jurisdiction=Georgia
173 jurisdiction=New_Jersey
174 jurisdiction=Minnesota
175 jurisdiction=North_Carolina
176 jurisdiction=Delaware
177 jurisdiction=Kentucky
178 jurisdiction=Nevada
179 jurisdiction=Missouri
180 jurisdiction=Colorado
181 jurisdiction=Connecticut
182 jurisdiction=Delaware
183 jurisdiction=North_Carolina
184 jurisdiction=Delaware
185 jurisdiction=Georgia
186 jurisdiction=Delaware
187 jurisdiction=New_York
188 jurisdiction=Pennsylvania
189 jurisdiction=California
190 jurisdiction=Maryland
191 jurisdiction=California
192 jurisdiction=Delaware
193 jurisdiction=Pennsylvania
194 jurisdiction=New_York
195 jurisdiction=Virginia
196 jurisdiction=Virginia
197 jurisdiction=Delaware
198 jurisdiction=Nevada
199 jurisdiction=Nevada
200 jurisdiction=Delaware
201 jurisdiction=California
202 jurisdiction=Colorado
203 jurisdiction=Alabama

254
train/in.tsv Normal file

File diff suppressed because one or more lines are too long

254
train/out.tsv Normal file
View File

@ -0,0 +1,254 @@
jurisdiction=Oregon
jurisdiction=Delaware
jurisdiction=Florida
jurisdiction=Pennsylvania
jurisdiction=California
jurisdiction=California
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Iowa
jurisdiction=Delaware
jurisdiction=Indiana
jurisdiction=New_York
jurisdiction=Massachusetts
jurisdiction=New_York
jurisdiction=Michigan
jurisdiction=Indiana
jurisdiction=Colorado
jurisdiction=Florida
jurisdiction=New_York
jurisdiction=Oregon
jurisdiction=Pennsylvania
jurisdiction=Delaware
jurisdiction=Florida
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=Illinois
jurisdiction=Delaware
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Missouri
jurisdiction=Oregon
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Connecticut
jurisdiction=Nevada
jurisdiction=New_York
jurisdiction=Illinois
jurisdiction=Idaho
jurisdiction=Florida
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Minnesota
jurisdiction=Virginia
jurisdiction=California
jurisdiction=California
jurisdiction=Nevada
jurisdiction=New_York
jurisdiction=Washington
jurisdiction=New_York
jurisdiction=Ohio
jurisdiction=Nevada
jurisdiction=Florida
jurisdiction=Delaware
jurisdiction=Texas
jurisdiction=New_York
jurisdiction=New_York
jurisdiction=Virginia
jurisdiction=Wisconsin
jurisdiction=Colorado
jurisdiction=Oregon
jurisdiction=Delaware
jurisdiction=Ohio
jurisdiction=Missouri
jurisdiction=South_Dakota
jurisdiction=New_York
jurisdiction=Indiana
jurisdiction=Minnesota
jurisdiction=Maine
jurisdiction=Kansas
jurisdiction=Delaware
jurisdiction=Illinois
jurisdiction=Indiana
jurisdiction=Massachusetts
jurisdiction=Illinois
jurisdiction=New_Jersey
jurisdiction=California
jurisdiction=California
jurisdiction=Maine
jurisdiction=North_Carolina
jurisdiction=Missouri
jurisdiction=Georgia
jurisdiction=Missouri
jurisdiction=New_York
jurisdiction=Georgia
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=California
jurisdiction=Oregon
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Connecticut
jurisdiction=Utah
jurisdiction=Texas
jurisdiction=Delaware
jurisdiction=Ohio
jurisdiction=California
jurisdiction=California
jurisdiction=New_York
jurisdiction=North_Carolina
jurisdiction=Texas
jurisdiction=New_York
jurisdiction=New_Jersey
jurisdiction=Georgia
jurisdiction=Massachusetts
jurisdiction=Texas
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=Pennsylvania
jurisdiction=Pennsylvania
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Florida
jurisdiction=California
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Oregon
jurisdiction=North_Carolina
jurisdiction=Delaware
jurisdiction=Maryland
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=Massachusetts
jurisdiction=Massachusetts
jurisdiction=New_York
jurisdiction=Missouri
jurisdiction=Virginia
jurisdiction=California
jurisdiction=Virginia
jurisdiction=California
jurisdiction=Alabama
jurisdiction=Wisconsin
jurisdiction=Washington
jurisdiction=New_York
jurisdiction=California
jurisdiction=Illinois
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=California
jurisdiction=Ohio
jurisdiction=Illinois
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Massachusetts
jurisdiction=Massachusetts
jurisdiction=Utah
jurisdiction=Washington
jurisdiction=Texas
jurisdiction=California
jurisdiction=California
jurisdiction=Colorado
jurisdiction=Georgia
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=New_Jersey
jurisdiction=Virginia
jurisdiction=New_York
jurisdiction=Michigan
jurisdiction=Nevada
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=California
jurisdiction=New_York
jurisdiction=New_York
jurisdiction=California
jurisdiction=New_Jersey
jurisdiction=Missouri
jurisdiction=Delaware
jurisdiction=Texas
jurisdiction=New_Jersey
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Missouri
jurisdiction=Delaware
jurisdiction=Nevada
jurisdiction=Florida
jurisdiction=Delaware
jurisdiction=Oregon
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=New_York
jurisdiction=Texas
jurisdiction=New_Jersey
jurisdiction=Florida
jurisdiction=New_York
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Delaware
jurisdiction=Oregon
jurisdiction=Washington
jurisdiction=Alabama
jurisdiction=California
jurisdiction=Delaware
jurisdiction=California
jurisdiction=New_York
jurisdiction=Delaware
jurisdiction=Colorado
jurisdiction=Pennsylvania
jurisdiction=New_York
jurisdiction=Indiana
jurisdiction=Delaware
jurisdiction=Pennsylvania
jurisdiction=Massachusetts
jurisdiction=Massachusetts
jurisdiction=New_York
jurisdiction=Ohio
jurisdiction=Illinois
jurisdiction=California
jurisdiction=California
jurisdiction=California
jurisdiction=Oregon
jurisdiction=Texas
jurisdiction=New_York
jurisdiction=Michigan
jurisdiction=Delaware
jurisdiction=California
jurisdiction=Florida
jurisdiction=California
jurisdiction=Ohio
jurisdiction=New_York
jurisdiction=Massachusetts
jurisdiction=Delaware
jurisdiction=Georgia
jurisdiction=New_York
jurisdiction=Massachusetts
jurisdiction=Texas
jurisdiction=New_York
jurisdiction=Pennsylvania
jurisdiction=Michigan
jurisdiction=Washington
jurisdiction=New_York
jurisdiction=Missouri
jurisdiction=California
jurisdiction=California
jurisdiction=California
jurisdiction=Delaware
jurisdiction=Florida
jurisdiction=Ohio
jurisdiction=Delaware
jurisdiction=New_York
jurisdiction=New_York
jurisdiction=Pennsylvania
jurisdiction=New_York
jurisdiction=Illinois
jurisdiction=California
jurisdiction=Florida
jurisdiction=New_York
jurisdiction=Connecticut
jurisdiction=California
jurisdiction=Delaware
1 jurisdiction=Oregon
2 jurisdiction=Delaware
3 jurisdiction=Florida
4 jurisdiction=Pennsylvania
5 jurisdiction=California
6 jurisdiction=California
7 jurisdiction=New_York
8 jurisdiction=Delaware
9 jurisdiction=Illinois
10 jurisdiction=New_York
11 jurisdiction=Delaware
12 jurisdiction=Iowa
13 jurisdiction=Delaware
14 jurisdiction=Indiana
15 jurisdiction=New_York
16 jurisdiction=Massachusetts
17 jurisdiction=New_York
18 jurisdiction=Michigan
19 jurisdiction=Indiana
20 jurisdiction=Colorado
21 jurisdiction=Florida
22 jurisdiction=New_York
23 jurisdiction=Oregon
24 jurisdiction=Pennsylvania
25 jurisdiction=Delaware
26 jurisdiction=Florida
27 jurisdiction=Delaware
28 jurisdiction=Illinois
29 jurisdiction=Illinois
30 jurisdiction=Delaware
31 jurisdiction=California
32 jurisdiction=Delaware
33 jurisdiction=Missouri
34 jurisdiction=Oregon
35 jurisdiction=Delaware
36 jurisdiction=Delaware
37 jurisdiction=Connecticut
38 jurisdiction=Nevada
39 jurisdiction=New_York
40 jurisdiction=Illinois
41 jurisdiction=Idaho
42 jurisdiction=Florida
43 jurisdiction=Delaware
44 jurisdiction=Delaware
45 jurisdiction=Minnesota
46 jurisdiction=Virginia
47 jurisdiction=California
48 jurisdiction=California
49 jurisdiction=Nevada
50 jurisdiction=New_York
51 jurisdiction=Washington
52 jurisdiction=New_York
53 jurisdiction=Ohio
54 jurisdiction=Nevada
55 jurisdiction=Florida
56 jurisdiction=Delaware
57 jurisdiction=Texas
58 jurisdiction=New_York
59 jurisdiction=New_York
60 jurisdiction=Virginia
61 jurisdiction=Wisconsin
62 jurisdiction=Colorado
63 jurisdiction=Oregon
64 jurisdiction=Delaware
65 jurisdiction=Ohio
66 jurisdiction=Missouri
67 jurisdiction=South_Dakota
68 jurisdiction=New_York
69 jurisdiction=Indiana
70 jurisdiction=Minnesota
71 jurisdiction=Maine
72 jurisdiction=Kansas
73 jurisdiction=Delaware
74 jurisdiction=Illinois
75 jurisdiction=Indiana
76 jurisdiction=Massachusetts
77 jurisdiction=Illinois
78 jurisdiction=New_Jersey
79 jurisdiction=California
80 jurisdiction=California
81 jurisdiction=Maine
82 jurisdiction=North_Carolina
83 jurisdiction=Missouri
84 jurisdiction=Georgia
85 jurisdiction=Missouri
86 jurisdiction=New_York
87 jurisdiction=Georgia
88 jurisdiction=New_York
89 jurisdiction=Delaware
90 jurisdiction=California
91 jurisdiction=Oregon
92 jurisdiction=Delaware
93 jurisdiction=Delaware
94 jurisdiction=Connecticut
95 jurisdiction=Utah
96 jurisdiction=Texas
97 jurisdiction=Delaware
98 jurisdiction=Ohio
99 jurisdiction=California
100 jurisdiction=California
101 jurisdiction=New_York
102 jurisdiction=North_Carolina
103 jurisdiction=Texas
104 jurisdiction=New_York
105 jurisdiction=New_Jersey
106 jurisdiction=Georgia
107 jurisdiction=Massachusetts
108 jurisdiction=Texas
109 jurisdiction=Delaware
110 jurisdiction=New_York
111 jurisdiction=Pennsylvania
112 jurisdiction=Pennsylvania
113 jurisdiction=Delaware
114 jurisdiction=Delaware
115 jurisdiction=Florida
116 jurisdiction=California
117 jurisdiction=California
118 jurisdiction=Delaware
119 jurisdiction=Oregon
120 jurisdiction=North_Carolina
121 jurisdiction=Delaware
122 jurisdiction=Maryland
123 jurisdiction=Delaware
124 jurisdiction=Delaware
125 jurisdiction=New_York
126 jurisdiction=Massachusetts
127 jurisdiction=Massachusetts
128 jurisdiction=New_York
129 jurisdiction=Missouri
130 jurisdiction=Virginia
131 jurisdiction=California
132 jurisdiction=Virginia
133 jurisdiction=California
134 jurisdiction=Alabama
135 jurisdiction=Wisconsin
136 jurisdiction=Washington
137 jurisdiction=New_York
138 jurisdiction=California
139 jurisdiction=Illinois
140 jurisdiction=Delaware
141 jurisdiction=Massachusetts
142 jurisdiction=California
143 jurisdiction=Ohio
144 jurisdiction=Illinois
145 jurisdiction=New_York
146 jurisdiction=Delaware
147 jurisdiction=Delaware
148 jurisdiction=Massachusetts
149 jurisdiction=Massachusetts
150 jurisdiction=Utah
151 jurisdiction=Washington
152 jurisdiction=Texas
153 jurisdiction=California
154 jurisdiction=California
155 jurisdiction=Colorado
156 jurisdiction=Georgia
157 jurisdiction=Delaware
158 jurisdiction=Delaware
159 jurisdiction=New_Jersey
160 jurisdiction=Virginia
161 jurisdiction=New_York
162 jurisdiction=Michigan
163 jurisdiction=Nevada
164 jurisdiction=New_York
165 jurisdiction=Delaware
166 jurisdiction=California
167 jurisdiction=New_York
168 jurisdiction=New_York
169 jurisdiction=California
170 jurisdiction=New_Jersey
171 jurisdiction=Missouri
172 jurisdiction=Delaware
173 jurisdiction=Texas
174 jurisdiction=New_Jersey
175 jurisdiction=New_York
176 jurisdiction=Delaware
177 jurisdiction=Missouri
178 jurisdiction=Delaware
179 jurisdiction=Nevada
180 jurisdiction=Florida
181 jurisdiction=Delaware
182 jurisdiction=Oregon
183 jurisdiction=Delaware
184 jurisdiction=New_York
185 jurisdiction=New_York
186 jurisdiction=Texas
187 jurisdiction=New_Jersey
188 jurisdiction=Florida
189 jurisdiction=New_York
190 jurisdiction=New_York
191 jurisdiction=Delaware
192 jurisdiction=Delaware
193 jurisdiction=Oregon
194 jurisdiction=Washington
195 jurisdiction=Alabama
196 jurisdiction=California
197 jurisdiction=Delaware
198 jurisdiction=California
199 jurisdiction=New_York
200 jurisdiction=Delaware
201 jurisdiction=Colorado
202 jurisdiction=Pennsylvania
203 jurisdiction=New_York
204 jurisdiction=Indiana
205 jurisdiction=Delaware
206 jurisdiction=Pennsylvania
207 jurisdiction=Massachusetts
208 jurisdiction=Massachusetts
209 jurisdiction=New_York
210 jurisdiction=Ohio
211 jurisdiction=Illinois
212 jurisdiction=California
213 jurisdiction=California
214 jurisdiction=California
215 jurisdiction=Oregon
216 jurisdiction=Texas
217 jurisdiction=New_York
218 jurisdiction=Michigan
219 jurisdiction=Delaware
220 jurisdiction=California
221 jurisdiction=Florida
222 jurisdiction=California
223 jurisdiction=Ohio
224 jurisdiction=New_York
225 jurisdiction=Massachusetts
226 jurisdiction=Delaware
227 jurisdiction=Georgia
228 jurisdiction=New_York
229 jurisdiction=Massachusetts
230 jurisdiction=Texas
231 jurisdiction=New_York
232 jurisdiction=Pennsylvania
233 jurisdiction=Michigan
234 jurisdiction=Washington
235 jurisdiction=New_York
236 jurisdiction=Missouri
237 jurisdiction=California
238 jurisdiction=California
239 jurisdiction=California
240 jurisdiction=Delaware
241 jurisdiction=Florida
242 jurisdiction=Ohio
243 jurisdiction=Delaware
244 jurisdiction=New_York
245 jurisdiction=New_York
246 jurisdiction=Pennsylvania
247 jurisdiction=New_York
248 jurisdiction=Illinois
249 jurisdiction=California
250 jurisdiction=Florida
251 jurisdiction=New_York
252 jurisdiction=Connecticut
253 jurisdiction=California
254 jurisdiction=Delaware