Talk:Commatizing numbers: Difference between revisions

m
Line 30:
 
: Well it's a wiki. How about we give the original author some time to respond as well as thinking of what a re-write could look like ? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 18:00, 19 April 2014 (UTC)
 
:: The task isn't to determine ''if'' a number (within a string) is to be commatized (or not) whether or not the number ''in context'' is to be commatized, but find a number (as series of digits or some characters that can be seen as a number) in a string and add commas (or some other characters based on various supplied options or paramaters).   Adding examples of numbers that aren't commatizable based on knowledge that telephone numbers, years (as in dates), addresses, or numbers that may or may not be in base ten aren't part of the task, and other such inappropriate numbers, shouldn't be commatized.   The scope in those cases would be daunting if not next to impossible and would be almost impossible, even if "only" some of the common rules for English would be used --- and I wouldn't want anybody to even try to list the rules for such an endeavor.   There are just too many exceptions where a set of digits wouldn't be considered a number that should be commatized.   So, the examples used in the task could've been:   blah blah blah blah blah blab5679979yadda yadda yadda.   but that would've been ··· well, boring beyond belief.   The task's numeric strings supplied had extra context added ''only'' to illustrate some examples in which they could be used (for commatizing), and that extra context wasn't inferred to be determining ''if'' they (the numbers) should be used in making a determination if the numbers should be commatized or not.   This task isn't about examining the words (in whatever human language shown) and interpret them and make a determination what the number means and if it is appropriate to commatize the number or not.   This isn't an AI problem, but simply a mechanism to add commas (what whatever) to a series of (numberic) digits, irrespective of their context. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:25, 21 April 2014 (UTC)