On 4/18/2013 12:26 PM, Axb wrote:
> On 04/18/2013 06:18 PM, Ben Johnson wrote:
>> I have done some searching-around on the string "cannot use bayes on
>> this message; not enough usable tokens found" and have not found
>> anything authoritative regarding what this message might mean and
>> whether or not it can be ignored or if it is symptomatic of a larger
>> Bayes problem.
> 
> Curious: what are your reasons for using Bayes in SQL?
> Are you sharing the DB among several machines? Or is this a single
> box/global bayes  setup?
> 
> 

Not yet, but that is the ultimate plan (to share the DB across multiple
servers). Also, I like the idea that the Bayes DB is backed-up
automatically along with all other databases on the server (we run a
cron script that performs the dump). Granted, it would be trivial to
schedule a call to "sa-learn --backup", but storing the data in SQL
seems more portable and makes it easier to query the data for reporting
purposes.

Then again, I retain the corpora, so backing-up the DB is only useful
for when data needs to be moved from one server or database to another
(as moving the corpora seems far less practical).

Are you suggesting that I should scrap SQL and go back to a flat-file
DB? Is that the only path to a fix (short of upgrading SA)?

Thanks for your help!

-Ben

Reply via email to