On Thu, 2013-10-17 at 09:13 -0700, John Hardin wrote: > On Thu, 17 Oct 2013, Mauricio Tavares wrote:
> > Reading > > http://www.mail-archive.com/spamassassin-talk@lists.sourceforge.net/msg23962.html > > I was wondering where those .lm files are (vi.lm, en.lm, etc). I could > > not find them in the ubuntu box I have spamassassin installed on. They are in the SA sources lm/ directory and (mostly) taken directly from the original TextCat program. > That I don't know, apart from assuming they're somewhere under the SA > install directory since they're being shipped as part of a SA plugin. They aren't. The 'languages' file generated from these *.lm files is shipped with SA. The source files are only needed for modification of existing or adding of new languages -- which is what the above archive link is about. -- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}