Case sensitivity in CLASSIFY and LEARN
James Lee <csejl-/[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm wondering if the CLASSIFY and LEARN statements are case sensitive. If so, does that mean I have to convert all texts into the same case before feeding them into the CLASSIFY and LEARN statements to achieve higher accuracy (without training with all possible combinations of cases for each word)? It appears that there's no flag to turn on/off case sensitivity for these two statements. The <nocase> flag only applies to the word pattern part of the statement, correct?
In my daemonization code (using FIFO), if I feed in a buffer that's too big I get the following error and the entire program exits:
/usr/bin/crm: *ERROR*
This program has overflowed the ISOLATEd data area with a variable that's just too big. The bad variable was named: :fifo:
Sorry, but this program is very sick and probably should be killed off.
This happened at line 12 of file /home/me/daemon.crm
The line was:
--> input (:fifo:) [ \/tmp\/dynamic_fifo ]
<--
I used the -w flag to increase the max data window size to get around this problem. Also, I plan on limiting the size of the buffer on the client side to reduce the likelihood of this happening. My question is: Is there a way to prevent the entire program from exiting in case something like this happens? For example, is it possible to ignore this error, re-initialize and carry on (to the next iteration of a loop)?
Thanks,
-James
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/