Better sentence detection