Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

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

User: editor -- 2008-12-28          << 309  311 >>
Hits: 637
Type: Count and statistics   
Search all Count and statistics 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" on windows platform 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

Screenshot 1:  Pattern_Counter_Window


Similar Examples:
Can I count the frequency of each word in a text file? (65%)
How to count and sort the occurrence of different numbers in a text file? (63%)
How to count the frequency of numbers base on the value range? (63%)
How to count the occurrence of a list of words in a text file? (60%)
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 words that started with "en"? (54%)

Check Demo of Count and statistics
Keywords:
frequency  occurance  different words  website  site  times  counter  pattern counter  led  refer  count different words website  count different words in website  frequency words  word frequency statistics  word frequency  count frequency  statistics of number of words  count the number of words in