Article View: news.software.readers
Article #194Re: Keyword-based searching (and a ps on moderator-based groups).
From: Jamie Zawinski
Date: Sat, 29 Jun 1991 14:03
Date: Sat, 29 Jun 1991 14:03
48 lines
3601 bytes
3601 bytes
In article <1991Jun29.123232.12014@panix.uucp> alexis@panix.uucp (Alexis Rosen) wrote: > > There may be a solution, though. We should standardize a rated thesaurus, > which would establish for each word a set of related groups with numerical > ratings which describe how likely (purely by usage) the given word is to be > used with a meaning that belongs in that word group. Also, (and this is key), > each word would have an ambiguity rating determined by the number of possible > groups it can belong to (it could be a more complex function of relative > usage patterns, too). I don't think words are the right level of granularity. Here's an idea I've been thinking about for a while. I've got this dissociator which works by building up a graph of the word occurences; for every word, it knows how many times it has occurred, which set of words have ever been seen immediately after it (and how many times each) and which set of words have ever been seen immediately before it (and how many times each). It also has some stats about punctuation and capitalization, but that't not important. To generate a random sentence, it picks a word, and then picks a random successor, weighted among the set of possible following words by how often they occurred. Now, it seems to me that with this data structure, it should be possible to compute a histogram of not just word occurrences, but also of phrase occurrences. For instance, I think it should be possible to suck in an article, and know that the phrase "the devil Bush" was a common one. I guess what I'm thinking about is analysing the graph, and finding some kind of local maximum taking into account both number of occurrences and length of the word sequence. That is, if the phrase "the devil Bush" occurred 7 times, that should be considered more important than the fact that the word "death" occurred 30 times. Of course, this is all just based on word-counts; if this thing had some concept of parts of speech and sentence structure, it could do even better, by normalizing common synonyms. Maybe a list of the 500 most common verbs would do... Anyway, I guess my point is that a keyword search that knew more than just "this string is a subsequence of this article" would go a long way towards what we want out of the system. Another interesting idea might be to move this to the news-client end: what if before posting an article, your posting software would scan your article and present you with its guess of what the relevant keywords are? If it came up with reasonably good defaults, then people would tend to use the Keywords field, and it might actually be a useful thing. -- Jamie
Technical Details
Message-ID:
<JWZ.91Jun29160343@thalidomide.lucid.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!mcsun!uunet!stanford.edu!lucid.com!karoshi!jwzReferences:
<1991Jun28.051219.1191@alembic.acs.com> <1991Jun29.011313.28499@looking.on.ca> <1991Jun29.110321.11550@panix.uucp> <1991Jun29.123232.12014@panix.uucp>Show Full Headers
Complete Article Headers
Message-ID: <JWZ.91Jun29160343@thalidomide.lucid.com> Subject: Re: Keyword-based searching (and a ps on moderator-based groups). Date: Sat, 29 Jun 1991 14:03:43 +0000 From: jwz@lucid.com (Jamie Zawinski) References: <1991Jun28.051219.1191@alembic.acs.com> <1991Jun29.011313.28499@looking.on.ca> <1991Jun29.110321.11550@panix.uucp> <1991Jun29.123232.12014@panix.uucp> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!mcsun!uunet!stanford.edu!lucid.com!karoshi!jwz Newsgroups: news.software.readers Sender: usenet@lucid.com Organization: Lucid, Inc., Menlo Park, CA Lines: 48 In-Reply-To: alexis@panix.uucp's message of 29 Jun 91 12:32:32 GMT X-Windows: Warn your friends about it.