Anonymous user
Talk:Letter frequency: Difference between revisions
m
→Task description: removed an observation. -- ~~~~
m (→Task description: added comments on ''letter'' vs ''character'', reading a program's own source as input. -- ~~~~) |
m (→Task description: removed an observation. -- ~~~~) |
||
Line 25:
It seems that many program examples interpreted a ''letter'' as a ''character''. A (Latin) letter has two forms: its uppercase and lowercase version. So if two '''H''' characters and three '''h''' characters were in a file, then there would be five occurrences of the letter aitch. [''Aitch'' is the English name for the letter '''H''' or '''h'''.] The task description could've been more clear on that point, so for the REXX version 1, a count was done for each (Latin) letter, AND also for each character, and the counts are provided in seperate lists. Since it wasn't stated what a letter ''is'' (I used the primary definition that it's any of the symbols of an alphabet), it seemed appropriate to provide a both lists: a list of letters, and a list of all characters (for any lanuage's alphabet). -- [[User:Gerard Schildberger|Gerard Schildberger]] 21:19, 25 July 2012 (UTC)
In hindsight, it would've been nice to make a requirement to use the program example as the primary input (but not necessarily the only input), that way, everyone could see what the input is. At lease one example used UNIXDICT.TXT, which has no capital letters
== a few remarks for Rexx ==
|