Article View: news.software.nntp
Article #71774Update
From: sebhoff2002
Date: Mon, 06 Jun 2005 13:33
Date: Mon, 06 Jun 2005 13:33
32 lines
2813 bytes
2813 bytes
Curt Welch schrieb: > For normal news software, no one has to write the code you are trying to > create, so it's not a problem that has been delt with. All that normal > news softare ever does is try to figure out which lines match up with which > other lines in the same post so they can be re-wrapped correctly - but that > is done simply by counting indent markers and assuming they are consistent > (which of course is not always the case). But when they are not > consistent, the line wraping code doesn't make it much worse so it's just > not a problem that has been addressed. > > Good luck... > Thanks for confirming my hunch that nothing of this sort has been done before... ;-) A quick update: I've now written a script that starts at root level and recursively works through all follow-up postings of a thread. It manages to assign about 99% of all quoted lines to previous posts and keeps track of things with some sort of pseudo-SGML-tags (and saves the converted text into a MySQL database). For a group like news.software.nntp, roughly between 2 and 7 per cent of all postings of a particular level contain lines that cannot be assigned. I haven't checked how many per cent of all threads are completely "clean" - but I suspect that it's not too bad. Sebastian PS: And yes, my script correctly assigns the split quote shown in my original posting - although it seems to span over three very different levels. :-)
Technical Details
Message-ID:
<1118064821.550228.244650@g14g2000cwa.googlegroups.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!atl3-c02.usenetserver.com!news.maxwell.syr.edu!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mailReferences:
<1117636666.097792.275450@z14g2000cwz.googlegroups.com> <d7l6eb$gud$1@galaxy.uci.agh.edu.pl> <1117691221.219396.88370@f14g2000cwb.googlegroups.com> <20050603162018.526$93@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <1118064821.550228.244650@g14g2000cwa.googlegroups.com> Subject: Update Date: Mon, 06 Jun 2005 13:33:41 +0000 From: sebhoff2002@yahoo.com References: <1117636666.097792.275450@z14g2000cwz.googlegroups.com> <d7l6eb$gud$1@galaxy.uci.agh.edu.pl> <1117691221.219396.88370@f14g2000cwb.googlegroups.com> <20050603162018.526$93@newsreader.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!atl3-c02.usenetserver.com!news.maxwell.syr.edu!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 32 NNTP-Posting-Host: 130.60.18.123 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1118064827 22585 127.0.0.1 (6 Jun 2005 13:33:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 6 Jun 2005 13:33:47 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=130.60.18.123; posting-account=Ca-1iwwAAAC6dBEUDqGIFAlU6pczIRdf