Talk:Last letter-first letter: Difference between revisions

→‎Concatenated names:: What went wrong.
No edit summary
(→‎Concatenated names:: What went wrong.)
Line 48:
::::: That was probably not a bad thing -- embedded spaces in name does not change the results which would be found, it only changes how they would be displayed. (And, it can make representing and parsing a list of names easier since without embedded spaces you only need spaces for name delimiters.) --[[User:Rdm|Rdm]] 10:58, 8 June 2011 (UTC)
:::::: They were two separate names. Check it against Wikipedia, but trapinch and treecko are two different pokemon, but were written as trapinchtreecko in the list above. (As far as I know, no pokemon has a two-part name.) [[User:MagiMaster|MagiMaster]] 11:10, 8 June 2011 (UTC)
 
;Concatenated names
To get the list of names I cut-n-pasted the wp table into openofice calc; selected the column and pasted it into an editor then turned it into a multi-line string that I could then names.strip().split() in Python to get each name. When told about the male and female characters still left in the names I thought I took the un-split names and removed any character that was not an ASCII alphanumeric or a space ... Oh-oh I know where I went wrong. The names were arranged as several lines of around 8 words each and I did not preserve newlines so the last word of a line and the first word of the next line would become concatenated. Sorry for that. And thanks for the hand edits - I'll update the Python in the next ~24 hours. --[[User:Paddy3118|Paddy3118]] 14:16, 8 June 2011 (UTC)
Anonymous user