Documentation is available at subs.inc
- <?
- $gendersearch=array(
- "/\bhe\b/ie",
- "/\bshe\b/ie",
- "/\bto him\b/ie",
- "/\bfor him\b/ie",
- "/\bwith him\b/ie",
- "/\bon him\b/ie",
- "/\bin him\b/ie",
- "/\bto her\b/ie",
- "/\bfor her\b/ie",
- "/\bwith her\b/ie",
- "/\bon her\b/ie",
- "/\bin her\b/ie",
- "/\bhis\b/ie",
- "/\bher\b/ie",
- "/\bhim\b/ie",
- "/\ber\b/ie",
- "/\bihm\b/ie",
- "/\bsein\b/ie",
- "/\bihn\b/ie",
- );
- $genderreplace=array(
- "myfunc('she')",
- "myfunc('he')",
- "myfunc('to her')",
- "myfunc('for her')",
- "myfunc('with her')",
- "myfunc('on her')",
- "myfunc('in her')",
- "myfunc('to him')",
- "myfunc('for him')",
- "myfunc('with him')",
- "myfunc('on him')",
- "myfunc('in him')",
- "myfunc('her')",
- "myfunc('his')",
- "myfunc('her')",
- "myfunc('Sie')",
- "myfunc('ihr')",
- "myfunc('ihr')",
- "myfunc('Sie')",
- );
- $firstthirdsearch=array(
- "/\bI was\b/ie",
- "/\bhe was\b/ie",
- "/\bshe was\b/ie",
- "/\bI am\b/ie",
- "/\bI\b/ie",
- "/\bme\b/ie",
- "/\bmy\b/ie",
- "/\bmyself\b/ie",
- "/\bmine\b/ie",
- );
- $firstthirdreplace=array(
- "myfunc('he or she was')",
- "myfunc('I was')",
- "myfunc('I was')",
- "myfunc('he or she is')",
- "myfunc('he or she')",
- "myfunc('him or her')",
- "myfunc('his or her')",
- "myfunc('him or herself')",
- "myfunc('his or hers')",
- );
- $firstsecondsearch=array(
- "/\bwith you\b/ie",
- "/\bwith me\b/ie",
- "/\bto you\b/ie",
- "/\bto me\b/ie",
- "/\bof you\b/ie",
- "/\bof me\b/ie",
- "/\bfor you\b/ie",
- "/\bfor me\b/ie",
- "/\bgive you\b/ie",
- "/\bgive me\b/ie",
- "/\bgiving you\b/ie",
- "/\bgiving me\b/ie",
- "/\bgave you\b/ie",
- "/\bgave me\b/ie",
- "/\bmake you\b/ie",
- "/\bmake me\b/ie",
- "/\bmade you\b/ie",
- "/\bmade me\b/ie",
- "/\btake you\b/ie",
- "/\btake me\b/ie",
- "/\bsave you\b/ie",
- "/\bsave me\b/ie",
- "/\btell you\b/ie",
- "/\btell me\b/ie",
- "/\btelling you\b/ie",
- "/\btelling me\b/ie",
- "/\btold you\b/ie",
- "/\btold me\b/ie",
- "/\bare you\b/ie",
- "/\bam I\b/ie",
- "/\byou are\b/ie",
- "/\bI am\b/ie",
- "/\byou\b/ie",
- "/\bme\b/ie",
- "/\byour\b/ie",
- "/\bmy\b/ie",
- "/\byours\b/ie",
- "/\bmine\b/ie",
- "/\byourself\b/ie",
- "/\bmyself\b/ie",
- "/\bI was\b/ie",
- "/\byou were\b/ie",
- "/\bI am\b/ie",
- "/\byou are\b/ie",
- "/\bI\b/ie",
- "/\bme\b/ie",
- "/\bmy\b/ie",
- "/\byour\b/ie",
- "/\bich war\b/ie",
- "/\bich bin\b/ie",
- "/\bich\b/ie",
- "/\bmein\b/ie",
- "/\bmeins\b/ie",
- "/\bmit dir\b/ie",
- "/\bdir\b/ie",
- "/\bfuer dich\b/ie",
- "/\bbist du\b/ie",
- "/\bdu\b/ie",
- "/\bdein\b/ie",
- "/\bdeins\b/ie",
- );
- $firstsecondreplace=array(
- "myfunc('with me')",
- "myfunc('with you')",
- "myfunc('to me')",
- "myfunc('to you')",
- "myfunc('of me')",
- "myfunc('of you')",
- "myfunc('for me')",
- "myfunc('for you')",
- "myfunc('give me')",
- "myfunc('give you')",
- "myfunc('giving me')",
- "myfunc('giving you')",
- "myfunc('gave me')",
- "myfunc('gave you')",
- "myfunc('make me')",
- "myfunc('make you')",
- "myfunc('made me')",
- "myfunc('made you')",
- "myfunc('take me')",
- "myfunc('take you')",
- "myfunc('save me')",
- "myfunc('save you')",
- "myfunc('tell me')",
- "myfunc('tell you')",
- "myfunc('telling me')",
- "myfunc('telling you')",
- "myfunc('told me')",
- "myfunc('told you')",
- "myfunc('am I')",
- "myfunc('are you')",
- "myfunc('I am')",
- "myfunc('you are')",
- "myfunc('me')",
- "myfunc('you')",
- "myfunc('my')",
- "myfunc('your')",
- "myfunc('mine')",
- "myfunc('yours')",
- "myfunc('myself')",
- "myfunc('yourself')",
- "myfunc('you were')",
- "myfunc('I was')",
- "myfunc('you are')",
- "myfunc('I am')",
- "myfunc('you')",
- "myfunc('you')",
- "myfunc('your')",
- "myfunc('my')",
- "myfunc('er war')",
- "myfunc('er ist')",
- "myfunc('er')",
- "myfunc('sein')",
- "myfunc('seins')",
- "myfunc('mit mir')",
- "myfunc('mir')",
- "myfunc('fuer mich')",
- "myfunc('bin ich')",
- "myfunc('ich')",
- "myfunc('mein')",
- "myfunc('meins')",
- );
- $contractsearch=array(
- "/=reply/ie",
- "/name=reset/ie",
- "/:-\)/ie",
- "/:\)/ie",
- "/,\)/ie",
- "/;\)/ie",
- "/;-\)/ie",
- "/\"/ie",
- "/\//ie",
- "/\(/ie",
- "/\)/ie",
- "/`/ie",
- "/,/ie",
- "/:/ie",
- "/&/ie",
- "/-/ie",
- "/=/ie",
- "/,/ie",
- "/\bl a\b/ie",
- "/\bo k\b/ie",
- "/\bp s\b/ie",
- "/\bohh/ie",
- "/\bhehe/ie",
- "/\bhaha/ie",
- "/\bhellp\b/ie",
- "/\bbecuse\b/ie",
- "/\bbeleive\b/ie",
- "/\bbecasue\b/ie",
- "/\bbecuase\b/ie",
- "/\bbecouse\b/ie",
- "/\bpractice\b/ie",
- "/\breductionalism\b/ie",
- "/\bloebner price\b/ie",
- "/\bits a\b/ie",
- "/\bnoi\b/ie",
- "/\bfav\b/ie",
- "/\byesi\b/ie",
- "/\byesit\b/ie",
- "/\biam\b/ie",
- "/\bwelli\b/ie",
- "/\bwellit\b/ie",
- "/\bamfine\b/ie",
- "/\baman\b/ie",
- "/\bamon\b/ie",
- "/\bamnot\b/ie",
- "/\brealy\b/ie",
- "/\biamusing\b/ie",
- "/\bamleaving\b/ie",
- "/\byeah\b/ie",
- "/\byep\b/ie",
- "/\byha\b/ie",
- "/\byuo\b/ie",
- "/\bwanna\b/ie",
- "/\byou\'d\b/ie",
- "/\byou\'re\b/ie",
- "/\byou re\b/ie",
- "/\byou\'ve\b/ie",
- "/\byou ve\b/ie",
- "/\byou\'ll\b/ie",
- "/\byou ll\b/ie",
- "/\byoure\b/ie",
- "/\bdidnt\b/ie",
- "/\bdidn\'t\b/ie",
- "/\bdid\'nt\b/ie",
- "/\bcouldn\'t\b/ie",
- "/\bcouldn t\b/ie",
- "/\bdidn\'t\b/ie",
- "/\bdidn t\b/ie",
- "/\bain\'t\b/ie",
- "/\bain t\b/ie",
- "/\bisn\'t\b/ie",
- "/\bisn t\b/ie",
- "/\bisnt\b/ie",
- "/\bit\'s\b/ie",
- "/\bit s\b/ie",
- "/\bare\'nt\b/ie",
- "/\barent\b/ie",
- "/\baren\'t\b/ie",
- "/\baren t\b/ie",
- "/\barn t\b/ie",
- "/\bwhere\'s\b/ie",
- "/\bwhere s\b/ie",
- "/\bhaven\'t\b/ie",
- "/\bhavent\b/ie",
- "/\bhasn\'t\b/ie",
- "/\bhasn t\b/ie",
- "/\bweren t\b/ie",
- "/\bweren\'t\b/ie",
- "/\bwerent\b/ie",
- "/\bcan\'t\b/ie",
- "/\bcan t\b/ie",
- "/\bcant\b/ie",
- "/\bcannot\b/ie",
- "/\bwhos\b/ie",
- "/\bhow\'s\b/ie",
- "/\bhow s\b/ie",
- "/\bhow\'d\b/ie",
- "/\bhow d\b/ie",
- "/\bhows\b/ie",
- "/\bwhats\b/ie",
- "/\bname\'s\b/ie",
- "/\bwho\'s\b/ie",
- "/\bwho s\b/ie",
- "/\bwhat\'s\b/ie",
- "/\bwhat s\b/ie",
- "/\bthat\'s\b/ie",
- "/\bthere\'s\b/ie",
- "/\bthere s\b/ie",
- "/\btheres\b/ie",
- "/\bthats\b/ie",
- "/\bwhats\b/ie",
- "/\bdoesn\'t\b/ie",
- "/\bdoesn t\b/ie",
- "/\bdoesnt\b/ie",
- "/\bdon\'t\b/ie",
- "/\bdon t\b/ie",
- "/\bdont\b/ie",
- "/\bdo nt\b/ie",
- "/\bdo\'nt\b/ie",
- "/\bwon\'t\b/ie",
- "/\bwont\b/ie",
- "/\bwon t\b/ie",
- "/\blet\'s\b/ie",
- "/\bthey\'re\b/ie",
- "/\bthey re\b/ie",
- "/\bwasn\'t\b/ie",
- "/\bwasn t\b/ie",
- "/\bwasnt\b/ie",
- "/\bhadn\'t\b/ie",
- "/\bhadn t\b/ie",
- "/\bwouldn\'t\b/ie",
- "/\bwouldn t\b/ie",
- "/\bwouldnt\b/ie",
- "/\bshouldn\'t\b/ie",
- "/\bshouldnt\b/ie",
- "/\bfavourite\b/ie",
- "/\bcolour\b/ie",
- "/\bwe\'ll\b/ie",
- "/\bwe ll\b/ie",
- "/\bhe\'ll\b/ie",
- "/\bhe ll\b/ie",
- "/\bi\'ll\b/ie",
- "/\bive\b/ie",
- "/\bi\'ve\b/ie",
- "/\bi ve\b/ie",
- "/\bi\'d\b/ie",
- "/\bi\'m\b/ie",
- "/\bi m\b/ie",
- "/\bwe\'ve\b/ie",
- "/\bwe\'re\b/ie",
- "/\bshe\'s\b/ie",
- "/\bshes\b/ie",
- "/\bshe\'d\b/ie",
- "/\bshe d\b/ie",
- "/\bshed\b/ie",
- "/\bhe\'d\b/ie",
- "/\bhe d\b/ie",
- "/\bhed\b/ie",
- "/\bhe\'s\b/ie",
- "/\bwe ve\b/ie",
- "/\bwe re\b/ie",
- "/\bshe s\b/ie",
- "/\bhe s\b/ie",
- "/\biama\b/ie",
- "/\biamasking\b/ie",
- "/\biamdoing\b/ie",
- "/\biamfrom\b/ie",
- "/\biamin\b/ie",
- "/\biamok\b/ie",
- "/\biamsorry\b/ie",
- "/\biamtalking\b/ie",
- "/\biamtired\b/ie",
- "/\bdown load\b/ie",
- "/\bremeber\b/ie",
- "/\bwaht\b/ie",
- "/\bwallance\b/ie",
- "/\byou r\b/ie",
- "/\bu\b/ie",
- "/\bur\b/ie",
- "/{/ie",
- "/}/ie",
- "/\\\\/ie",
- "/\\\\\\\\/ie",
- "/:0/ie",
- "/: 0/ie",
- "/:1/ie",
- "/: 1/ie",
- "/:2/ie",
- "/: 2/ie",
- "/:3/ie",
- "/: 3/ie",
- "/:4/ie",
- "/: 4/ie",
- "/:5/ie",
- "/: 5/ie",
- "/\.0/ie",
- "/\.1/ie",
- "/\.2/ie",
- "/\.4/ie",
- "/\.5/ie",
- "/\.6/ie",
- "/\.7/ie",
- "/\.8/ie",
- "/\.9/ie",
- "/\bdr\.\b/ie",
- "/\bdr\.w/ie",
- "/\bdr \.\b/ie",
- "/\bmr\.\b/ie",
- "/\bmrs\.\b/ie",
- "/\bst\.\b/ie",
- "/\bwww\./ie",
- "/\bbotspot\./ie",
- "/\bamused\.com/ie",
- "/\bwhatis\./ie",
- "/\.com\b/ie",
- "/\.net\b/ie",
- "/\.org\b/ie",
- "/\.edu\b/ie",
- "/\.uk\b/ie",
- "/\.jp\b/ie",
- "/\.au\b/ie",
- "/\.co\b/ie",
- "/\.ac\b/ie",
- "/\bo\.k\.\b/ie",
- "/\bo\. k\.\b/ie",
- "/\bl\.l\.\b/ie",
- "/\bp\.s\.\b/ie",
- "/\balicebot\b/ie",
- "/\ba l i c e\b/ie",
- "/\ba\.l\.i\.c\.e\.\b/ie",
- "/\ba\.l\.i\.c\.e\b/ie",
- "/\bi\.c\.e\b/ie",
- "/\be l v i s\b/ie",
- "/\be\.l\.v\.i\.s\.\b/ie",
- "/\be\.l\.v\.i\.s\b/ie",
- "/\bv\.i\.s\b/ie",
- "/\bh a l\b/ie",
- "/\bh\.a\.l\.\b/ie",
- "/\bu s a\b/ie",
- "/\bu\. s\. a\.\b/ie",
- "/\bu\.s\.a\.\b/ie",
- "/\bu\.s\.\b/ie",
- "/\bph\.d\.\b/ie",
- "/\ba\./ie",
- "/\bb\./ie",
- "/\bc\./ie",
- "/\bd\./ie",
- "/\be\./ie",
- "/\bf\./ie",
- "/\bg\./ie",
- "/\bh\./ie",
- "/\bi\./ie",
- "/\bj\./ie",
- "/\bk\./ie",
- "/\bl\./ie",
- "/\bm\./ie",
- "/\bn\./ie",
- "/\bp\./ie",
- "/\bo\./ie",
- "/\bq\./ie",
- "/\br\./ie",
- "/\bs\./ie",
- "/\bt\./ie",
- "/\bu\./ie",
- "/\bv\./ie",
- "/\bx\./ie",
- "/\by\./ie",
- "/\bw\./ie",
- "/\bz\./ie",
- "/\.jar/ie",
- "/\.zip/ie",
- "/, but\b/ie",
- "/, and\b/ie",
- "/,but\b/ie",
- "/,and\b/ie",
- "/, i\b/ie",
- "/, you\b/ie",
- "/,i\b/ie",
- "/,you\b/ie",
- "/, what\b/ie",
- "/,what\b/ie",
- "/, do\b/ie",
- "/,do\b/ie",
- );
- $contractreplace=array(
- "myfunc('')",
- "myfunc('')",
- "myfunc('smile')",
- "myfunc('smile')",
- "myfunc('smile')",
- "myfunc('smile')",
- "myfunc('smile')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('-')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('la')",
- "myfunc('ok')",
- "myfunc('ps')",
- "myfunc('oh')",
- "myfunc('he')",
- "myfunc('ha')",
- "myfunc('help')",
- "myfunc('because')",
- "myfunc('believe')",
- "myfunc('because')",
- "myfunc('because')",
- "myfunc('because')",
- "myfunc('practise')",
- "myfunc('reductionism')",
- "myfunc('loebner prize')",
- "myfunc('it is a')",
- "myfunc('yes I')",
- "myfunc('favorite')",
- "myfunc('yes I')",
- "myfunc('yes it')",
- "myfunc('I am')",
- "myfunc('well I')",
- "myfunc('well it')",
- "myfunc('am fine')",
- "myfunc('am an')",
- "myfunc('am on')",
- "myfunc('am not')",
- "myfunc('really')",
- "myfunc('I am using')",
- "myfunc('am leaving')",
- "myfunc('yes')",
- "myfunc('yes')",
- "myfunc('yes')",
- "myfunc('you')",
- "myfunc('want to')",
- "myfunc('you would')",
- "myfunc('you are')",
- "myfunc('you are')",
- "myfunc('you have')",
- "myfunc('you have')",
- "myfunc('you will')",
- "myfunc('you will')",
- "myfunc('you are')",
- "myfunc('did not')",
- "myfunc('did not')",
- "myfunc('did not')",
- "myfunc('could not')",
- "myfunc('could not')",
- "myfunc('did not')",
- "myfunc('did not')",
- "myfunc('is not')",
- "myfunc('is not')",
- "myfunc('is not')",
- "myfunc('is not')",
- "myfunc('is not')",
- "myfunc('it is')",
- "myfunc('it is')",
- "myfunc('are not')",
- "myfunc('are not')",
- "myfunc('are not')",
- "myfunc('are not')",
- "myfunc('are not')",
- "myfunc('where is')",
- "myfunc('where is')",
- "myfunc('have not')",
- "myfunc('have not')",
- "myfunc('has not')",
- "myfunc('has not')",
- "myfunc('were not')",
- "myfunc('were not')",
- "myfunc('were not')",
- "myfunc('can not')",
- "myfunc('can not')",
- "myfunc('can not')",
- "myfunc('can not')",
- "myfunc('who is')",
- "myfunc('how is')",
- "myfunc('how is')",
- "myfunc('how did')",
- "myfunc('how did')",
- "myfunc('how is')",
- "myfunc('what is')",
- "myfunc('name is')",
- "myfunc('who is')",
- "myfunc('who is')",
- "myfunc('what is')",
- "myfunc('what is')",
- "myfunc('that is')",
- "myfunc('there is')",
- "myfunc('there is')",
- "myfunc('there is')",
- "myfunc('that is')",
- "myfunc('what is')",
- "myfunc('does not')",
- "myfunc('does not')",
- "myfunc('does not')",
- "myfunc('do not')",
- "myfunc('do not')",
- "myfunc('do not')",
- "myfunc('do not')",
- "myfunc('do not')",
- "myfunc('will not')",
- "myfunc('will not')",
- "myfunc('will not')",
- "myfunc('let us')",
- "myfunc('they are')",
- "myfunc('they are')",
- "myfunc('was not')",
- "myfunc('was not')",
- "myfunc('was not')",
- "myfunc('had not')",
- "myfunc('had not')",
- "myfunc('would not')",
- "myfunc('would not')",
- "myfunc('would not')",
- "myfunc('should not')",
- "myfunc('should not')",
- "myfunc('favorite')",
- "myfunc('color')",
- "myfunc('we will')",
- "myfunc('we will')",
- "myfunc('he will')",
- "myfunc('he will')",
- "myfunc('I will')",
- "myfunc('I have')",
- "myfunc('I have')",
- "myfunc('I have')",
- "myfunc('I would')",
- "myfunc('I am')",
- "myfunc('I am')",
- "myfunc('we have')",
- "myfunc('we are')",
- "myfunc('she is')",
- "myfunc('she is')",
- "myfunc('she would')",
- "myfunc('she would')",
- "myfunc('she would')",
- "myfunc('he would')",
- "myfunc('he would')",
- "myfunc('he would')",
- "myfunc('he is')",
- "myfunc('we have')",
- "myfunc('we are')",
- "myfunc('she is')",
- "myfunc('he is')",
- "myfunc('I am a')",
- "myfunc('I am asking')",
- "myfunc('I am doing')",
- "myfunc('I am from')",
- "myfunc('I am in')",
- "myfunc('I am ok')",
- "myfunc('I am sorry')",
- "myfunc('I am talking')",
- "myfunc('I am tired')",
- "myfunc('download')",
- "myfunc('remember')",
- "myfunc('what')",
- "myfunc('wallace')",
- "myfunc('you are')",
- "myfunc('you')",
- "myfunc('your')",
- "myfunc('beginscript')",
- "myfunc('endscript')",
- "myfunc('')",
- "myfunc('')",
- "myfunc('0')",
- "myfunc('0')",
- "myfunc('1')",
- "myfunc('1')",
- "myfunc('2')",
- "myfunc('2')",
- "myfunc('3')",
- "myfunc('3')",
- "myfunc('4')",
- "myfunc('4')",
- "myfunc('5')",
- "myfunc('5')",
- "myfunc('point 0')",
- "myfunc('point 1')",
- "myfunc('point 3')",
- "myfunc('point 4')",
- "myfunc('point 5')",
- "myfunc('point 6')",
- "myfunc('point 7')",
- "myfunc('point 8')",
- "myfunc('point 9')",
- "myfunc('Dr')",
- "myfunc('Dr w')",
- "myfunc('Dr')",
- "myfunc('Mr')",
- "myfunc('Mrs')",
- "myfunc('St')",
- "myfunc('www dot')",
- "myfunc('botspot dot')",
- "myfunc('amused dot com')",
- "myfunc('whatis dot')",
- "myfunc('dot com')",
- "myfunc('dot net')",
- "myfunc('dot org')",
- "myfunc('dot edu')",
- "myfunc('dot uk')",
- "myfunc('dot jp')",
- "myfunc('dot au')",
- "myfunc('dot co')",
- "myfunc('dot ac')",
- "myfunc('ok')",
- "myfunc('ok')",
- "myfunc('l l')",
- "myfunc('ps')",
- "myfunc('ALICE')",
- "myfunc('ALICE')",
- "myfunc('ALICE')",
- "myfunc('ALICE')",
- "myfunc('i c e')",
- "myfunc('ELVIS')",
- "myfunc('ELVIS')",
- "myfunc('ELVIS')",
- "myfunc('v i s')",
- "myfunc('hal')",
- "myfunc('hal')",
- "myfunc('USA')",
- "myfunc('USA')",
- "myfunc('USA')",
- "myfunc('USA')",
- "myfunc('PhD')",
- "myfunc('a')",
- "myfunc('b')",
- "myfunc('c')",
- "myfunc('d')",
- "myfunc('e')",
- "myfunc('f')",
- "myfunc('g')",
- "myfunc('h')",
- "myfunc('i')",
- "myfunc('j')",
- "myfunc('k')",
- "myfunc('l')",
- "myfunc('m')",
- "myfunc('n')",
- "myfunc('p')",
- "myfunc('o')",
- "myfunc('q')",
- "myfunc('r')",
- "myfunc('s')",
- "myfunc('t')",
- "myfunc('u')",
- "myfunc('v')",
- "myfunc('x')",
- "myfunc('y')",
- "myfunc('w')",
- "myfunc('z')",
- "myfunc('jar')",
- "myfunc('zip')",
- "myfunc('.')",
- "myfunc('.')",
- "myfunc('.')",
- "myfunc('.')",
- "myfunc('. I')",
- "myfunc('. you')",
- "myfunc('. I')",
- "myfunc('. you')",
- "myfunc('. what')",
- "myfunc('. what')",
- "myfunc('. do')",
- "myfunc('. do')",
- );
- $likeperiodsearch=array(
- ".",
- "!",
- "?",
- );
- $likeperiodreplace=array(
- ".",
- ".",
- ".",
- );
- ?>
Documentation generated on Tue, 11 Jan 2005 18:39:05 +0100 by phpDocumentor 1.3.0RC3