Talk:Letter frequency: Difference between revisions

m
→‎Task description: changed the wording a bit. -- ~~~~
m (→‎Task description: excluded lists comment. -- ~~~~)
m (→‎Task description: changed the wording a bit. -- ~~~~)
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 thewas inputused isfor its input. At lease one example used UNIXDICT.TXT, which has no capital letters. Still others showed a list, but excluded most of the counts, so it can't be verified if the uppercase letters were included (or not) with the lowercase letters, or kept as separate counts. -- [[User:Gerard Schildberger|Gerard Schildberger]] 21:19, 25 July 2012 (UTC)
 
== a few remarks for Rexx ==