return startsSentence;
if (startsSentence || currentWordPos < 2) return(true);  String textBefore = null; try { textBefore = document.getText(currentWordPos-2, 2); } catch (BadLocationException ex) { return(false); } return(textBefore != null && ".".equals(textBefore.trim()));
  public boolean isNewSentence() {    return startsSentence;  }