Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Automatic word count across site
Name: RTAdams89 Date: September 4, 2006 at 21:42:22 Pacific OS: xp home CPU/Ram: na Product: na
Comment:
I have a directory of HTML files saved on my computer. I am looking for a way to scan all of them at once, and report statistics on how often words are used. For example: a program that would scan all the files and tell me that the wor d"like" is used 100 times, "a" 200 times, and "he" 12 times. Any ideas how to do this?
Name: Michael J (by mjdamato) Date: September 5, 2006 at 06:39:44 Pacific
Reply:
I think this is outside the scope of "web development". The fact that you are scanning html files is really of no consequence.
My suggestion would be to try a desktop search engine such as the free one Google has (I think MS has one too). These tools can search for content within files. I don't know if they report on the number of hits on a particular word though.
One problem you may have, however, is if your search contains anything within the "code" itself. For instance if you search for the word "dog" do you only wnat to see instances of that word int he displayed text? because there is also text in the meta information (i.e. ALT tags) that could contain that word.
Summary: Dear all How to clear the Internet explorer Favorite page. I got few "porn sites".When i delete it wil automatic add to favorite site again. how to clear it ?? Thanks. Stanley ...
Summary: Need a little info - is there a way using the "embed tags" to insert more than one url/song to pay on a web page. I normally use the imbed tags but have only one link to the media, not several, want...
Summary: Both procedure A and procedure B access the same variable, but variables don't automatically maintain state across page calls in ASP.NET (lamentably, but for good reasons.) You can remedy this a varie...