Talk:Semordnilap: Difference between revisions

add comment regarding dead link to input file
(→‎well formed dictionary: added a new section. -- ~~~~)
(add comment regarding dead link to input file)
Line 24:
 
Perhaps this may be too general a statement, but I wish the dictionary specified would have capitalized or uppercased words in it (along with some words that have a blank in it, hyphenated words, words that start with an apostrophy [''''til''']) to test the program's metal a wee bit. Having words that may be capitalized would make the dictionary more realistic, or more to the point, make the ''program'' more realistic. This would mean having words like '''god''' ''and'' '''God''' in the dictionary (not to mention '''I'''), and thereby causing programs to handle "duplicate" words, and be sensitive to word case. Also, a true dictionary would have multiple entries for nouns vs. verbs and also homonyms (which would look like two different words), but in a dictionary that only lists unique entries, that might be moot here. Having a list of words, with each section (A,B,C...Z) separated by one or more blank lines would also be common. Having a well formed dictionary just allows programmers to assume too much (such as the words being in some kind of alphabetic order). But assuming everything will be in lowercase just makes for lazy programming (and I'm not saying that in a perjorative way). I don't think programming examples should be written just for the dictionary supplied, and from those assumptions, start taking shortcuts. I wrote the 2nd version of the REXX example to handle all that, with just an extra line of code. I'd also like world peace, ... -- [[User:Gerard Schildberger|Gerard Schildberger]] 22:25, 17 September 2012 (UTC)
 
== Dead link ==
 
The file to be used for input appears to be missing or blank. I attempted to use a file of the same name I found in someone's github repository, but I am getting different output from the other examples and I suspect it may be a different file. Any advice on how to proceed? --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 13:37, 3 November 2018 (UTC)
1,808

edits