Talk:NYSIIS: Difference between revisions

Task requirements are too vague and/or incomplete.
(What must one do to accomplish the task? It doesn't say.)
 
(Task requirements are too vague and/or incomplete.)
Line 1:
What must one do to accomplish the task? It doesn't say. --[[User:Paddy3118|Paddy3118]] 13:06, 23 March 2013 (UTC)
 
:It is still ambiguous. Really the task was promoted out of draft too soon. Typical nysiis usage assumes removal of common suffixes before encoding, and the reference implementation ( Caché ObjectScript ) did that, so I did as well in Perl 6. It probably should be put into the task description though (and soon, before too many implementations are added). Also, typically, the algorithm is used to encode both first and last names in one go. None of the implementations as of now will handle that. IE "John Smith" -> nysiis -> "JAN SNAT".
 
:There are a few ambiguities in the algorithm description too IMO. Should you consider the first letter when encoding H? Should Wheeler encode as WALAR or WHALAR? ''I'' believe that it '''should''' consider the first character (WALAR - W is a non-vowel so remove the H) but it is open to interpretation.
:Also, When removing terminal S or A. If the last characters are AS and you remove the S, do you then need to remove the newly terminal A or should you only remove the last character once? Should Louis encode as L or LA? Again, it is open to interpretation. --[[User:Thundergnat|Thundergnat]] 21:03, 23 March 2013 (UTC)
10,327

edits