Class ConlluSentence

java.lang.Object
opennlp.tools.formats.conllu.ConlluSentence

public class ConlluSentence extends Object
  • Field Details

    • wordLines

      private final List<ConlluWordLine> wordLines
    • sentenceIdComment

      private final String sentenceIdComment
    • textComment

      private final String textComment
    • newDocument

      private boolean newDocument
    • documentId

      private String documentId
    • newParagraph

      private boolean newParagraph
    • paragraphId

      private String paragraphId
    • textLang

      private Map<Locale,String> textLang
    • translit

      private String translit
  • Constructor Details

  • Method Details

    • getWordLines

      public List<ConlluWordLine> getWordLines()
    • getSentenceIdComment

      public String getSentenceIdComment()
    • getTextComment

      public String getTextComment()
    • isNewDocument

      public boolean isNewDocument()
    • getDocumentId

      public Optional<String> getDocumentId()
    • isNewParagraph

      public boolean isNewParagraph()
    • getParagraphId

      public Optional<String> getParagraphId()
    • getTextLang

      public Optional<Map<Locale,String>> getTextLang()
    • getTranslit

      public Optional<String> getTranslit()