Wikipedia:WikiProject Red Link Recovery/Link matching script/Numeric

This requires mysql 5.0.3 or newer.


DROP TABLE wordmap;

CREATE TABLE wordmap (
   a varchar(255) binary NOT NULL,
   b varchar(255) binary NOT NULL
);

REPLACE INTO wordmap VALUES ( 'first', '1st' );
REPLACE INTO wordmap VALUES ( 'second', '2nd' );
REPLACE INTO wordmap VALUES ( 'third', '3rd' );
REPLACE INTO wordmap VALUES ( 'fourth', '4th' );
REPLACE INTO wordmap VALUES ( 'fifth', '5th' );
REPLACE INTO wordmap VALUES ( 'sixth', '6th' );
REPLACE INTO wordmap VALUES ( 'seventh', '7th' );
REPLACE INTO wordmap VALUES ( 'eighth', '8th' );
REPLACE INTO wordmap VALUES ( 'ninth', '9th' );
REPLACE INTO wordmap VALUES ( 'tenth', '10th' );
REPLACE INTO wordmap VALUES ( 'eleventh', '11th' );
REPLACE INTO wordmap VALUES ( 'twelfth', '12th' );
REPLACE INTO wordmap VALUES ( 'thirteenth', '13th' );
REPLACE INTO wordmap VALUES ( 'fourteenth', '14th' );
REPLACE INTO wordmap VALUES ( 'fifteenth', '15th' );
REPLACE INTO wordmap VALUES ( 'sixteenth', '16th' );
REPLACE INTO wordmap VALUES ( 'seventeenth', '17th' );
REPLACE INTO wordmap VALUES ( 'eigtheenth', '18th' );
REPLACE INTO wordmap VALUES ( 'nineteenth', '19th' );
REPLACE INTO wordmap VALUES ( 'twentieth', '20th' );
REPLACE INTO wordmap VALUES ( 'twenty first', '21st' );
REPLACE INTO wordmap VALUES ( 'twenty second', '22nd' );
REPLACE INTO wordmap VALUES ( 'twenty third', '23rd' );
REPLACE INTO wordmap VALUES ( 'twenty fourth', '24th' );
REPLACE INTO wordmap VALUES ( 'twenty fifth', '25th' );
REPLACE INTO wordmap VALUES ( 'twenty sixth', '26th' );
REPLACE INTO wordmap VALUES ( 'twenty seventh', '27th' );
REPLACE INTO wordmap VALUES ( 'twenty eighth', '28th' );
REPLACE INTO wordmap VALUES ( 'twenty ninth', '29th' );
REPLACE INTO wordmap VALUES ( 'thirtieth', '30th' );
REPLACE INTO wordmap VALUES ( 'thirty first', '31st' );
REPLACE INTO wordmap VALUES ( 'thirty second', '32nd' );
REPLACE INTO wordmap VALUES ( 'thirty third', '33rd' );
REPLACE INTO wordmap VALUES ( 'thirty fourth', '34th' );
REPLACE INTO wordmap VALUES ( 'thirty fifth', '35th' );
REPLACE INTO wordmap VALUES ( 'thirty sixth', '36th' );
REPLACE INTO wordmap VALUES ( 'thirty seventh', '37th' );
REPLACE INTO wordmap VALUES ( 'thirty eighth', '38th' );
REPLACE INTO wordmap VALUES ( 'thirty ninth', '39th' );
REPLACE INTO wordmap VALUES ( 'fortieth', '40th' );
REPLACE INTO wordmap VALUES ( 'forty first', '41st' );
REPLACE INTO wordmap VALUES ( 'forty second', '42nd' );
REPLACE INTO wordmap VALUES ( 'forty third', '43rd' );
REPLACE INTO wordmap VALUES ( 'forty fourth', '44th' );
REPLACE INTO wordmap VALUES ( 'forty fifth', '45th' );
REPLACE INTO wordmap VALUES ( 'forty sixth', '46th' );
REPLACE INTO wordmap VALUES ( 'forty seventh', '47th' );
REPLACE INTO wordmap VALUES ( 'forty eighth', '48th' );
REPLACE INTO wordmap VALUES ( 'forty ninth', '49th' );
REPLACE INTO wordmap VALUES ( 'fiftieth', '50th' );
REPLACE INTO wordmap VALUES ( 'fifty first', '51st' );
REPLACE INTO wordmap VALUES ( 'fifty second', '52nd' );
REPLACE INTO wordmap VALUES ( 'fifty third', '53rd' );
REPLACE INTO wordmap VALUES ( 'fifty fourth', '54th' );
REPLACE INTO wordmap VALUES ( 'fifty fifth', '55th' );
REPLACE INTO wordmap VALUES ( 'fifty sixth', '56th' );
REPLACE INTO wordmap VALUES ( 'fifty seventh', '57th' );
REPLACE INTO wordmap VALUES ( 'fifty eighth', '58th' );
REPLACE INTO wordmap VALUES ( 'fifty ninth', '59th' );
REPLACE INTO wordmap VALUES ( 'sixtieth', '60th' );
REPLACE INTO wordmap VALUES ( 'sixty first', '61st' );
REPLACE INTO wordmap VALUES ( 'sixty second', '62nd' );
REPLACE INTO wordmap VALUES ( 'sixty third', '63rd' );
REPLACE INTO wordmap VALUES ( 'sixty fourth', '64th' );
REPLACE INTO wordmap VALUES ( 'sixty fifth', '65th' );
REPLACE INTO wordmap VALUES ( 'sixty sixth', '66th' );
REPLACE INTO wordmap VALUES ( 'sixty seventh', '67th' );
REPLACE INTO wordmap VALUES ( 'sixty eighth', '68th' );
REPLACE INTO wordmap VALUES ( 'sixty ninth', '69th' );
REPLACE INTO wordmap VALUES ( 'seventieth', '70th' );
REPLACE INTO wordmap VALUES ( 'seventy first', '71st' );
REPLACE INTO wordmap VALUES ( 'seventy second', '72nd' );
REPLACE INTO wordmap VALUES ( 'seventy third', '73rd' );
REPLACE INTO wordmap VALUES ( 'seventy fourth', '74th' );
REPLACE INTO wordmap VALUES ( 'seventy fifth', '75th' );
REPLACE INTO wordmap VALUES ( 'seventy sixth', '76th' );
REPLACE INTO wordmap VALUES ( 'seventy seventh', '77th' );
REPLACE INTO wordmap VALUES ( 'seventy eighth', '78th' );
REPLACE INTO wordmap VALUES ( 'seventy ninth', '79th' );
REPLACE INTO wordmap VALUES ( 'eigthieth', '80th' );
REPLACE INTO wordmap VALUES ( 'eighty first', '81st' );
REPLACE INTO wordmap VALUES ( 'eighty second', '82nd' );
REPLACE INTO wordmap VALUES ( 'eighty third', '83rd' );
REPLACE INTO wordmap VALUES ( 'eighty fourth', '84th' );
REPLACE INTO wordmap VALUES ( 'eighty fifth', '85th' );
REPLACE INTO wordmap VALUES ( 'eighty sixth', '86th' );
REPLACE INTO wordmap VALUES ( 'eighty seventh', '87th' );
REPLACE INTO wordmap VALUES ( 'eighty eighth', '88th' );
REPLACE INTO wordmap VALUES ( 'eighty ninth', '89th' );
REPLACE INTO wordmap VALUES ( 'ninthieth', '90th' );
REPLACE INTO wordmap VALUES ( 'ninety first', '91st' );
REPLACE INTO wordmap VALUES ( 'ninety second', '92nd' );
REPLACE INTO wordmap VALUES ( 'ninety third', '93rd' );
REPLACE INTO wordmap VALUES ( 'ninety fourth', '94th' );
REPLACE INTO wordmap VALUES ( 'ninety fifth', '95th' );
REPLACE INTO wordmap VALUES ( 'ninety sixth', '96th' );
REPLACE INTO wordmap VALUES ( 'ninety seventh', '97th' );
REPLACE INTO wordmap VALUES ( 'ninety eighth', '98th' );
REPLACE INTO wordmap VALUES ( 'ninety ninth', '99th' );
REPLACE INTO wordmap VALUES ( 'first', '1st' );
REPLACE INTO wordmap VALUES ( 'second', '2nd' );
REPLACE INTO wordmap VALUES ( 'third', '3rd' );
REPLACE INTO wordmap VALUES ( 'fourth', '4th' );
REPLACE INTO wordmap VALUES ( 'fifth', '5th' );
REPLACE INTO wordmap VALUES ( 'sixth', '6th' );
REPLACE INTO wordmap VALUES ( 'seventh', '7th' );
REPLACE INTO wordmap VALUES ( 'eighth', '8th' );
REPLACE INTO wordmap VALUES ( 'ninth', '9th' );
REPLACE INTO wordmap VALUES ( 'tenth', '10th' );
REPLACE INTO wordmap VALUES ( 'eleventh', '11th' );
REPLACE INTO wordmap VALUES ( 'twelfth', '12th' );
REPLACE INTO wordmap VALUES ( 'thirteenth', '13th' );
REPLACE INTO wordmap VALUES ( 'fourteenth', '14th' );
REPLACE INTO wordmap VALUES ( 'fifteenth', '15th' );
REPLACE INTO wordmap VALUES ( 'sixteenth', '16th' );
REPLACE INTO wordmap VALUES ( 'seventeenth', '17th' );
REPLACE INTO wordmap VALUES ( 'eigtheenth', '18th' );
REPLACE INTO wordmap VALUES ( 'nineteenth', '19th' );
REPLACE INTO wordmap VALUES ( 'twentieth', '20th' );
REPLACE INTO wordmap VALUES ( 'twenty-first', '21st' );
REPLACE INTO wordmap VALUES ( 'twenty-second', '22nd' );
REPLACE INTO wordmap VALUES ( 'twenty-third', '23rd' );
REPLACE INTO wordmap VALUES ( 'twenty-fourth', '24th' );
REPLACE INTO wordmap VALUES ( 'twenty-fifth', '25th' );
REPLACE INTO wordmap VALUES ( 'twenty-sixth', '26th' );
REPLACE INTO wordmap VALUES ( 'twenty-seventh', '27th' );
REPLACE INTO wordmap VALUES ( 'twenty-eighth', '28th' );
REPLACE INTO wordmap VALUES ( 'twenty-ninth', '29th' );
REPLACE INTO wordmap VALUES ( 'thirtieth', '30th' );
REPLACE INTO wordmap VALUES ( 'thirty-first', '31st' );
REPLACE INTO wordmap VALUES ( 'thirty-second', '32nd' );
REPLACE INTO wordmap VALUES ( 'thirty-third', '33rd' );
REPLACE INTO wordmap VALUES ( 'thirty-fourth', '34th' );
REPLACE INTO wordmap VALUES ( 'thirty-fifth', '35th' );
REPLACE INTO wordmap VALUES ( 'thirty-sixth', '36th' );
REPLACE INTO wordmap VALUES ( 'thirty-seventh', '37th' );
REPLACE INTO wordmap VALUES ( 'thirty-eighth', '38th' );
REPLACE INTO wordmap VALUES ( 'thirty-ninth', '39th' );
REPLACE INTO wordmap VALUES ( 'fortieth', '40th' );
REPLACE INTO wordmap VALUES ( 'forty-first', '41st' );
REPLACE INTO wordmap VALUES ( 'forty-second', '42nd' );
REPLACE INTO wordmap VALUES ( 'forty-third', '43rd' );
REPLACE INTO wordmap VALUES ( 'forty-fourth', '44th' );
REPLACE INTO wordmap VALUES ( 'forty-fifth', '45th' );
REPLACE INTO wordmap VALUES ( 'forty-sixth', '46th' );
REPLACE INTO wordmap VALUES ( 'forty-seventh', '47th' );
REPLACE INTO wordmap VALUES ( 'forty-eighth', '48th' );
REPLACE INTO wordmap VALUES ( 'forty-ninth', '49th' );
REPLACE INTO wordmap VALUES ( 'fiftieth', '50th' );
REPLACE INTO wordmap VALUES ( 'fifty-first', '51st' );
REPLACE INTO wordmap VALUES ( 'fifty-second', '52nd' );
REPLACE INTO wordmap VALUES ( 'fifty-third', '53rd' );
REPLACE INTO wordmap VALUES ( 'fifty-fourth', '54th' );
REPLACE INTO wordmap VALUES ( 'fifty-fifth', '55th' );
REPLACE INTO wordmap VALUES ( 'fifty-sixth', '56th' );
REPLACE INTO wordmap VALUES ( 'fifty-seventh', '57th' );
REPLACE INTO wordmap VALUES ( 'fifty-eighth', '58th' );
REPLACE INTO wordmap VALUES ( 'fifty-ninth', '59th' );
REPLACE INTO wordmap VALUES ( 'sixtieth', '60th' );
REPLACE INTO wordmap VALUES ( 'sixty-first', '61st' );
REPLACE INTO wordmap VALUES ( 'sixty-second', '62nd' );
REPLACE INTO wordmap VALUES ( 'sixty-third', '63rd' );
REPLACE INTO wordmap VALUES ( 'sixty-fourth', '64th' );
REPLACE INTO wordmap VALUES ( 'sixty-fifth', '65th' );
REPLACE INTO wordmap VALUES ( 'sixty-sixth', '66th' );
REPLACE INTO wordmap VALUES ( 'sixty-seventh', '67th' );
REPLACE INTO wordmap VALUES ( 'sixty-eighth', '68th' );
REPLACE INTO wordmap VALUES ( 'sixty-ninth', '69th' );
REPLACE INTO wordmap VALUES ( 'seventieth', '70th' );
REPLACE INTO wordmap VALUES ( 'seventy-first', '71st' );
REPLACE INTO wordmap VALUES ( 'seventy-second', '72nd' );
REPLACE INTO wordmap VALUES ( 'seventy-third', '73rd' );
REPLACE INTO wordmap VALUES ( 'seventy-fourth', '74th' );
REPLACE INTO wordmap VALUES ( 'seventy-fifth', '75th' );
REPLACE INTO wordmap VALUES ( 'seventy-sixth', '76th' );
REPLACE INTO wordmap VALUES ( 'seventy-seventh', '77th' );
REPLACE INTO wordmap VALUES ( 'seventy-eighth', '78th' );
REPLACE INTO wordmap VALUES ( 'seventy-ninth', '79th' );
REPLACE INTO wordmap VALUES ( 'eigthieth', '80th' );
REPLACE INTO wordmap VALUES ( 'eighty-first', '81st' );
REPLACE INTO wordmap VALUES ( 'eighty-second', '82nd' );
REPLACE INTO wordmap VALUES ( 'eighty-third', '83rd' );
REPLACE INTO wordmap VALUES ( 'eighty-fourth', '84th' );
REPLACE INTO wordmap VALUES ( 'eighty-fifth', '85th' );
REPLACE INTO wordmap VALUES ( 'eighty-sixth', '86th' );
REPLACE INTO wordmap VALUES ( 'eighty-seventh', '87th' );
REPLACE INTO wordmap VALUES ( 'eighty-eighth', '88th' );
REPLACE INTO wordmap VALUES ( 'eighty-ninth', '89th' );
REPLACE INTO wordmap VALUES ( 'ninthieth', '90th' );
REPLACE INTO wordmap VALUES ( 'ninety-first', '91st' );
REPLACE INTO wordmap VALUES ( 'ninety-second', '92nd' );
REPLACE INTO wordmap VALUES ( 'ninety-third', '93rd' );
REPLACE INTO wordmap VALUES ( 'ninety-fourth', '94th' );
REPLACE INTO wordmap VALUES ( 'ninety-fifth', '95th' );
REPLACE INTO wordmap VALUES ( 'ninety-sixth', '96th' );
REPLACE INTO wordmap VALUES ( 'ninety-seventh', '97th' );
REPLACE INTO wordmap VALUES ( 'ninety-eighth', '98th' );
REPLACE INTO wordmap VALUES ( 'ninety-ninth', '99th' );
REPLACE INTO wordmap VALUES ( 'First', '1st' );
REPLACE INTO wordmap VALUES ( 'Second', '2nd' );
REPLACE INTO wordmap VALUES ( 'Third', '3rd' );
REPLACE INTO wordmap VALUES ( 'Fourth', '4th' );
REPLACE INTO wordmap VALUES ( 'Fifth', '5th' );
REPLACE INTO wordmap VALUES ( 'Sixth', '6th' );
REPLACE INTO wordmap VALUES ( 'Seventh', '7th' );
REPLACE INTO wordmap VALUES ( 'Eighth', '8th' );
REPLACE INTO wordmap VALUES ( 'Ninth', '9th' );
REPLACE INTO wordmap VALUES ( 'Tenth', '10th' );
REPLACE INTO wordmap VALUES ( 'Eleventh', '11th' );
REPLACE INTO wordmap VALUES ( 'Twelfth', '12th' );
REPLACE INTO wordmap VALUES ( 'Thirteenth', '13th' );
REPLACE INTO wordmap VALUES ( 'Fourteenth', '14th' );
REPLACE INTO wordmap VALUES ( 'Fifteenth', '15th' );
REPLACE INTO wordmap VALUES ( 'Sixteenth', '16th' );
REPLACE INTO wordmap VALUES ( 'Seventeenth', '17th' );
REPLACE INTO wordmap VALUES ( 'Eigtheenth', '18th' );
REPLACE INTO wordmap VALUES ( 'Nineteenth', '19th' );
REPLACE INTO wordmap VALUES ( 'Twentieth', '20th' );
REPLACE INTO wordmap VALUES ( 'Twenty First', '21st' );
REPLACE INTO wordmap VALUES ( 'Twenty Second', '22nd' );
REPLACE INTO wordmap VALUES ( 'Twenty Third', '23rd' );
REPLACE INTO wordmap VALUES ( 'Twenty Fourth', '24th' );
REPLACE INTO wordmap VALUES ( 'Twenty Fifth', '25th' );
REPLACE INTO wordmap VALUES ( 'Twenty Sixth', '26th' );
REPLACE INTO wordmap VALUES ( 'Twenty Seventh', '27th' );
REPLACE INTO wordmap VALUES ( 'Twenty Eighth', '28th' );
REPLACE INTO wordmap VALUES ( 'Twenty Ninth', '29th' );
REPLACE INTO wordmap VALUES ( 'Thirtieth', '30th' );
REPLACE INTO wordmap VALUES ( 'Thirty First', '31st' );
REPLACE INTO wordmap VALUES ( 'Thirty Second', '32nd' );
REPLACE INTO wordmap VALUES ( 'Thirty Third', '33rd' );
REPLACE INTO wordmap VALUES ( 'Thirty Fourth', '34th' );
REPLACE INTO wordmap VALUES ( 'Thirty Fifth', '35th' );
REPLACE INTO wordmap VALUES ( 'Thirty Sixth', '36th' );
REPLACE INTO wordmap VALUES ( 'Thirty Seventh', '37th' );
REPLACE INTO wordmap VALUES ( 'Thirty Eighth', '38th' );
REPLACE INTO wordmap VALUES ( 'Thirty Ninth', '39th' );
REPLACE INTO wordmap VALUES ( 'Fortieth', '40th' );
REPLACE INTO wordmap VALUES ( 'Forty First', '41st' );
REPLACE INTO wordmap VALUES ( 'Forty Second', '42nd' );
REPLACE INTO wordmap VALUES ( 'Forty Third', '43rd' );
REPLACE INTO wordmap VALUES ( 'Forty Fourth', '44th' );
REPLACE INTO wordmap VALUES ( 'Forty Fifth', '45th' );
REPLACE INTO wordmap VALUES ( 'Forty Sixth', '46th' );
REPLACE INTO wordmap VALUES ( 'Forty Seventh', '47th' );
REPLACE INTO wordmap VALUES ( 'Forty Eighth', '48th' );
REPLACE INTO wordmap VALUES ( 'Forty Ninth', '49th' );
REPLACE INTO wordmap VALUES ( 'Fiftieth', '50th' );
REPLACE INTO wordmap VALUES ( 'Fifty First', '51st' );
REPLACE INTO wordmap VALUES ( 'Fifty Second', '52nd' );
REPLACE INTO wordmap VALUES ( 'Fifty Third', '53rd' );
REPLACE INTO wordmap VALUES ( 'Fifty Fourth', '54th' );
REPLACE INTO wordmap VALUES ( 'Fifty Fifth', '55th' );
REPLACE INTO wordmap VALUES ( 'Fifty Sixth', '56th' );
REPLACE INTO wordmap VALUES ( 'Fifty Seventh', '57th' );
REPLACE INTO wordmap VALUES ( 'Fifty Eighth', '58th' );
REPLACE INTO wordmap VALUES ( 'Fifty Ninth', '59th' );
REPLACE INTO wordmap VALUES ( 'Sixtieth', '60th' );
REPLACE INTO wordmap VALUES ( 'Sixty First', '61st' );
REPLACE INTO wordmap VALUES ( 'Sixty Second', '62nd' );
REPLACE INTO wordmap VALUES ( 'Sixty Third', '63rd' );
REPLACE INTO wordmap VALUES ( 'Sixty Fourth', '64th' );
REPLACE INTO wordmap VALUES ( 'Sixty Fifth', '65th' );
REPLACE INTO wordmap VALUES ( 'Sixty Sixth', '66th' );
REPLACE INTO wordmap VALUES ( 'Sixty Seventh', '67th' );
REPLACE INTO wordmap VALUES ( 'Sixty Eighth', '68th' );
REPLACE INTO wordmap VALUES ( 'Sixty Ninth', '69th' );
REPLACE INTO wordmap VALUES ( 'Seventieth', '70th' );
REPLACE INTO wordmap VALUES ( 'Seventy First', '71st' );
REPLACE INTO wordmap VALUES ( 'Seventy Second', '72nd' );
REPLACE INTO wordmap VALUES ( 'Seventy Third', '73rd' );
REPLACE INTO wordmap VALUES ( 'Seventy Fourth', '74th' );
REPLACE INTO wordmap VALUES ( 'Seventy Fifth', '75th' );
REPLACE INTO wordmap VALUES ( 'Seventy Sixth', '76th' );
REPLACE INTO wordmap VALUES ( 'Seventy Seventh', '77th' );
REPLACE INTO wordmap VALUES ( 'Seventy Eighth', '78th' );
REPLACE INTO wordmap VALUES ( 'Seventy Ninth', '79th' );
REPLACE INTO wordmap VALUES ( 'Eigthieth', '80th' );
REPLACE INTO wordmap VALUES ( 'Eighty First', '81st' );
REPLACE INTO wordmap VALUES ( 'Eighty Second', '82nd' );
REPLACE INTO wordmap VALUES ( 'Eighty Third', '83rd' );
REPLACE INTO wordmap VALUES ( 'Eighty Fourth', '84th' );
REPLACE INTO wordmap VALUES ( 'Eighty Fifth', '85th' );
REPLACE INTO wordmap VALUES ( 'Eighty Sixth', '86th' );
REPLACE INTO wordmap VALUES ( 'Eighty Seventh', '87th' );
REPLACE INTO wordmap VALUES ( 'Eighty Eighth', '88th' );
REPLACE INTO wordmap VALUES ( 'Eighty Ninth', '89th' );
REPLACE INTO wordmap VALUES ( 'Ninthieth', '90th' );
REPLACE INTO wordmap VALUES ( 'Ninety First', '91st' );
REPLACE INTO wordmap VALUES ( 'Ninety Second', '92nd' );
REPLACE INTO wordmap VALUES ( 'Ninety Third', '93rd' );
REPLACE INTO wordmap VALUES ( 'Ninety Fourth', '94th' );
REPLACE INTO wordmap VALUES ( 'Ninety Fifth', '95th' );
REPLACE INTO wordmap VALUES ( 'Ninety Sixth', '96th' );
REPLACE INTO wordmap VALUES ( 'Ninety Seventh', '97th' );
REPLACE INTO wordmap VALUES ( 'Ninety Eighth', '98th' );
REPLACE INTO wordmap VALUES ( 'Ninety Ninth', '99th' );
REPLACE INTO wordmap VALUES ( 'First', '1st' );
REPLACE INTO wordmap VALUES ( 'Second', '2nd' );
REPLACE INTO wordmap VALUES ( 'Third', '3rd' );
REPLACE INTO wordmap VALUES ( 'Fourth', '4th' );
REPLACE INTO wordmap VALUES ( 'Fifth', '5th' );
REPLACE INTO wordmap VALUES ( 'Sixth', '6th' );
REPLACE INTO wordmap VALUES ( 'Seventh', '7th' );
REPLACE INTO wordmap VALUES ( 'Eighth', '8th' );
REPLACE INTO wordmap VALUES ( 'Ninth', '9th' );
REPLACE INTO wordmap VALUES ( 'Tenth', '10th' );
REPLACE INTO wordmap VALUES ( 'Eleventh', '11th' );
REPLACE INTO wordmap VALUES ( 'Twelfth', '12th' );
REPLACE INTO wordmap VALUES ( 'Thirteenth', '13th' );
REPLACE INTO wordmap VALUES ( 'Fourteenth', '14th' );
REPLACE INTO wordmap VALUES ( 'Fifteenth', '15th' );
REPLACE INTO wordmap VALUES ( 'Sixteenth', '16th' );
REPLACE INTO wordmap VALUES ( 'Seventeenth', '17th' );
REPLACE INTO wordmap VALUES ( 'Eigtheenth', '18th' );
REPLACE INTO wordmap VALUES ( 'Nineteenth', '19th' );
REPLACE INTO wordmap VALUES ( 'Twentieth', '20th' );
REPLACE INTO wordmap VALUES ( 'Twenty-First', '21st' );
REPLACE INTO wordmap VALUES ( 'Twenty-Second', '22nd' );
REPLACE INTO wordmap VALUES ( 'Twenty-Third', '23rd' );
REPLACE INTO wordmap VALUES ( 'Twenty-Fourth', '24th' );
REPLACE INTO wordmap VALUES ( 'Twenty-Fifth', '25th' );
REPLACE INTO wordmap VALUES ( 'Twenty-Sixth', '26th' );
REPLACE INTO wordmap VALUES ( 'Twenty-Seventh', '27th' );
REPLACE INTO wordmap VALUES ( 'Twenty-Eighth', '28th' );
REPLACE INTO wordmap VALUES ( 'Twenty-Ninth', '29th' );
REPLACE INTO wordmap VALUES ( 'Thirtieth', '30th' );
REPLACE INTO wordmap VALUES ( 'Thirty-First', '31st' );
REPLACE INTO wordmap VALUES ( 'Thirty-Second', '32nd' );
REPLACE INTO wordmap VALUES ( 'Thirty-Third', '33rd' );
REPLACE INTO wordmap VALUES ( 'Thirty-Fourth', '34th' );
REPLACE INTO wordmap VALUES ( 'Thirty-Fifth', '35th' );
REPLACE INTO wordmap VALUES ( 'Thirty-Sixth', '36th' );
REPLACE INTO wordmap VALUES ( 'Thirty-Seventh', '37th' );
REPLACE INTO wordmap VALUES ( 'Thirty-Eighth', '38th' );
REPLACE INTO wordmap VALUES ( 'Thirty-Ninth', '39th' );
REPLACE INTO wordmap VALUES ( 'Fortieth', '40th' );
REPLACE INTO wordmap VALUES ( 'Forty-First', '41st' );
REPLACE INTO wordmap VALUES ( 'Forty-Second', '42nd' );
REPLACE INTO wordmap VALUES ( 'Forty-Third', '43rd' );
REPLACE INTO wordmap VALUES ( 'Forty-Fourth', '44th' );
REPLACE INTO wordmap VALUES ( 'Forty-Fifth', '45th' );
REPLACE INTO wordmap VALUES ( 'Forty-Sixth', '46th' );
REPLACE INTO wordmap VALUES ( 'Forty-Seventh', '47th' );
REPLACE INTO wordmap VALUES ( 'Forty-Eighth', '48th' );
REPLACE INTO wordmap VALUES ( 'Forty-Ninth', '49th' );
REPLACE INTO wordmap VALUES ( 'Fiftieth', '50th' );
REPLACE INTO wordmap VALUES ( 'Fifty-First', '51st' );
REPLACE INTO wordmap VALUES ( 'Fifty-Second', '52nd' );
REPLACE INTO wordmap VALUES ( 'Fifty-Third', '53rd' );
REPLACE INTO wordmap VALUES ( 'Fifty-Fourth', '54th' );
REPLACE INTO wordmap VALUES ( 'Fifty-Fifth', '55th' );
REPLACE INTO wordmap VALUES ( 'Fifty-Sixth', '56th' );
REPLACE INTO wordmap VALUES ( 'Fifty-Seventh', '57th' );
REPLACE INTO wordmap VALUES ( 'Fifty-Eighth', '58th' );
REPLACE INTO wordmap VALUES ( 'Fifty-Ninth', '59th' );
REPLACE INTO wordmap VALUES ( 'Sixtieth', '60th' );
REPLACE INTO wordmap VALUES ( 'Sixty-First', '61st' );
REPLACE INTO wordmap VALUES ( 'Sixty-Second', '62nd' );
REPLACE INTO wordmap VALUES ( 'Sixty-Third', '63rd' );
REPLACE INTO wordmap VALUES ( 'Sixty-Fourth', '64th' );
REPLACE INTO wordmap VALUES ( 'Sixty-Fifth', '65th' );
REPLACE INTO wordmap VALUES ( 'Sixty-Sixth', '66th' );
REPLACE INTO wordmap VALUES ( 'Sixty-Seventh', '67th' );
REPLACE INTO wordmap VALUES ( 'Sixty-Eighth', '68th' );
REPLACE INTO wordmap VALUES ( 'Sixty-Ninth', '69th' );
REPLACE INTO wordmap VALUES ( 'Seventieth', '70th' );
REPLACE INTO wordmap VALUES ( 'Seventy-First', '71st' );
REPLACE INTO wordmap VALUES ( 'Seventy-Second', '72nd' );
REPLACE INTO wordmap VALUES ( 'Seventy-Third', '73rd' );
REPLACE INTO wordmap VALUES ( 'Seventy-Fourth', '74th' );
REPLACE INTO wordmap VALUES ( 'Seventy-Fifth', '75th' );
REPLACE INTO wordmap VALUES ( 'Seventy-Sixth', '76th' );
REPLACE INTO wordmap VALUES ( 'Seventy-Seventh', '77th' );
REPLACE INTO wordmap VALUES ( 'Seventy-Eighth', '78th' );
REPLACE INTO wordmap VALUES ( 'Seventy-Ninth', '79th' );
REPLACE INTO wordmap VALUES ( 'Eigthieth', '80th' );
REPLACE INTO wordmap VALUES ( 'Eighty-First', '81st' );
REPLACE INTO wordmap VALUES ( 'Eighty-Second', '82nd' );
REPLACE INTO wordmap VALUES ( 'Eighty-Third', '83rd' );
REPLACE INTO wordmap VALUES ( 'Eighty-Fourth', '84th' );
REPLACE INTO wordmap VALUES ( 'Eighty-Fifth', '85th' );
REPLACE INTO wordmap VALUES ( 'Eighty-Sixth', '86th' );
REPLACE INTO wordmap VALUES ( 'Eighty-Seventh', '87th' );
REPLACE INTO wordmap VALUES ( 'Eighty-Eighth', '88th' );
REPLACE INTO wordmap VALUES ( 'Eighty-Ninth', '89th' );
REPLACE INTO wordmap VALUES ( 'Ninthieth', '90th' );
REPLACE INTO wordmap VALUES ( 'Ninety-First', '91st' );
REPLACE INTO wordmap VALUES ( 'Ninety-Second', '92nd' );
REPLACE INTO wordmap VALUES ( 'Ninety-Third', '93rd' );
REPLACE INTO wordmap VALUES ( 'Ninety-Fourth', '94th' );
REPLACE INTO wordmap VALUES ( 'Ninety-Fifth', '95th' );
REPLACE INTO wordmap VALUES ( 'Ninety-Sixth', '96th' );
REPLACE INTO wordmap VALUES ( 'Ninety-Seventh', '97th' );
REPLACE INTO wordmap VALUES ( 'Ninety-Eighth', '98th' );
REPLACE INTO wordmap VALUES ( 'Ninety-Ninth', '99th' );
REPLACE INTO wordmap VALUES ( 'twenty 1st', '21st' );
REPLACE INTO wordmap VALUES ( 'twenty 2nd', '22nd' );
REPLACE INTO wordmap VALUES ( 'twenty 3rd', '23rd' );
REPLACE INTO wordmap VALUES ( 'twenty 4th', '24th' );
REPLACE INTO wordmap VALUES ( 'twenty 5th', '25th' );
REPLACE INTO wordmap VALUES ( 'twenty 6th', '26th' );
REPLACE INTO wordmap VALUES ( 'twenty 7th', '27th' );
REPLACE INTO wordmap VALUES ( 'twenty 8th', '28th' );
REPLACE INTO wordmap VALUES ( 'twenty 9th', '29th' );
REPLACE INTO wordmap VALUES ( 'thirty 1st', '31st' );
REPLACE INTO wordmap VALUES ( 'thirty 2nd', '32nd' );
REPLACE INTO wordmap VALUES ( 'thirty 3rd', '33rd' );
REPLACE INTO wordmap VALUES ( 'thirty 4th', '34th' );
REPLACE INTO wordmap VALUES ( 'thirty 5th', '35th' );
REPLACE INTO wordmap VALUES ( 'thirty 6th', '36th' );
REPLACE INTO wordmap VALUES ( 'thirty 7th', '37th' );
REPLACE INTO wordmap VALUES ( 'thirty 8th', '38th' );
REPLACE INTO wordmap VALUES ( 'thirty 9th', '39th' );
REPLACE INTO wordmap VALUES ( 'forty 1st', '41st' );
REPLACE INTO wordmap VALUES ( 'forty 2nd', '42nd' );
REPLACE INTO wordmap VALUES ( 'forty 3rd', '43rd' );
REPLACE INTO wordmap VALUES ( 'forty 4th', '44th' );
REPLACE INTO wordmap VALUES ( 'forty 5th', '45th' );
REPLACE INTO wordmap VALUES ( 'forty 6th', '46th' );
REPLACE INTO wordmap VALUES ( 'forty 7th', '47th' );
REPLACE INTO wordmap VALUES ( 'forty 8th', '48th' );
REPLACE INTO wordmap VALUES ( 'forty 9th', '49th' );
REPLACE INTO wordmap VALUES ( 'fifty 1st', '51st' );
REPLACE INTO wordmap VALUES ( 'fifty 2nd', '52nd' );
REPLACE INTO wordmap VALUES ( 'fifty 3rd', '53rd' );
REPLACE INTO wordmap VALUES ( 'fifty 4th', '54th' );
REPLACE INTO wordmap VALUES ( 'fifty 5th', '55th' );
REPLACE INTO wordmap VALUES ( 'fifty 6th', '56th' );
REPLACE INTO wordmap VALUES ( 'fifty 7th', '57th' );
REPLACE INTO wordmap VALUES ( 'fifty 8th', '58th' );
REPLACE INTO wordmap VALUES ( 'fifty 9th', '59th' );
REPLACE INTO wordmap VALUES ( 'sixty 1st', '61st' );
REPLACE INTO wordmap VALUES ( 'sixty 2nd', '62nd' );
REPLACE INTO wordmap VALUES ( 'sixty 3rd', '63rd' );
REPLACE INTO wordmap VALUES ( 'sixty 4th', '64th' );
REPLACE INTO wordmap VALUES ( 'sixty 5th', '65th' );
REPLACE INTO wordmap VALUES ( 'sixty 6th', '66th' );
REPLACE INTO wordmap VALUES ( 'sixty 7th', '67th' );
REPLACE INTO wordmap VALUES ( 'sixty 8th', '68th' );
REPLACE INTO wordmap VALUES ( 'sixty 9th', '69th' );
REPLACE INTO wordmap VALUES ( 'seventieth', '70th' );
REPLACE INTO wordmap VALUES ( 'seventy 1st', '71st' );
REPLACE INTO wordmap VALUES ( 'seventy 2nd', '72nd' );
REPLACE INTO wordmap VALUES ( 'seventy 3rd', '73rd' );
REPLACE INTO wordmap VALUES ( 'seventy 4th', '74th' );
REPLACE INTO wordmap VALUES ( 'seventy 5th', '75th' );
REPLACE INTO wordmap VALUES ( 'seventy 6th', '76th' );
REPLACE INTO wordmap VALUES ( 'seventy 7th', '77th' );
REPLACE INTO wordmap VALUES ( 'seventy 8th', '78th' );
REPLACE INTO wordmap VALUES ( 'seventy 9th', '79th' );
REPLACE INTO wordmap VALUES ( 'eighty 1st', '81st' );
REPLACE INTO wordmap VALUES ( 'eighty 2nd', '82nd' );
REPLACE INTO wordmap VALUES ( 'eighty 3rd', '83rd' );
REPLACE INTO wordmap VALUES ( 'eighty 4th', '84th' );
REPLACE INTO wordmap VALUES ( 'eighty 5th', '85th' );
REPLACE INTO wordmap VALUES ( 'eighty 6th', '86th' );
REPLACE INTO wordmap VALUES ( 'eighty 7th', '87th' );
REPLACE INTO wordmap VALUES ( 'eighty 8th', '88th' );
REPLACE INTO wordmap VALUES ( 'eighty 9th', '89th' );
REPLACE INTO wordmap VALUES ( 'ninety 1st', '91st' );
REPLACE INTO wordmap VALUES ( 'ninety 2nd', '92nd' );
REPLACE INTO wordmap VALUES ( 'ninety 3rd', '93rd' );
REPLACE INTO wordmap VALUES ( 'ninety 4th', '94th' );
REPLACE INTO wordmap VALUES ( 'ninety 5th', '95th' );
REPLACE INTO wordmap VALUES ( 'ninety 6th', '96th' );
REPLACE INTO wordmap VALUES ( 'ninety 7th', '97th' );
REPLACE INTO wordmap VALUES ( 'ninety 8th', '98th' );
REPLACE INTO wordmap VALUES ( 'ninety 9th', '99th' );

