User: editor -- 2011-07-20 << 822 824 >> |
Hits: 3084 |
Type: Count and statistics |
Search all Count and statistics examples |
Description: |
How to count the number of words with different length in an English article? |
Input Sample: |
Article Examples: How to count the number of words with different length in an English artical? |
Output Sample: |
Length number_of_words ----------------------- len1 0 len2 4 len3 2 len4 1 len5 2 len6 2 len7 2 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open "Tools->Pattern Counter" menu 2. select "File/http" option, and input or select filename at the following entry 3. click "Clear" to clear default pattern 4. click "Add" to add some new patterns: (1)add name as "len1" and pattern as: (2)add name as "len2" and pattern as: (3)add name as "len3" and pattern as: (4)add name as "len4" and pattern as: (5)... ... 5. click "Count" button, you will get the statistics of all words number. |
Screenshot 1: Pattern_Counter_Window |