Ignore:
Timestamp:
08/28/10 19:46:27 (21 months ago)
Author:
james
Message:

updated stoplist for append plugin
added support for forcing female and male mixing (:malemixin and :femalemixin)
use ultraprefix for some plurals
more fixes in output_english
more stoplist for complex_spoonerism
stoplist for complex_ass
simple_calls plugin
simple_countries plugin
support for how much question types
fixed action_simple loading
a lot of abstract changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/en/output_english.tcl

    r1049 r1084  
    3737  } 
    3838 
    39         #"a an" and "an a" are wrong 
    40         regsub -nocase -all "(a an|an a) " $line "" "a" 
    4139 
    4240  #"a" before a vowel needs to be "an" 
     
    4846        # a(n) before a number is wrong more often than it is right 
    4947        regsub -nocase -all {an? ([0-9]+)} $line {\1} line 
     48 
     49        #"a an" and "an a" are wrong 
     50        regsub -nocase -all "(a an|an a) " $line "" "a" 
    5051 
    5152  if {[rand 100] > 60} { 
     
    6061  } 
    6162 
     63        regsub -all "an? some" $line "some" line 
     64 
     65        regsub -all "you is " $line "you are " line 
     66 
     67        regsub -all "the an?" $line "the" line 
     68 
    6269        #fix double (or more) spaces 
    6370        regsub -all "  +" $line " " line 
     
    6875        regsub -all {\myou is\M} $line "you are" line 
    6976 
     77        #fix gap before full stop 
     78 
     79        #TODO: fix 
     80        regexp -all { +\\.} $line "." line 
     81 
    7082        # fix american spellings 
    7183        # TODO: make this an option or US bots can talk wrong english and UK bots can talk right english 
Note: See TracChangeset for help on using the changeset viewer.