Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

310.Character count -- How to count the frequency of different words in website like cnn.com?

User: editor -- 2008-12-28
Hits: 215
Type: Character count   
Search all Character count examples
Description:
How to count the frequency of different words in website like cnn.com?
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. Open Replace Pioneer(2.3 and above) menu "Tools->Pattern Counter"
2. Select the source to file/http and enter web address: http://www.cnn.com
3. Select the "Counter Template" to: "Characters, Words, Lines"
4. Click "Count" button, the detailed number will be shown like:

Chars(word) 5668
Chars(non-word) 2630
Words 1196
Lines 188

5. There are 1196 different words, select the Words row and click Detail, the occurance of the different words will be shown like:

Number Words(\w+)
======= ====================================================
24 to
24 CNN
22 the
15 of
14 in
14 for
13 Gaza
12 a
12 Video
...

You will know that word "to" or "CNN" is the most frequent used words in cnn.com, which was shown 24 times.

Please refer to following address for further instruction:
http://www.mind-pioneer.com/replace/help/Pattern_Counter.html

Similar Examples:
Can I count the frequency of each word in a text file? (65%)
How to count the frequency of numbers base on the value range? (63%)
How to count how many IP addresses with different classes from web logs? (60%)
How to count and sort the frequency of all words appeared in many text files? (57%)
How to count and sort the frequency of each line? (55%)
How to count the number of Unique IP address from a web log file? (54%)
How to batch rename files in different folders and move them to a common folder? (51%)
How to parse all the fields in different segment from a text file? (50%)

Check Demo of Character count