From: Olly Betts <olly@survex.com>
To: notmuch@notmuchmail.org
Subject: Re: Notmuch's search view sucks
Date: Fri, 4 Dec 2009 10:36:45 +0000 (UTC) [thread overview]
Message-ID: <loom.20091204T113129-355@post.gmane.org> (raw)
In-Reply-To: b8197bcb0912032314n1047a4d6q2b3214c6b16d07cc@mail.gmail.com
Karl Wiberg writes:
> On Fri, Dec 4, 2009 at 1:29 AM, Carl Worth wrote:
> > And a step beyond that would support different languages for
> > different emails, but that sounds like something "hard" to identify.
>
> But probably not as hard as identifying spam. It could probably be
> done with a simple Bayesian filter counting word frequencies---but
> it'd be much better if somebody else had already solved the problem,
> since this smells suspiciously like something that ought to be a
> separate project and put in a library ... does anyone know if such a
> project already exists?
There's TextCat:
http://www.let.rug.nl/vannoord/TextCat/
It looks at n-gram frequencies, and can guess pretty reliably from
even a fairly small amount of text.
TextCat is in Perl. I don't know if there's a C or C++ implementation
but it isn't a huge piece of code - finding a good technique was the
clever part of it.
Cheers,
Olly
next prev parent reply other threads:[~2009-12-04 10:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 13:33 Notmuch's search view sucks Gregor Hoffleit
2009-12-04 0:29 ` Carl Worth
2009-12-04 7:14 ` Karl Wiberg
2009-12-04 10:36 ` Olly Betts [this message]
2009-12-04 11:52 ` Aaron Ecay
2009-12-04 18:01 ` Carl Worth
2009-12-04 17:58 ` Baruch Even
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20091204T113129-355@post.gmane.org \
--to=olly@survex.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).