Talk:Separate the house number from the street name

Revision as of 23:36, 10 June 2014 by rosettacode>TimToady (→‎The Rules?: why are certain dates excluded?!?)

Localization

These addresses look...Dutch? It looks like the house numbers comes after the street name there. Other countries might do it differently--in the US we put the house number first. I'm not sure how to account for this. --Mwn3d (talk) 17:39, 9 June 2014 (UTC)

The Rules?

Hi, you need a link to the rules for extracting the numbers (in English); or add the rules to the task (preferred). --Paddy3118 (talk) 19:42, 9 June 2014 (UTC)

Unfortunately a statement of the type "the right answers are here.." just means that someone could print the given text. You describe no algorithm to follow so any algorithm can be used to generate the output. You really need a description of how to do the separation. --Paddy3118 (talk) 20:03, 10 June 2014 (UTC)

In addition, there seems to be no justification in the referenced article for hardwiring 1940 and 1945. It's certainly possible to blindly translate Scala's regex to other languages, but it would be nice if it also made some sense to people who are from other parts of the world. --TimToady (talk) 23:36, 10 June 2014 (UTC)
Return to "Separate the house number from the street name" page.