independence day: amend duplicate data entries
parent
56d0fbd355
commit
cef7a9d195
|
@ -17,6 +17,9 @@ code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DD
|
|||
attribution github => ["jarmokivekas", "Jarmo Kivekäs"],
|
||||
web => ["http://guttula.com", "Jarmo Kivekäs"];
|
||||
|
||||
# attribution github => ["YouriAckx", "Youri Ackx"],
|
||||
# twitter => "YouriAckx";
|
||||
|
||||
# Triggers
|
||||
triggers any => "independence day", "day of independence";
|
||||
|
||||
|
@ -30,11 +33,9 @@ my %data = (
|
|||
'angola' => [{date => "November 11th", year => "1975"}],
|
||||
'antigua and barbuda' => [{date => "November 1st", year => "1981"}],
|
||||
'argentina' => [{date => "July 9th", year => "1816"}],
|
||||
'armenia' => [{date => "May 28th", year => "1918"}],
|
||||
'armenia' => [{date => "September 21th", year => "1991"}],
|
||||
'armenia' => [{date => "May 28th", year => "1918"},{date => "September 21th", year => "1991"}],
|
||||
'austria' => [{date => "October 26th", year => "1955"}],
|
||||
'azerbaijan' => [{date => "May 28th", year => "1918"}],
|
||||
'azerbaijan' => [{date => "October 18th", year => "1991"}],
|
||||
'azerbaijan' => [{date => "May 28th", year => "1918"},{date => "October 18th", year => "1991"}],
|
||||
'bahamas' => [{date => "July 10th", year => "1973"}],
|
||||
'bahrain' => [{date => "August 15th", year => "1971"}],
|
||||
'bangladesh' => [{date => "March 26th", year => "1971"}],
|
||||
|
@ -67,27 +68,23 @@ my %data = (
|
|||
'croatia' => [{date => "October 8th", year => "1991"}],
|
||||
'cuba' => [{date => "May 20th", year => "1902"}],
|
||||
'cyprus' => [{date => "October 1st", year => "1960"}],
|
||||
'czech republic' => [{date => "October 28th", year => "1918"}],
|
||||
'czech republic' => [{date => "January 1st", year => "1993"}],
|
||||
'czech republic' => [{date => "October 28th", year => "1918"},{date => "January 1st", year => "1993"}],
|
||||
'denmark' => [{date => "June 5th", year => "1849"}],
|
||||
'djibouti' => [{date => "June 27th", year => "1977"}],
|
||||
'dominica' => [{date => "November 3rd", year => "1978"}],
|
||||
'dominican republic' => [{date => "December 1st", year => "1821"}],
|
||||
'dominican republic' => [{date => "February 27th", year => "1844"}],
|
||||
'dominican republic' => [{date => "December 1st", year => "1821"},{date => "February 27th", year => "1844"}],
|
||||
'east timor' => [{date => "May 20th", year => "2002"}],
|
||||
'ecuador' => [{date => "August 10th", year => "1809"}],
|
||||
'ecuador' => [{date => "May 24th", year => "1822"}],
|
||||
'el salvador' => [{date => "September 15th", year => "1821"}],
|
||||
'equatorial guinea' => [{date => "October 12th", year => "1968"}],
|
||||
'eritrea' => [{date => "May 24th", year => "1993"}],
|
||||
'estonia' => [{date => "February 24th", year => "1918"}],
|
||||
'estonia' => [{date => "August 20th", year => "1991"}],
|
||||
'estonia' => [{date => "February 24th", year => "1918"},{date => "August 20th", year => "1991"}],
|
||||
'fiji' => [{date => "October 10th", year => "1970"}],
|
||||
'finland' => [{date => "December 6th", year => "1917"}],
|
||||
'gabon' => [{date => "August 17th", year => "1960"}],
|
||||
'the gambia' => [{date => "February 18th", year => "1965"}],
|
||||
'georgia' => [{date => "May 26th", year => "1918"}],
|
||||
'georgia' => [{date => "April 9th", year => "1991"}],
|
||||
'georgia' => [{date => "May 26th", year => "1918"},{date => "April 9th", year => "1991"}],
|
||||
'ghana' => [{date => "March 6th", year => "1957"}],
|
||||
'greece' => [{date => "March 25th", year => "1821"}],
|
||||
'grenada' => [{date => "February 7th", year => "1974"}],
|
||||
|
@ -122,13 +119,11 @@ my %data = (
|
|||
'lesotho' => [{date => "October 4th", year => "1966"}],
|
||||
'liberia' => [{date => "July 26th", year => "1847"}],
|
||||
'libya' => [{date => "December 24th", year => "1951"}],
|
||||
'lithuania' => [{date => "February 16th", year => "1918"}],
|
||||
'lithuania' => [{date => "March 11th", year => "1990"}],
|
||||
'lithuania' => [{date => "February 16th", year => "1918"},{date => "March 11th", year => "1990"}],
|
||||
'republic of macedonia' => [{date => "September 8th", year => "1991"}],
|
||||
'madagascar' => [{date => "June 26th", year => "1960"}],
|
||||
'malawi' => [{date => "July 6th", year => "1964"}],
|
||||
'malaysia' => [{date => "August 31th", year => "1957"}],
|
||||
'malaysia' => [{date => "September 16th", year => "1963"}],
|
||||
'malaysia' => [{date => "August 31th", year => "1957"},{date => "September 16th", year => "1963"}],
|
||||
'maldives' => [{date => "July 26th", year => "1965"}],
|
||||
'mali' => [{date => "September 22th", year => "1960"}],
|
||||
'malta' => [{date => "September 21th", year => "1964"}],
|
||||
|
@ -149,8 +144,7 @@ my %data = (
|
|||
'northern cyprus' => [{date => "September 2nd", year => "1983"}],
|
||||
'norway' => [{date => "May 17th", year => "1814"}],
|
||||
'pakistan' => [{date => "August 14th", year => "1947"}],
|
||||
'panama' => [{date => "November 28th", year => "1821"}],
|
||||
'panama' => [{date => "November 3rd", year => "1903"}],
|
||||
'panama' => [{date => "November 28th", year => "1821"},{date => "November 3rd", year => "1903"}],
|
||||
'papua new guinea' => [{date => "September 16th", year => "1975"}],
|
||||
'paraguay' => [{date => "May 15th", year => "1811"}],
|
||||
'peru' => [{date => "July 28th", year => "1821"}],
|
||||
|
@ -171,8 +165,7 @@ my %data = (
|
|||
'seychelles' => [{date => "June 29th", year => "1976"}],
|
||||
'sierra leone' => [{date => "April 27th", year => "1961"}],
|
||||
'singapore' => [{date => "August 9th", year => "1965"}],
|
||||
'slovakia' => [{date => "July 17th", year => "1992"}],
|
||||
'slovenia' => [{date => "December 26 and June 25th", year => "1990"}],
|
||||
'slovakia' => [{date => "July 17th", year => "1992"},{date => "December 26 and June 25th", year => "1990"}],
|
||||
'solomon islands' => [{date => "July 7th", year => "1978"}],
|
||||
'somalia' => [{date => "July 1st", year => "1960"}],
|
||||
'south africa' => [{date => "December 11th", year => "1931"}],
|
||||
|
@ -189,7 +182,7 @@ my %data = (
|
|||
'togo' => [{date => "April 27th", year => "1960"}],
|
||||
'tibet' => [{date => "February 13th", year => "1913"}],
|
||||
'tonga' => [{date => "June 4th", year => "1970"}],
|
||||
'trinidad and' => [{date => "August 31th", year => "1962"}],
|
||||
'trinidad and tobago' => [{date => "August 31th", year => "1962"}],
|
||||
'tunisia' => [{date => "March 20th", year => "1956"}],
|
||||
'turkmenistan' => [{date => "October 27th", year => "1991"}],
|
||||
'ukraine' => [{date => "August 24th", year => "1991"}],
|
||||
|
@ -208,7 +201,6 @@ my %data = (
|
|||
|
||||
|
||||
|
||||
|
||||
# Handle statement
|
||||
handle query_clean => sub {
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ package main;
|
|||
|
||||
my $file = "wikipedia_html_table";
|
||||
my $parser = MyParser->new;
|
||||
print "\$data = (\n";
|
||||
print "my \%data = (\n";
|
||||
$parser->parse_file( $file );
|
||||
print ");\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue