Hatrack River Writers Workshop   
my profile login | search | faq | forum home

  next oldest topic   next newest topic
» Hatrack River Writers Workshop » Forums » Open Discussions About Writing » word count program

   
Author Topic: word count program
srhowen
Member
Member # 462

 - posted      Profile for srhowen   Email srhowen         Edit/Delete Post 
Hi all,

been awhile--I have a question, I think it was here that someone did up a program that counted how many time you used words in a ms. After a computer crash I lost the program and would love to have it back.

If oyu have the link, or did the program would you mind sharing again?

Shawn


Posts: 1019 | Registered: Apr 2000  | Report this post to a Moderator
RFLong
Member
Member # 1923

 - posted      Profile for RFLong           Edit/Delete Post 
Hi Shawn

I'm afriad I don't have the program but I'm sure someone will.

I just wanted to say that it's great to hear from you again!

R


Posts: 284 | Registered: Feb 2004  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
Here is the program I threw together.

Word Counter


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
mikemunsil
Member
Member # 2109

 - posted      Profile for mikemunsil   Email mikemunsil         Edit/Delete Post 
Cool! Thanks LDS!
Posts: 2710 | Registered: Jul 2004  | Report this post to a Moderator
Elan
Member
Member # 2442

 - posted      Profile for Elan           Edit/Delete Post 
Microsoft WORD has a word count built into it. As long as you don't have any specific text highlighted, it will count the words in the entire document.
Posts: 2026 | Registered: Mar 2005  | Report this post to a Moderator
Christine
Member
Member # 1646

 - posted      Profile for Christine   Email Christine         Edit/Delete Post 
This word counter counts the number of each word you have....it's a way to look for words you use too often. MS word does not do that.
Posts: 3567 | Registered: May 2003  | Report this post to a Moderator
RavenStarr
Member
Member # 2327

 - posted      Profile for RavenStarr   Email RavenStarr         Edit/Delete Post 
It could if Lord sold MS the program... although they'd probably just screw him and find some way of making it seem like they invented it all along so they don't have to pay him... this is why I base a lot of my evil characters on Bill Gates...
Posts: 183 | Registered: Jan 2005  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
One day I might add a few more features to it. It was fairly usefull for the couple hours it took to create.

As for MS...they can add it to MSWord if they wish. I bet they could make it work fast and better than mine, wouldn't hurt my feelings.


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
srhowen
Member
Member # 462

 - posted      Profile for srhowen   Email srhowen         Edit/Delete Post 
Thank you. I use the thing a lot and am glad you still have it around.

Thanks again.

Shawn


Posts: 1019 | Registered: Apr 2000  | Report this post to a Moderator
keldon02
Member
Member # 2398

 - posted      Profile for keldon02   Email keldon02         Edit/Delete Post 
Thanks! I wonder how many 'that's I have in the chapter I'm working on?
Posts: 245 | Registered: Feb 2005  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
My problem word, or verb, is "was"...

Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
Jaina
Member
Member # 2387

 - posted      Profile for Jaina   Email Jaina         Edit/Delete Post 
Mine is "really." I use it way too often. I had no idea! But now that I think about it, I use it a lot when I talk, too. I need to get on that...

Well, thanks for writing something that can point it out to me! I'm impressed; you came up with that in a couple of hours? I couldn't write a program like that to save my life!


Posts: 437 | Registered: Feb 2005  | Report this post to a Moderator
Shendülféa
Member
Member # 2408

 - posted      Profile for Shendülféa   Email Shendülféa         Edit/Delete Post 
Grr...I can't use it because I don't have a Windows. I guess I'll just have to write my own for Mac, then--once I learn how (and that's not till next school year...)
Posts: 202 | Registered: Mar 2005  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
Since people like it, I might have to add a few more things to it. I wanted to have it go to the words so you can see where they are used, but I didn't get quite that far.

I'm open to suggestions that would make it more usefull.

As for the Mac...can't help with that one.


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
HSO
Member
Member # 2056

 - posted      Profile for HSO   Email HSO         Edit/Delete Post 
Useful stuff...

A way to highlight possible homonymic errors. Common words like "There, Their, They're" etc.

This may be difficult, though, as you'll need a source file to reference to.

Also, consider a README.txt file to accompany the program. I had no idea what I'd end up installing on my computer. I'm paranoid -- but after multiple virus scans, I finally ran the program.

A help function wouldn't hurt, too. And pop-up labels for the icons on the toolbars didn't show up for me.

I could go on with other things that I'd like to see, but the program is good as is. These would just be nice things to have. That's all.


Posts: 1520 | Registered: Jun 2004  | Report this post to a Moderator
cvgurau
Member
Member # 1345

 - posted      Profile for cvgurau   Email cvgurau         Edit/Delete Post 
What a great program.

I use "only" too much. Go figure.


Posts: 552 | Registered: Jan 2002  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
As far as an install program...does it need one? Virus scan is always a good idea, but the exe is it so creating a 15 item install program to install 1 program file...seemed kinda silly to me.

tooltips...easy enough. Help file, I could.

What I was thinking of trying to add was first word in a sentance counts, and paragraph as well. For my own purposes, I want to make it jump to the different words in the list when selected/specified.


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
Shendülféa
Member
Member # 2408

 - posted      Profile for Shendülféa   Email Shendülféa         Edit/Delete Post 
quote:
As for the Mac...can't help with that one.

It's alright. Once I learn how to do some more programming, I'll write one for Macs.


Posts: 202 | Registered: Mar 2005  | Report this post to a Moderator
autumnmuse
Member
Member # 2136

 - posted      Profile for autumnmuse   Email autumnmuse         Edit/Delete Post 
This is probably a really dumb question, but how does it work with .doc files? Do I have to open the file as a .txt to get the program to work? When I choose to open as 'other' I just get gobbledygook, but .doc isn't an option.
Posts: 818 | Registered: Aug 2004  | Report this post to a Moderator
srhowen
Member
Member # 462

 - posted      Profile for srhowen   Email srhowen         Edit/Delete Post 
quote:
I wanted to have it go to the words so you can see where they are used, but I didn't get quite that far.

That would be great!

Shawn


Posts: 1019 | Registered: Apr 2000  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
It will support text, or rtf (Rich Text Format). Word documents are a proprietary extended rich text. You can either select all in word then copy and paste it, or save it as text or rtf.

I've been concidering turning it into a revision tool of sorts, but I have no desire to make it a word (or wordperfect) replacement.

I originally wrote it for myself, but figured someone else might find it usefull. I didn't realize many people used it. Now that I know I'll see if it can't be made a little nicer.


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
mikemunsil
Member
Member # 2109

 - posted      Profile for mikemunsil   Email mikemunsil         Edit/Delete Post 
LDS

May I list the program as a software resource over on Liberty Hall? Would you rather wait until you enhance it?

What is it written in? Can it be easily ported to Java and thus be made available to other platforms?

Thanks for the software. I used it recently in revision stage on Stone Musings #3. IT pointed out repeat word issues I hadn't seen.


Posts: 2710 | Registered: Jul 2004  | Report this post to a Moderator
rickfisher
Member
Member # 1214

 - posted      Profile for rickfisher   Email rickfisher         Edit/Delete Post 
The program is great. I agree about being able to click on a word in the list and have it find the entries; that was the thing I had thought of that would be really nice. Another possibility would be to find doubled words: pairs of the same word with nothing but (at most) punctuation between. It would flag things like: "The man who isn't tall doesn't have to worry, but the man who is, is dead." As well as "had had".
Posts: 932 | Registered: Jul 2001  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
Sure Mike, I'm not sure when I will get a chance to change it. I'm hoping in the next week or two. It can be usefull as it is.

