[SimBot-commits] CVS: simbot/plugins nlp.pl,1.8,1.9
Status: Abandoned
Brought to you by:
kstange
|
From: Kevin S. <ks...@us...> - 2006-11-23 08:48:19
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv29828/plugins Modified Files: nlp.pl Log Message: I forgot this. Index: nlp.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/nlp.pl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -p -r1.8 -r1.9 --- nlp.pl 10 Nov 2005 13:02:15 -0000 1.8 +++ nlp.pl 23 Nov 2006 08:48:16 -0000 1.9 @@ -258,7 +258,7 @@ sub process_nlp { # a decimal number $format =~ s/\{d\}/\\d+\\.?\\d*/g; # a quantity (a number, a decimal number, or some named values) - $format =~ s/\{q\}/(\\d+\\.?\\d*|couple|couple of|handful of|all|every|all the|no|some|few|an|the|many|several|plenty of|lot of|lots of|copious|excessive|$verbmatch)/g; + $format =~ s/\{q\}/(\\d+\\.?\\d*|couple|couple of|handful of|all|every|all the|no|some|few|an|the|many|several|plenty of|lot of|lots of|copious|excessive|dozen|dozens of|$verbmatch)/g; # x wordlike characters (a single word of length x) $format =~ s/\{w(\d+)\}/\\w{$1}/g; # one or more word-like characters ( a single word) |