🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25093

Re: Automatic keyword generation for INN 1.7.2

#25093
From: Karl Kleinpaste
Date: Sat, 10 Jan 1998 00:00
84 lines
4827 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes:
> It is not apparent from looking at the code how much CPU it would
> take up, on average.

An acceptable description would be "quite a bit."  It is, after all,
grinding article bodies, including copying the body for the sake of
destructive analysis.  (I would have liked to have used the original
copy, but I cannot do that because overviews are created before
feeding is done, hence I cannot touch the original body.)

> Do you run it on all the articles coming in?  In all newsgroups?

Yes.  My server is a RedHat 5.0 Linux box, PPro, uniprocessor,
128Mbytes, a small RAID0 filesystem (18Gbytes?) in which everything
Usenetish lives, with two feeds, of the general form "Basic8 +
alt/pa/pgh - binaries/wares".  One of my feeds limits incoming
articles to 64Kbytes, the other does not (but will soon, I hope; that
feed is also bleeding binaries which I am trying to have stopped -- we 
are not an ISP, are not in need of keeping the porn-fed crowd happy).

> What percentage of articles actually have keywords when they arrive
> vs the ones that need them added?

Generally speaking, nothing but FAQs has Keywords: present; it is
nearly an otherwise-unused header.  Scan articles in news.*, for
example, and you will see what I mean.  I just did this with a bunch
of my .overview files, and came up with essentially nothing but FAQs:

	cut -f10 .overview | grep -v "Keywords: ,�"

Nonetheless, scorability on keywords is *very* useful; having had the
capability now for a year, I would not again want to use a news server
which doesn't provide keywords in overviews.

A little background: The desire for this capability arose a year ago
in discussion with a co-worker, who protested that attempting to
follow threads in his favorite groups (rec.photo*; he's semi-pro) was
hopeless because of the twin problems of discussion splintering and an
inability to find topics of discussion which would interest him which
don't appear in Subject:.  His example was camera manufacturers'
names' failure to appear in Subject: when it nonetheless figures
prominently in article bodies.  My response was to give him
this...which his chosen newsreader does not yet know how to use. :-)

What we do here at JPRC is information retrieval, image processing,
and machine learning.  This fell under the first of those categories.

> What software is using the keyword header now?  

As far as I know, only my patched Gnus.  Patched Gnus both generates
the header for the user with confirmation, as well as scores on them,
regardless of whether provided by the user in an actual Keywords:
header, or auto-generated by my INN patch.  But any reader which
understands Xref: for scoring can be convinced to understand Keywords:
awfully easily.

> Under what situations would you recommend an INN site use the
> keyword generation.

On reader machines.  This is a reader-centric feature, not needed on
feeders.  With a suitably (caustically) low value for ABSURD, one can
be sure it won't cost anything at all on "large" articles.

> Do you have any estimate of the CPU load it takes.  mS per article?

I did...a year ago, but I seem to have lost that data.  /mumble/  I
had done some blunt grinding of thousands of article insertions, with
and without Keywords:full in overview.fmt.  I don't think I could
recover that particular data without resorting to backup tape.

With my newly-installed 1.7.2 installation, I have the timer patch
included (insync-1.1d version), but I do not yet know how to put the
add'l log entries to use -- so far, all I am getting is a few hundred
"unknown log entries" in the news.daily report.  If I knew where an
updated news.daily was which would grind those entries for me, I could
run a day without Keywords:full, and find the average difference
against a day with.  Pointers, anyone?

> How does it compare to .pl filter CPU usages?

I have never used it, sorry; no data.

Technical Details
Message-ID: <vxkbtxkce6y.fsf@pocari-sweat.jprc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <vxkoh1ly4k5.fsf@pocari-sweat.jprc.com> <69602s$djr$1@news1.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <vxkbtxkce6y.fsf@pocari-sweat.jprc.com>
Subject: Re: Automatic keyword generation for INN 1.7.2
Date: Sat, 10 Jan 1998 00:00:00 +0000
From: Karl Kleinpaste <karl@jprc.com>
References: <vxkoh1ly4k5.fsf@pocari-sweat.jprc.com> <69602s$djr$1@news1.epix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 314735141
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
Organization: Justsystem Pittsburgh Research Center
Keywords: keywords,use,header,article
Newsgroups: news.software.nntp