public class LeadingSentence
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
LeadingSentence() |
Modifier and Type | Method and Description |
---|---|
List<ElementLocations> |
getElementLocations()
Gets the elementLocations.
|
Location |
getLocation()
Gets the location.
|
String |
getText()
Gets the text.
|
public String getText()
The text of the leading sentence.
public Location getLocation()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
public List<ElementLocations> getElementLocations()
An array of `location` objects that lists the locations of detected leading sentences.
Copyright © 2021 IBM Cloud. All rights reserved.