Changeset 1118 for trunk


Ignore:
Timestamp:
08/25/11 06:47:56 (9 months ago)
Author:
james
Message:

add stoplist

File:
1 edited

Legend:

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

    r1117 r1118  
    2323        if [regexp -nocase "technically (not )?(an? )?(\[a-z\]+)\\M" $text matches a b thing] { 
    2424                putlog "thing=$thing, a=$a, b=$b" 
     25 
     26                #check stoplist 
     27                if [regexp -nocase "(at)" $thing] { 
     28                        return 0 
     29                } 
     30 
    2531                set response "The best kind of $thing" 
    2632                if {$a == "not "} { 
Note: See TracChangeset for help on using the changeset viewer.