Add javadoc to sentenceinfo