Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

162.Count and statistics -- Can I count the appearance frequency of each character in a text file?

User: editor -- 2008-05-28          << 161  163 >>
Hits: 2986
Type: Count and statistics   
Search all Count and statistics examples
Description:
Can I count the appearance frequency of each character in a text file?
Input Sample:
abc 
aaaaaaaaa 
ddef
Output Sample:
a 10 
d 2 
b 1 
c 1 
e 1 
f 1
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open your source file 
2. Open 'Replace->Replace by Template->Word Frequency Statistics->count and sort frequency of Chars' menu 
3. Click 'OK' 
4. Click 'Replace', done!

Similar Examples:
Can I count the frequency of each word in a text file? (80%)
How to add a single space after each character in a text file? (66%)
How to add 3 spaces after every 9 characters in a text file? (65%)
How to count and sort the frequency of all words appeared in many text files? (63%)
How to count the occurrance of specific pattern in each line of text file? (62%)
How to count how many characters, punctuations in a text file? (62%)
How to count how many word(non-symbol) characters in a text file? (62%)
How to count and sort the frequency of each line? (61%)

Check Demo of Count and statistics
Keywords:
sort frequency  count and sort frequency  frequency  word frequency statistics  word frequency  statistics  statist  count and statistics  ics  template  count character appearance  count character appearance text file  count appearance frequency  frequency of each character count  count the appearance in text file  character count in sort  character frequency sort  file character statistics count sort