REPLACE INTO wordmap VALUES ( 'twenty-1st', '21st' );
REPLACE INTO wordmap VALUES ( 'twenty-2nd', '22nd' );
REPLACE INTO wordmap VALUES ( 'twenty-3rd', '23rd' );
REPLACE INTO wordmap VALUES ( 'twenty-4th', '24th' );
REPLACE INTO wordmap VALUES ( 'twenty-5th', '25th' );
REPLACE INTO wordmap VALUES ( 'twenty-6th', '26th' );
REPLACE INTO wordmap VALUES ( 'twenty-7th', '27th' );
REPLACE INTO wordmap VALUES ( 'twenty-8th', '28th' );
REPLACE INTO wordmap VALUES ( 'twenty-9th', '29th' );
REPLACE INTO wordmap VALUES ( 'thirty-1st', '31st' );
REPLACE INTO wordmap VALUES ( 'thirty-2nd', '32nd' );
REPLACE INTO wordmap VALUES ( 'thirty-3rd', '33rd' );
REPLACE INTO wordmap VALUES ( 'thirty-4th', '34th' );
REPLACE INTO wordmap VALUES ( 'thirty-5th', '35th' );
REPLACE INTO wordmap VALUES ( 'thirty-6th', '36th' );
REPLACE INTO wordmap VALUES ( 'thirty-7th', '37th' );
REPLACE INTO wordmap VALUES ( 'thirty-8th', '38th' );
REPLACE INTO wordmap VALUES ( 'thirty-9th', '39th' );
REPLACE INTO wordmap VALUES ( 'forty-1st', '41st' );
REPLACE INTO wordmap VALUES ( 'forty-2nd', '42nd' );
REPLACE INTO wordmap VALUES ( 'forty-3rd', '43rd' );
REPLACE INTO wordmap VALUES ( 'forty-4th', '44th' );
REPLACE INTO wordmap VALUES ( 'forty-5th', '45th' );
REPLACE INTO wordmap VALUES ( 'forty-6th', '46th' );
REPLACE INTO wordmap VALUES ( 'forty-7th', '47th' );
REPLACE INTO wordmap VALUES ( 'forty-8th', '48th' );
REPLACE INTO wordmap VALUES ( 'forty-9th', '49th' );
REPLACE INTO wordmap VALUES ( 'fiftieth', '50th' );
REPLACE INTO wordmap VALUES ( 'fifty-1st', '51st' );
REPLACE INTO wordmap VALUES ( 'fifty-2nd', '52nd' );
REPLACE INTO wordmap VALUES ( 'fifty-3rd', '53rd' );
REPLACE INTO wordmap VALUES ( 'fifty-4th', '54th' );
REPLACE INTO wordmap VALUES ( 'fifty-5th', '55th' );
REPLACE INTO wordmap VALUES ( 'fifty-6th', '56th' );
REPLACE INTO wordmap VALUES ( 'fifty-7th', '57th' );
REPLACE INTO wordmap VALUES ( 'fifty-8th', '58th' );
REPLACE INTO wordmap VALUES ( 'fifty-9th', '59th' );
REPLACE INTO wordmap VALUES ( 'sixtieth', '60th' );
REPLACE INTO wordmap VALUES ( 'sixty-1st', '61st' );
REPLACE INTO wordmap VALUES ( 'sixty-2nd', '62nd' );
REPLACE INTO wordmap VALUES ( 'sixty-3rd', '63rd' );
REPLACE INTO wordmap VALUES ( 'sixty-4th', '64th' );
REPLACE INTO wordmap VALUES ( 'sixty-5th', '65th' );
REPLACE INTO wordmap VALUES ( 'sixty-6th', '66th' );
REPLACE INTO wordmap VALUES ( 'sixty-7th', '67th' );
REPLACE INTO wordmap VALUES ( 'sixty-8th', '68th' );
REPLACE INTO wordmap VALUES ( 'sixty-9th', '69th' );
REPLACE INTO wordmap VALUES ( 'seventy-1st', '71st' );
REPLACE INTO wordmap VALUES ( 'seventy-2nd', '72nd' );
REPLACE INTO wordmap VALUES ( 'seventy-3rd', '73rd' );
REPLACE INTO wordmap VALUES ( 'seventy-4th', '74th' );
REPLACE INTO wordmap VALUES ( 'seventy-5th', '75th' );
REPLACE INTO wordmap VALUES ( 'seventy-6th', '76th' );
REPLACE INTO wordmap VALUES ( 'seventy-7th', '77th' );
REPLACE INTO wordmap VALUES ( 'seventy-8th', '78th' );
REPLACE INTO wordmap VALUES ( 'seventy-9th', '79th' );
REPLACE INTO wordmap VALUES ( 'eighty-1st', '81st' );
REPLACE INTO wordmap VALUES ( 'eighty-2nd', '82nd' );
REPLACE INTO wordmap VALUES ( 'eighty-3rd', '83rd' );
REPLACE INTO wordmap VALUES ( 'eighty-4th', '84th' );
REPLACE INTO wordmap VALUES ( 'eighty-5th', '85th' );
REPLACE INTO wordmap VALUES ( 'eighty-6th', '86th' );
REPLACE INTO wordmap VALUES ( 'eighty-7th', '87th' );
REPLACE INTO wordmap VALUES ( 'eighty-8th', '88th' );
REPLACE INTO wordmap VALUES ( 'eighty-9th', '89th' );
REPLACE INTO wordmap VALUES ( 'ninety-1st', '91st' );
REPLACE INTO wordmap VALUES ( 'ninety-2nd', '92nd' );
REPLACE INTO wordmap VALUES ( 'ninety-3rd', '93rd' );
REPLACE INTO wordmap VALUES ( 'ninety-4th', '94th' );
REPLACE INTO wordmap VALUES ( 'ninety-5th', '95th' );
REPLACE INTO wordmap VALUES ( 'ninety-6th', '96th' );
REPLACE INTO wordmap VALUES ( 'ninety-7th', '97th' );
REPLACE INTO wordmap VALUES ( 'ninety-8th', '98th' );
REPLACE INTO wordmap VALUES ( 'ninety-9th', '99th' );

