Sentence detect implemented.