public class DocStructure
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
DocStructure() |
Modifier and Type | Method and Description |
---|---|
List<LeadingSentence> |
getLeadingSentences()
Gets the leadingSentences.
|
List<Paragraphs> |
getParagraphs()
Gets the paragraphs.
|
List<SectionTitles> |
getSectionTitles()
Gets the sectionTitles.
|
public List<SectionTitles> getSectionTitles()
An array containing one object per section or subsection identified in the input document.
public List<LeadingSentence> getLeadingSentences()
An array containing one object per section or subsection, in parallel with the `section_titles` array, that details the leading sentences in the corresponding section or subsection.
public List<Paragraphs> getParagraphs()
An array containing one object per paragraph, in parallel with the `section_titles` and `leading_sentences` arrays.
Copyright © 2021 IBM Cloud. All rights reserved.