Class WordSearchMatch
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.WordSearchMatch
-
public final class WordSearchMatch extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWordSearchMatch._FinalStagestatic classWordSearchMatch.Builderstatic interfaceWordSearchMatch.CountStagestatic interfaceWordSearchMatch.TextStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WordSearchMatch.TextStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()intgetCount()java.util.List<java.lang.Integer>getIndexes()java.lang.StringgetText()java.util.List<java.util.List<java.lang.Integer>>getTimestamps()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getText
public java.lang.String getText()
- Returns:
- The matched word
-
getCount
public int getCount()
- Returns:
- The total amount of times the word is in the transcript
-
getTimestamps
public java.util.List<java.util.List<java.lang.Integer>> getTimestamps()
- Returns:
- An array of timestamps
-
getIndexes
public java.util.List<java.lang.Integer> getIndexes()
- Returns:
- An array of all index locations for that word within the
wordsarray of the completed transcript
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static WordSearchMatch.TextStage builder()
-
-