good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I don't know of any such resource, but perhaps writing a perl script to do figure that out would be the way to go? Have it read plenty of text in your target language and calculate the frequency of each symbol.
You'd have to ensure that you're reading plaintext, though, and not markup or something like that. The following would populate %symbol with a frequency count. You'd just pass it a list of files on the command line. What you'd do with the data from there would be up to you.
Cheers, Update: mdillon had a good point. Here's a rewrite: Or, the fun method: use my first code and add the following after the loop:
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats. In reply to (Ovid) Re: Letter frequencies
by Ovid
|
|