REPLACE INTO wordmap VALUES ( 'Twenty 1st', '21st' );
REPLACE INTO wordmap VALUES ( 'Twenty 2nd', '22nd' );
REPLACE INTO wordmap VALUES ( 'Twenty 3rd', '23rd' );
REPLACE INTO wordmap VALUES ( 'Twenty 4th', '24th' );
REPLACE INTO wordmap VALUES ( 'Twenty 5th', '25th' );
REPLACE INTO wordmap VALUES ( 'Twenty 6th', '26th' );
REPLACE INTO wordmap VALUES ( 'Twenty 7th', '27th' );
REPLACE INTO wordmap VALUES ( 'Twenty 8th', '28th' );
REPLACE INTO wordmap VALUES ( 'Twenty 9th', '29th' );
REPLACE INTO wordmap VALUES ( 'Thirty 1st', '31st' );
REPLACE INTO wordmap VALUES ( 'Thirty 2nd', '32nd' );
REPLACE INTO wordmap VALUES ( 'Thirty 3rd', '33rd' );
REPLACE INTO wordmap VALUES ( 'Thirty 4th', '34th' );
REPLACE INTO wordmap VALUES ( 'Thirty 5th', '35th' );
REPLACE INTO wordmap VALUES ( 'Thirty 6th', '36th' );
REPLACE INTO wordmap VALUES ( 'Thirty 7th', '37th' );
REPLACE INTO wordmap VALUES ( 'Thirty 8th', '38th' );
REPLACE INTO wordmap VALUES ( 'Thirty 9th', '39th' );
REPLACE INTO wordmap VALUES ( 'Forty 1st', '41st' );
REPLACE INTO wordmap VALUES ( 'Forty 2nd', '42nd' );
REPLACE INTO wordmap VALUES ( 'Forty 3rd', '43rd' );
REPLACE INTO wordmap VALUES ( 'Forty 4th', '44th' );
REPLACE INTO wordmap VALUES ( 'Forty 5th', '45th' );
REPLACE INTO wordmap VALUES ( 'Forty 6th', '46th' );
REPLACE INTO wordmap VALUES ( 'Forty 7th', '47th' );
REPLACE INTO wordmap VALUES ( 'Forty 8th', '48th' );
REPLACE INTO wordmap VALUES ( 'Forty 9th', '49th' );
REPLACE INTO wordmap VALUES ( 'Fifty 1st', '51st' );
REPLACE INTO wordmap VALUES ( 'Fifty 2nd', '52nd' );
REPLACE INTO wordmap VALUES ( 'Fifty 3rd', '53rd' );
REPLACE INTO wordmap VALUES ( 'Fifty 4th', '54th' );
REPLACE INTO wordmap VALUES ( 'Fifty 5th', '55th' );
REPLACE INTO wordmap VALUES ( 'Fifty 6th', '56th' );
REPLACE INTO wordmap VALUES ( 'Fifty 7th', '57th' );
REPLACE INTO wordmap VALUES ( 'Fifty 8th', '58th' );
REPLACE INTO wordmap VALUES ( 'Fifty 9th', '59th' );
REPLACE INTO wordmap VALUES ( 'Sixty 1st', '61st' );
REPLACE INTO wordmap VALUES ( 'Sixty 2nd', '62nd' );
REPLACE INTO wordmap VALUES ( 'Sixty 3rd', '63rd' );
REPLACE INTO wordmap VALUES ( 'Sixty 4th', '64th' );
REPLACE INTO wordmap VALUES ( 'Sixty 5th', '65th' );
REPLACE INTO wordmap VALUES ( 'Sixty 6th', '66th' );
REPLACE INTO wordmap VALUES ( 'Sixty 7th', '67th' );
REPLACE INTO wordmap VALUES ( 'Sixty 8th', '68th' );
REPLACE INTO wordmap VALUES ( 'Sixty 9th', '69th' );
REPLACE INTO wordmap VALUES ( 'Seventy 1st', '71st' );
REPLACE INTO wordmap VALUES ( 'Seventy 2nd', '72nd' );
REPLACE INTO wordmap VALUES ( 'Seventy 3rd', '73rd' );
REPLACE INTO wordmap VALUES ( 'Seventy 4th', '74th' );
REPLACE INTO wordmap VALUES ( 'Seventy 5th', '75th' );
REPLACE INTO wordmap VALUES ( 'Seventy 6th', '76th' );
REPLACE INTO wordmap VALUES ( 'Seventy 7th', '77th' );
REPLACE INTO wordmap VALUES ( 'Seventy 8th', '78th' );
REPLACE INTO wordmap VALUES ( 'Seventy 9th', '79th' );
REPLACE INTO wordmap VALUES ( 'Eighty 1st', '81st' );
REPLACE INTO wordmap VALUES ( 'Eighty 2nd', '82nd' );
REPLACE INTO wordmap VALUES ( 'Eighty 3rd', '83rd' );
REPLACE INTO wordmap VALUES ( 'Eighty 4th', '84th' );
REPLACE INTO wordmap VALUES ( 'Eighty 5th', '85th' );
REPLACE INTO wordmap VALUES ( 'Eighty 6th', '86th' );
REPLACE INTO wordmap VALUES ( 'Eighty 7th', '87th' );
REPLACE INTO wordmap VALUES ( 'Eighty 8th', '88th' );
REPLACE INTO wordmap VALUES ( 'Eighty 9th', '89th' );
REPLACE INTO wordmap VALUES ( 'Ninety 1st', '91st' );
REPLACE INTO wordmap VALUES ( 'Ninety 2nd', '92nd' );
REPLACE INTO wordmap VALUES ( 'Ninety 3rd', '93rd' );
REPLACE INTO wordmap VALUES ( 'Ninety 4th', '94th' );
REPLACE INTO wordmap VALUES ( 'Ninety 5th', '95th' );
REPLACE INTO wordmap VALUES ( 'Ninety 6th', '96th' );
REPLACE INTO wordmap VALUES ( 'Ninety 7th', '97th' );
REPLACE INTO wordmap VALUES ( 'Ninety 8th', '98th' );
REPLACE INTO wordmap VALUES ( 'Ninety 9th', '99th' );
REPLACE INTO wordmap VALUES ( 'Twenty-1st', '21st' );
REPLACE INTO wordmap VALUES ( 'Twenty-2nd', '22nd' );
REPLACE INTO wordmap VALUES ( 'Twenty-3rd', '23rd' );
REPLACE INTO wordmap VALUES ( 'Twenty-4th', '24th' );
REPLACE INTO wordmap VALUES ( 'Twenty-5th', '25th' );
REPLACE INTO wordmap VALUES ( 'Twenty-6th', '26th' );
REPLACE INTO wordmap VALUES ( 'Twenty-7th', '27th' );
REPLACE INTO wordmap VALUES ( 'Twenty-8th', '28th' );
REPLACE INTO wordmap VALUES ( 'Twenty-9th', '29th' );
REPLACE INTO wordmap VALUES ( 'Thirtieth', '30th' );
REPLACE INTO wordmap VALUES ( 'Thirty-1st', '31st' );
REPLACE INTO wordmap VALUES ( 'Thirty-2nd', '32nd' );
REPLACE INTO wordmap VALUES ( 'Thirty-3rd', '33rd' );
REPLACE INTO wordmap VALUES ( 'Thirty-4th', '34th' );
REPLACE INTO wordmap VALUES ( 'Thirty-5th', '35th' );
REPLACE INTO wordmap VALUES ( 'Thirty-6th', '36th' );
REPLACE INTO wordmap VALUES ( 'Thirty-7th', '37th' );
REPLACE INTO wordmap VALUES ( 'Thirty-8th', '38th' );
REPLACE INTO wordmap VALUES ( 'Thirty-9th', '39th' );
REPLACE INTO wordmap VALUES ( 'Forty-1st', '41st' );
REPLACE INTO wordmap VALUES ( 'Forty-2nd', '42nd' );
REPLACE INTO wordmap VALUES ( 'Forty-3rd', '43rd' );
REPLACE INTO wordmap VALUES ( 'Forty-4th', '44th' );
REPLACE INTO wordmap VALUES ( 'Forty-5th', '45th' );
REPLACE INTO wordmap VALUES ( 'Forty-6th', '46th' );
REPLACE INTO wordmap VALUES ( 'Forty-7th', '47th' );
REPLACE INTO wordmap VALUES ( 'Forty-8th', '48th' );
REPLACE INTO wordmap VALUES ( 'Forty-9th', '49th' );
REPLACE INTO wordmap VALUES ( 'Fifty-1st', '51st' );
REPLACE INTO wordmap VALUES ( 'Fifty-2nd', '52nd' );
REPLACE INTO wordmap VALUES ( 'Fifty-3rd', '53rd' );
REPLACE INTO wordmap VALUES ( 'Fifty-4th', '54th' );
REPLACE INTO wordmap VALUES ( 'Fifty-5th', '55th' );
REPLACE INTO wordmap VALUES ( 'Fifty-6th', '56th' );
REPLACE INTO wordmap VALUES ( 'Fifty-7th', '57th' );
REPLACE INTO wordmap VALUES ( 'Fifty-8th', '58th' );
REPLACE INTO wordmap VALUES ( 'Fifty-9th', '59th' );
REPLACE INTO wordmap VALUES ( 'Sixty-1st', '61st' );
REPLACE INTO wordmap VALUES ( 'Sixty-2nd', '62nd' );
REPLACE INTO wordmap VALUES ( 'Sixty-3rd', '63rd' );
REPLACE INTO wordmap VALUES ( 'Sixty-4th', '64th' );
REPLACE INTO wordmap VALUES ( 'Sixty-5th', '65th' );
REPLACE INTO wordmap VALUES ( 'Sixty-6th', '66th' );
REPLACE INTO wordmap VALUES ( 'Sixty-7th', '67th' );
REPLACE INTO wordmap VALUES ( 'Sixty-8th', '68th' );
REPLACE INTO wordmap VALUES ( 'Sixty-9th', '69th' );
REPLACE INTO wordmap VALUES ( 'Seventy-1st', '71st' );
REPLACE INTO wordmap VALUES ( 'Seventy-2nd', '72nd' );
REPLACE INTO wordmap VALUES ( 'Seventy-3rd', '73rd' );
REPLACE INTO wordmap VALUES ( 'Seventy-4th', '74th' );
REPLACE INTO wordmap VALUES ( 'Seventy-5th', '75th' );
REPLACE INTO wordmap VALUES ( 'Seventy-6th', '76th' );
REPLACE INTO wordmap VALUES ( 'Seventy-7th', '77th' );
REPLACE INTO wordmap VALUES ( 'Seventy-8th', '78th' );
REPLACE INTO wordmap VALUES ( 'Seventy-9th', '79th' );
REPLACE INTO wordmap VALUES ( 'Eighty-1st', '81st' );
REPLACE INTO wordmap VALUES ( 'Eighty-2nd', '82nd' );
REPLACE INTO wordmap VALUES ( 'Eighty-3rd', '83rd' );
REPLACE INTO wordmap VALUES ( 'Eighty-4th', '84th' );
REPLACE INTO wordmap VALUES ( 'Eighty-5th', '85th' );
REPLACE INTO wordmap VALUES ( 'Eighty-6th', '86th' );
REPLACE INTO wordmap VALUES ( 'Eighty-7th', '87th' );
REPLACE INTO wordmap VALUES ( 'Eighty-8th', '88th' );
REPLACE INTO wordmap VALUES ( 'Eighty-9th', '89th' );
REPLACE INTO wordmap VALUES ( 'Ninety-1st', '91st' );
REPLACE INTO wordmap VALUES ( 'Ninety-2nd', '92nd' );
REPLACE INTO wordmap VALUES ( 'Ninety-3rd', '93rd' );
REPLACE INTO wordmap VALUES ( 'Ninety-4th', '94th' );
REPLACE INTO wordmap VALUES ( 'Ninety-5th', '95th' );
REPLACE INTO wordmap VALUES ( 'Ninety-6th', '96th' );
REPLACE INTO wordmap VALUES ( 'Ninety-7th', '97th' );
REPLACE INTO wordmap VALUES ( 'Ninety-8th', '98th' );
REPLACE INTO wordmap VALUES ( 'Ninety-9th', '99th' );