I didn't think of double words...I know I've done that a few times.


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
Jules
Member
Member # 1658

 - posted      Profile for Jules   Email Jules         Edit/Delete Post 
For people with MacOS X, you could try the following:

Save as a text file
Open a console window
run the following command:

tr ' ' '\n' < filename | sort | uniq -c | sort > newfilename

Open 'newfilename' with a text editor. You should find the most common words at the bottom of the file.

It won't be perfect, but it's a reasonable first approximation. People with Linux, Windows+Cygwin or other Unix-like systems should also be able to do the same.


Posts: 626 | Registered: Jun 2003  | Report this post to a Moderator
Ergoface
Member
Member # 1429

 - posted      Profile for Ergoface   Email Ergoface         Edit/Delete Post 
LDS,

I know this is your baby, but I'd love to see the source (or even your flow design). Here's my deal, I'm a VBA junkie. The first thing I thought when I looked at this is it would make an awesome Word add-in. I know all you non-Word users would not be interested, but there are lots of us Word users who could use it.

I'm sure I could probably build the thing from scratch, but the first thing I learned when I started programming for money is that there is no joy in reinventing the wheel.

Let me know.
Dave


Posts: 77 | Registered: Jun 2002  | Report this post to a Moderator
HSO
Member
Member # 2056

 - posted      Profile for HSO   Email HSO         Edit/Delete Post 
That's the thing... I can think of a few simple ways to do some of it in Word using only basic commands and toolbar buttons (recorded in a macro), but why bother? LDS has already done it in a nice self-contained package, thus saving me from actually having to do it.

I can, however, write a quick macro to launch the word count program while in Word. That would be sort of plug-in like... sort of.


Posts: 1520 | Registered: Jun 2004  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
Ok, I finally opened it up last night, and started looking at it. Amazing how many little problems I found just looking it over.

I'm going to try and add a few more usefull functions to it. Might even throw together a help file...


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
Elan
Member
Member # 2442

 - posted      Profile for Elan           Edit/Delete Post 
When you get done revising your program, will you post how we can get it? Some of us have never used your handy-dandy word-gizmo before and are looking forward to taking it out for a spin!
Posts: 2026 | Registered: Mar 2005  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
I'm probably going to use one of my web sites to put up info and a download link for it. I'll drop a message when it's ready.
Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
KatFeete
Member
Member # 2161

 - posted      Profile for KatFeete   Email KatFeete         Edit/Delete Post 
Conveniently enough, Holly Lisle recently mentioned Concorder in her blog. It does the same thing the Windows program described in this thread does, and it's for Mac.

Yay for dedicated freeware programmers.

[This message has been edited by KatFeete (edited April 22, 2005).]


Posts: 92 | Registered: Aug 2004  | Report this post to a Moderator
TNWriter
New Member
Member # 2522

 - posted      Profile for TNWriter           Edit/Delete Post 
Lord Darkstorm,

Thank you so much for creating such a program. The only way to make it better would be to link it to MS Word to omit the copy/paste process. Please let me know if you do the adjustments for this.

Again thank you,
TNWriter


Posts: 1 | Registered: Apr 2005  | Report this post to a Moderator
Lord Darkstorm
Member
Member # 1610

 - posted      Profile for Lord Darkstorm   Email Lord Darkstorm         Edit/Delete Post 
I have done some work with hacking into Word. Unfortunately, Microsoft doesn't seem to like people using thier software in any way. From one version of Word to the next, it breaks all kinds of things.

I am working on improving some of the functions and a few of the internal structures to allow it to do more. The current functions don't compensate for things like "...". It doesn't show in the count, but it shows up in the background. To work with sentance and paragraph counts, this needed to be changed.

I'm glad it is usefull. I'll let everyone know once I've finished improving it.


Posts: 807 | Registered: Mar 2003  | Report this post to a Moderator
   

   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Hatrack River Home Page

Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2