View Single Post
Old 06-08-2009, 02:07 AM   #4
ahi
Wizard
ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.
 
Posts: 1,790
Karma: 507333
Join Date: May 2009
Device: none
Quote:
Originally Posted by Gideon View Post
I gave it a quick go with a file I had that was like my notorious file from the other day was supposed to be (really did have no spaces after each line, just a paragraph). Most paragraphs did begin with a tab, however. But the script just said nothing could be identified and so nothing could be done.
Any chance you could put back up online for me at least 15-20 paragraphs of it, Gideon? The script is probably tripping up on something trivial I am yet to think about. (I've only tested in on about half a dozen or so files thus far... but the logic should work on a fairly broad range of reasonably consistent text files.)

- Ahi

Ps.: Or, post the output (assuming you are using the zip file from the second post. That one gives some numbers as to what it identifies as word space, line-break, et al.

Last edited by ahi; 06-08-2009 at 02:11 AM.
ahi is offline   Reply With Quote