From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Adaptive word scoring
Date: 04 Aug 1996 04:57:57 +0200 [thread overview]
Message-ID: <w8sbugr97pm.fsf@hler.ifi.uio.no> (raw)
I want to implement adaptive scoring on words. Since this will
generate a *lot* of score rules, I think I have to write a new match
method -- `w'. One could use string search (to inaccurate), regexp
search with "\bword\b" (too slow), split all subjects into words and
put them in a list and use `member' (too slow), intern them and use
`memq' (better, but too slow), split into words and put in a buffer
and use search for "\nword\n" (slowish). So I think I'll split into
words and use a hash table, which seems to be the fastest way. This
means that the words'll have to be downcased, so one can't then have
case-sensitive word matches.
Yes. Does anybody have a list of common English "small words" --
"and", "the", etc., that should be excluded from adaptiation? This
should be configurable, of course.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@ifi.uio.no * Lars Ingebrigtsen
next reply other threads:[~1996-08-04 2:57 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-04 2:57 Lars Magne Ingebrigtsen [this message]
1996-08-04 17:19 ` François Pinard
1996-10-31 1:34 Sten Drescher
1996-11-05 15:51 ` Robert Bihlmeyer
1996-11-05 17:16 ` Per Abrahamsen
1996-11-05 21:24 ` Lars Magne Ingebrigtsen
1996-11-05 21:25 ` Lars Magne Ingebrigtsen
1996-11-29 5:25 adaptive " Felix Lee
1996-11-29 8:09 ` Kai Grossjohann
1996-11-29 22:48 ` Felix Lee
1996-11-30 13:18 ` Lars Magne Ingebrigtsen
1996-12-01 8:39 ` Felix Lee
1996-11-29 15:45 ` Jan Vroonhof
1996-11-30 2:28 ` Felix Lee
1996-12-02 9:37 ` Steinar Bang
1996-12-02 9:40 ` Wesley.Hardaker
1996-12-05 18:49 ` Lars Magne Ingebrigtsen
1996-12-06 8:18 ` Wesley.Hardaker
1996-12-02 11:46 ` Hans de Graaff
1996-12-02 15:08 ` Robert Bihlmeyer
1996-12-05 18:50 ` Lars Magne Ingebrigtsen
1996-12-05 21:21 ` Sean Lynch
1996-12-06 10:39 ` Lars Magne Ingebrigtsen
1996-12-08 22:19 ` Sean Lynch
1996-12-11 0:44 ` Lars Magne Ingebrigtsen
1996-12-06 21:02 ` Janne Sinkkonen
1996-12-08 22:48 ` Sean Lynch
[not found] ` <vcn2vvixpz.fsf@totally-fudged-out-message-id>
1996-12-03 13:51 ` Holger Franz
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=w8sbugr97pm.fsf@hler.ifi.uio.no \
--to=larsi@ifi.uio.no \
/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.
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 NNTP newsgroup(s).