VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1]2 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 12:41:36 08/01/02 Thu
Author: DeepaD
Subject: Robert's nifty word-counter
In reply to: DeepaD 's message, "The Bookmarks Reorganisation Thread" on 10:09:44 07/28/02 Sun

I've not found the program I was originally thinking off,
but I have found a way to get a word count on all your
html files in just a few minutes. much quicker than doing
them all individually.

You do need to go into dos, but it is straightforwards.
I don't know how much you know so I'll give brief
instructions. If you want I can give step by step
instructions.

I assume your copies of the files in the archive
are all together in one directory (and maybe
it's subdirectories) not mixed in with your
non-archive html files.

Go to
http://www.thugworld.com/utility/utiltext23.html
and download
wt16v12.zip and wc10b.zip

Create a new empty folder on your system,
say WordCount, and unzip the two programs
into it.

Use the find icon on the start menu to
find all the html, htm and txt files

Select them all from that window and copy them
into the WordCount folder.

Click on web2text.exe
This will list all the html files in the directory and
make pure text copies by removing all the html
code.

Highlight the top file in the list, then hold down
the mouse button and move down to select them
all.

You could just look at the sizes of the text files
and estimate word counts from that.

For exact numbers (subject to the caveats I
mentioned in the last e-mail) open a Dos window.

Go into the WordCount directory
(e.g cd C:\WordCount)
and type
wc *.txt > wordcount

(Don't use wordcount.txt or wc gets confused.)

The file wordcount will contain a long four column
list.

The first column is the Dos name of a file.
(A maximum of eight letters, so long names will have
been truncated)

The first three columns are the number of lines, words,
and characters in the file named in the fourth column.

This should let you see what the word lengths of
the files in your archives are a lot quicker than
checking each of them individually.

I hope this helps.

--
Robert

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:

[> Kyra's word counter -- DeepaD, 06:52:58 08/04/02 Sun

http://javascriptkit.com/script/script2/countwords.shtml

maybe this can persuade more people to cough up some of their time and come to my aid...!

Deepa D.


[ Edit | View ]





[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.