REPLACE INTO wordmap VALUES ( 'I', '1st' );
REPLACE INTO wordmap VALUES ( 'II', '2nd' );
REPLACE INTO wordmap VALUES ( 'III', '3rd' );
REPLACE INTO wordmap VALUES ( 'IV', '4th' );
REPLACE INTO wordmap VALUES ( 'V', '5th' );
REPLACE INTO wordmap VALUES ( 'VI', '6th' );
REPLACE INTO wordmap VALUES ( 'VII', '7th' );
REPLACE INTO wordmap VALUES ( 'VIII', '8th' );
REPLACE INTO wordmap VALUES ( 'IX', '9th' );
REPLACE INTO wordmap VALUES ( 'X', '10th' );
REPLACE INTO wordmap VALUES ( 'XI', '11th' );
REPLACE INTO wordmap VALUES ( 'XII', '12th' );
REPLACE INTO wordmap VALUES ( 'XIII', '13th' );
REPLACE INTO wordmap VALUES ( 'XIV', '14th' );
REPLACE INTO wordmap VALUES ( 'XV', '15th' );
REPLACE INTO wordmap VALUES ( 'XVI', '16th' );
REPLACE INTO wordmap VALUES ( 'XVII', '17th' );
REPLACE INTO wordmap VALUES ( 'XVII', '18th' );
REPLACE INTO wordmap VALUES ( 'XIX', '19th' );
REPLACE INTO wordmap VALUES ( 'XX', '20th' );
REPLACE INTO wordmap VALUES ( 'XXI', '21st' );
REPLACE INTO wordmap VALUES ( 'XXII', '22nd' );
REPLACE INTO wordmap VALUES ( 'XXIII', '23rd' );
REPLACE INTO wordmap VALUES ( 'XXIV', '24th' );
REPLACE INTO wordmap VALUES ( 'XXV', '25th' );
REPLACE INTO wordmap VALUES ( 'XXVI', '26th' );
REPLACE INTO wordmap VALUES ( 'XXVII', '27th' );
REPLACE INTO wordmap VALUES ( 'XXVII', '28th' );
REPLACE INTO wordmap VALUES ( 'XXIX', '29th' );
REPLACE INTO wordmap VALUES ( 'XXX', '30th' );
REPLACE INTO wordmap VALUES ( 'XXXI', '31st' );
REPLACE INTO wordmap VALUES ( 'XXXII', '32nd' );
REPLACE INTO wordmap VALUES ( 'XXXIII', '33rd' );
REPLACE INTO wordmap VALUES ( 'XXXIV', '34th' );
REPLACE INTO wordmap VALUES ( 'XXXV', '35th' );
REPLACE INTO wordmap VALUES ( 'XXXVI', '36th' );
REPLACE INTO wordmap VALUES ( 'XXXVII', '37th' );
REPLACE INTO wordmap VALUES ( 'XXXVIII', '38th' );
REPLACE INTO wordmap VALUES ( 'XXXIX', '39th' );
REPLACE INTO wordmap VALUES ( 'XL', '40th' );
REPLACE INTO wordmap VALUES ( 'XLI', '41st' );
REPLACE INTO wordmap VALUES ( 'XLII', '42nd' );
REPLACE INTO wordmap VALUES ( 'XLIII', '43rd' );
REPLACE INTO wordmap VALUES ( 'XLIV', '44th' );
REPLACE INTO wordmap VALUES ( 'XLV', '45th' );
REPLACE INTO wordmap VALUES ( 'XLVI', '46th' );
REPLACE INTO wordmap VALUES ( 'XLVII', '47th' );
REPLACE INTO wordmap VALUES ( 'XLVIII', '48th' );
REPLACE INTO wordmap VALUES ( 'XLIX', '49th' );
REPLACE INTO wordmap VALUES ( 'L', '50th' );
REPLACE INTO wordmap VALUES ( 'LI', '51st' );
REPLACE INTO wordmap VALUES ( 'LII', '52nd' );
REPLACE INTO wordmap VALUES ( 'LIII', '53rd' );
REPLACE INTO wordmap VALUES ( 'LIV', '54th' );
REPLACE INTO wordmap VALUES ( 'LV', '55th' );
REPLACE INTO wordmap VALUES ( 'LVI', '56th' );
REPLACE INTO wordmap VALUES ( 'LVII', '57th' );
REPLACE INTO wordmap VALUES ( 'LVIII', '58th' );
REPLACE INTO wordmap VALUES ( 'LIX', '59th' );
REPLACE INTO wordmap VALUES ( 'LX', '60th' );
REPLACE INTO wordmap VALUES ( 'LXI', '61st' );
REPLACE INTO wordmap VALUES ( 'LXII', '62nd' );
REPLACE INTO wordmap VALUES ( 'LXIII', '63rd' );
REPLACE INTO wordmap VALUES ( 'LXIV', '64th' );
REPLACE INTO wordmap VALUES ( 'LXV', '65th' );
REPLACE INTO wordmap VALUES ( 'LXVI', '66th' );
REPLACE INTO wordmap VALUES ( 'LXVII', '67th' );
REPLACE INTO wordmap VALUES ( 'LXVIII', '68th' );
REPLACE INTO wordmap VALUES ( 'LXIX', '69th' );
REPLACE INTO wordmap VALUES ( 'LXX', '70th' );
REPLACE INTO wordmap VALUES ( 'LXXI', '71st' );
REPLACE INTO wordmap VALUES ( 'LXXII', '72nd' );
REPLACE INTO wordmap VALUES ( 'LXXIII', '73rd' );
REPLACE INTO wordmap VALUES ( 'LXXIV', '74th' );
REPLACE INTO wordmap VALUES ( 'LXXV', '75th' );
REPLACE INTO wordmap VALUES ( 'LXXVI', '76th' );
REPLACE INTO wordmap VALUES ( 'LXXVII', '77th' );
REPLACE INTO wordmap VALUES ( 'LXXVIII', '78th' );
REPLACE INTO wordmap VALUES ( 'LXXIX', '79th' );
REPLACE INTO wordmap VALUES ( 'LXXX', '80th' );
REPLACE INTO wordmap VALUES ( 'LXXXI', '81st' );
REPLACE INTO wordmap VALUES ( 'LXXXII', '82nd' );
REPLACE INTO wordmap VALUES ( 'LXXXIII', '83rd' );
REPLACE INTO wordmap VALUES ( 'LXXXIV', '84th' );
REPLACE INTO wordmap VALUES ( 'LXXXV', '85th' );
REPLACE INTO wordmap VALUES ( 'LXXXVI', '86th' );
REPLACE INTO wordmap VALUES ( 'LXXXVII', '87th' );
REPLACE INTO wordmap VALUES ( 'LXXXVIII', '88th' );
REPLACE INTO wordmap VALUES ( 'LXXXIX', '89th' );
REPLACE INTO wordmap VALUES ( 'XC', '90th' );
REPLACE INTO wordmap VALUES ( 'XCI', '91st' );
REPLACE INTO wordmap VALUES ( 'XCII', '92nd' );
REPLACE INTO wordmap VALUES ( 'XCIII', '93rd' );
REPLACE INTO wordmap VALUES ( 'XCIV', '94th' );
REPLACE INTO wordmap VALUES ( 'XCV', '95th' );
REPLACE INTO wordmap VALUES ( 'XCVI', '96th' );
REPLACE INTO wordmap VALUES ( 'XCVII', '97th' );
REPLACE INTO wordmap VALUES ( 'XCVIII', '98th' );
REPLACE INTO wordmap VALUES ( 'XCIX', '99th' );

