Talk:Text processing/1

From Rosetta Code
Revision as of 12:13, 8 November 2008 by rosettacode>Dmitry-kazakov (Please clarify it)

Why?

I was reading through old blog entries and thought it would be appropriate (minus the focus on speed).

Please clarify the task

  1. Syntax errors in the file to be detected?
  2. The field separator is what? One space, any non-empty chain of spaces, any non-empty chain of spaces or tabs. Something else?
  3. Average to evaluate over all fields or else over each field separately?
  4. When at the same line some fields are flagged invalid but others are not, is it a gap? Or is it only when all fields are invalid?
  5. Further, do valid fields participate in averaging when some other fields at the same line are invalid?
  6. When a field is not present is it a syntax error or a gap?
  7. What to do when syntactically wrong fields appear (not a number, too large number etc)?

--Dmitry-kazakov 12:13, 8 November 2008 (UTC)