Changeset 1085
- Timestamp:
- 09/02/10 16:53:40 (17 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
modules/output.tcl (modified) (2 diffs)
-
plugins/en/output_demon.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/output.tcl
r1082 r1085 115 115 set channel [chandname2name $channel] 116 116 regsub "^\"(.+)\"?$" $action {\1} action 117 if {([string index $action 0] != ".") && ( [rand 10] == 0)} {117 if {([string index $action 0] != ".") && (![regexp -nocase "^is" $action]) && ([rand 10] == 0)} { 118 118 set action "*$action*" 119 119 } else { … … 1004 1004 bMotion_putloglev 5 * "bMotionMakePlural ($text)" 1005 1005 1006 if [regexp -nocase "( us|is|x|ch|sh)$" $text] {1006 if [regexp -nocase "(ss|ts|us|is|x|ch|sh)$" $text] { 1007 1007 append text "es" 1008 1008 return $text -
trunk/plugins/en/output_demon.tcl
r961 r1085 27 27 foreach word $words { 28 28 29 regsub -all {([^aeiou])i([^aeiuo])} $word {\1y\2} word 29 30 regsub -all {c?k\M} $word {q} word 31 30 32 regsub -all {o([b-df-hj-np-tv-xz])e(s|ing)?\M} $word {oa\1\2} word 31 33 … … 36 38 37 39 #other special cases to fix 38 set word [string map -nocase { soam some } $word] 40 set word [string map -nocase { soam some someoan someone } $word] 41 42 regsub -all {le(s)?\M} $word {al\1} word 39 43 40 44 # moving on...
Note: See TracChangeset
for help on using the changeset viewer.
