sentencedetectorTrial.java