Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

795.Count and statistics -- How to count how many english words has less than 5 letters in a text file?

User: editor -- 2011-06-08          << 794  796 >>
Hits: 3300
Type: Count and statistics   
Search all Count and statistics examples
Description:
How to count how many english words has less than 5 letters in a text file?
Input Sample:
This is a sample text to count how many words are less than or greater than 5 letters
Output Sample:
less than 5 letters: 13 
no less then 5 letters: 5
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 select corresponding text file 
3. click "Clear" button to clear default pattern 
4. click "Add" button add following 2 patterns: 
Name1:  
Pattern1: 
Name2:  
Pattern2: 
5. make sure Regular Exp option is selected. 
6. click "Count", done. 
7. click "Copy" to copy the data to clipboard.

Screenshot 1:  Pattern_Counter_Window


Similar Examples:
How to count how many word(non-symbol) characters in a text file? (68%)
How to extract all words that has any letter doubled in a text file? (65%)
How to count the number of words that start with "ea" in a text file? (64%)
How to count the number of words that ended with "ing" in a text file? (63%)
Is there any way to count how many pure English word in a text file? (63%)
How to count number of words appeared in a text file? (62%)
How to count how many IP addresses are appearing in  a text file? (61%)
How to count the occurrence of a list of words in a text file? (60%)

Check Demo of Count and statistics
Keywords:
clipboard  english word  english  less  pattern counter  counter  count how many  letters  statistics  statist  copy file how to count  add letters  statistics words in a text  words statistics in text file  words statistics in text  how to count words  count words  copy text