Attempts at fixes to the sentence detector.
It's better but not perfect.
Renamed basic to general.