
An obvious but NOT necessarily good solution
Consider the sentence, This sentence, right here, doesn't work well with Todd's algorithm.
With Todd's algorithm we get the following, .algorithm s'Todd with well work t'doesn ,here right ,sentence This
The output that I would expect (Arkadiy's algorithm would give it to you) is something more like, algorithm s, Todd with, well'work t doesn here right'sentence This.
The best possible output would be, algorithm Todd's, with well, work doesn't here right sentence This.
I hope that questioning the spec would give brownie points.
Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)