REPLACE INTO wordmap VALUES ( 'Ist', '1st' );
REPLACE INTO wordmap VALUES ( 'IInd', '2nd' );
REPLACE INTO wordmap VALUES ( 'IIIrd', '3rd' );
REPLACE INTO wordmap VALUES ( 'IVth', '4th' );
REPLACE INTO wordmap VALUES ( 'Vth', '5th' );
REPLACE INTO wordmap VALUES ( 'VIth', '6th' );
REPLACE INTO wordmap VALUES ( 'VIIth', '7th' );
REPLACE INTO wordmap VALUES ( 'VIIIth', '8th' );
REPLACE INTO wordmap VALUES ( 'IXth', '9th' );
REPLACE INTO wordmap VALUES ( 'Xth', '10th' );
REPLACE INTO wordmap VALUES ( 'XIth', '11th' );
REPLACE INTO wordmap VALUES ( 'XIIth', '12th' );
REPLACE INTO wordmap VALUES ( 'XIIIth', '13th' );
REPLACE INTO wordmap VALUES ( 'XIVth', '14th' );
REPLACE INTO wordmap VALUES ( 'XVth', '15th' );
REPLACE INTO wordmap VALUES ( 'XVIth', '16th' );
REPLACE INTO wordmap VALUES ( 'XVIIth', '17th' );
REPLACE INTO wordmap VALUES ( 'XVIIth', '18th' );
REPLACE INTO wordmap VALUES ( 'XIXth', '19th' );
REPLACE INTO wordmap VALUES ( 'XXth', '20th' );
REPLACE INTO wordmap VALUES ( 'XXIth', '21st' );
REPLACE INTO wordmap VALUES ( 'XXIIth', '22nd' );
REPLACE INTO wordmap VALUES ( 'XXIIIrd', '23rd' );
REPLACE INTO wordmap VALUES ( 'XXIVth', '24th' );
REPLACE INTO wordmap VALUES ( 'XXVth', '25th' );
REPLACE INTO wordmap VALUES ( 'XXVIth', '26th' );
REPLACE INTO wordmap VALUES ( 'XXVIIth', '27th' );
REPLACE INTO wordmap VALUES ( 'XXVIIth', '28th' );
REPLACE INTO wordmap VALUES ( 'XXIXth', '29th' );
REPLACE INTO wordmap VALUES ( 'XXXth', '30th' );
REPLACE INTO wordmap VALUES ( 'XXXIth', '31st' );
REPLACE INTO wordmap VALUES ( 'XXXIIth', '32nd' );
REPLACE INTO wordmap VALUES ( 'XXXIIIrd', '33rd' );
REPLACE INTO wordmap VALUES ( 'XXXIVth', '34th' );
REPLACE INTO wordmap VALUES ( 'XXXVth', '35th' );
REPLACE INTO wordmap VALUES ( 'XXXVIth', '36th' );
REPLACE INTO wordmap VALUES ( 'XXXVIIth', '37th' );
REPLACE INTO wordmap VALUES ( 'XXXVIIIth', '38th' );
REPLACE INTO wordmap VALUES ( 'XXXIXth', '39th' );
REPLACE INTO wordmap VALUES ( 'XLth', '40th' );
REPLACE INTO wordmap VALUES ( 'XLIth', '41st' );
REPLACE INTO wordmap VALUES ( 'XLIIth', '42nd' );
REPLACE INTO wordmap VALUES ( 'XLIIIrd', '43rd' );
REPLACE INTO wordmap VALUES ( 'XLIVth', '44th' );
REPLACE INTO wordmap VALUES ( 'XLVth', '45th' );
REPLACE INTO wordmap VALUES ( 'XLVIth', '46th' );
REPLACE INTO wordmap VALUES ( 'XLVIIth', '47th' );
REPLACE INTO wordmap VALUES ( 'XLVIIIth', '48th' );
REPLACE INTO wordmap VALUES ( 'XLIXth', '49th' );
REPLACE INTO wordmap VALUES ( 'Lth', '50th' );
REPLACE INTO wordmap VALUES ( 'LIth', '51st' );
REPLACE INTO wordmap VALUES ( 'LIIth', '52nd' );
REPLACE INTO wordmap VALUES ( 'LIIIrd', '53rd' );
REPLACE INTO wordmap VALUES ( 'LIVth', '54th' );
REPLACE INTO wordmap VALUES ( 'LVth', '55th' );
REPLACE INTO wordmap VALUES ( 'LVIth', '56th' );
REPLACE INTO wordmap VALUES ( 'LVIIth', '57th' );
REPLACE INTO wordmap VALUES ( 'LVIIIth', '58th' );
REPLACE INTO wordmap VALUES ( 'LIXth', '59th' );
REPLACE INTO wordmap VALUES ( 'LXth', '60th' );
REPLACE INTO wordmap VALUES ( 'LXIth', '61st' );
REPLACE INTO wordmap VALUES ( 'LXIIth', '62nd' );
REPLACE INTO wordmap VALUES ( 'LXIIIrd', '63rd' );
REPLACE INTO wordmap VALUES ( 'LXIVth', '64th' );
REPLACE INTO wordmap VALUES ( 'LXVth', '65th' );
REPLACE INTO wordmap VALUES ( 'LXVIth', '66th' );
REPLACE INTO wordmap VALUES ( 'LXVIIth', '67th' );
REPLACE INTO wordmap VALUES ( 'LXVIIIth', '68th' );
REPLACE INTO wordmap VALUES ( 'LXIXth', '69th' );
REPLACE INTO wordmap VALUES ( 'LXXth', '70th' );
REPLACE INTO wordmap VALUES ( 'LXXIth', '71st' );
REPLACE INTO wordmap VALUES ( 'LXXIIth', '72nd' );
REPLACE INTO wordmap VALUES ( 'LXXIIIrd', '73rd' );
REPLACE INTO wordmap VALUES ( 'LXXIVth', '74th' );
REPLACE INTO wordmap VALUES ( 'LXXVth', '75th' );
REPLACE INTO wordmap VALUES ( 'LXXVIth', '76th' );
REPLACE INTO wordmap VALUES ( 'LXXVIIth', '77th' );
REPLACE INTO wordmap VALUES ( 'LXXVIIIth', '78th' );
REPLACE INTO wordmap VALUES ( 'LXXIXth', '79th' );
REPLACE INTO wordmap VALUES ( 'LXXXth', '80th' );
REPLACE INTO wordmap VALUES ( 'LXXXIth', '81st' );
REPLACE INTO wordmap VALUES ( 'LXXXIIth', '82nd' );
REPLACE INTO wordmap VALUES ( 'LXXXIIIrd', '83rd' );
REPLACE INTO wordmap VALUES ( 'LXXXIVth', '84th' );
REPLACE INTO wordmap VALUES ( 'LXXXVth', '85th' );
REPLACE INTO wordmap VALUES ( 'LXXXVIth', '86th' );
REPLACE INTO wordmap VALUES ( 'LXXXVIIth', '87th' );
REPLACE INTO wordmap VALUES ( 'LXXXVIIIth', '88th' );
REPLACE INTO wordmap VALUES ( 'LXXXIXth', '89th' );
REPLACE INTO wordmap VALUES ( 'XCth', '90th' );
REPLACE INTO wordmap VALUES ( 'XCIth', '91st' );
REPLACE INTO wordmap VALUES ( 'XCIIth', '92nd' );
REPLACE INTO wordmap VALUES ( 'XCIIIrd', '93rd' );
REPLACE INTO wordmap VALUES ( 'XCIVth', '94th' );
REPLACE INTO wordmap VALUES ( 'XCVth', '95th' );
REPLACE INTO wordmap VALUES ( 'XCVIth', '96th' );
REPLACE INTO wordmap VALUES ( 'XCVIIth', '97th' );
REPLACE INTO wordmap VALUES ( 'XCVIIIth', '98th' );
REPLACE INTO wordmap VALUES ( 'XCIXth', '99th' );



LOCK TABLES wordmap WRITE, crushed_art WRITE, crushed_links WRITE;

UPDATE crushed_art, wordmap
SET title = replace( title, a, b )
WHERE title REGEXP concat( '[[:<:]]', a, '[[:>:]]' );

UPDATE crushed_links, wordmap
SET link = replace( link, a, b )
WHERE link REGEXP concat( '[[:<:]]', a, '[[:>:]]' );

UNLOCK TABLES;