TranscriptWord Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. TranscriptWord
- com.
Implements
public final class TranscriptWord
implements JsonSerializable<TranscriptWord>
Transcript word.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Transcript |
fromJson(JsonReader jsonReader)
Reads an instance of Transcript |
| Duration |
getEndTime()
Gets the end |
|
Content |
getSpan()
Get the span property: Span of the word in the markdown content. |
| Duration |
getStartTime()
Gets the start |
| String |
getText()
Get the text property: Transcript text. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static TranscriptWord fromJson(JsonReader jsonReader)
Reads an instance of TranscriptWord from the JsonReader.
Parameters:
Returns:
Throws:
getEndTime
public Duration getEndTime()
Gets the endTime as a Duration.
Returns:
getSpan
public ContentSpan getSpan()
Get the span property: Span of the word in the markdown content.
Returns:
getStartTime
public Duration getStartTime()
Gets the startTime as a Duration.
Returns:
getText
public String getText()
Get the text property: Transcript text.
Returns: