MatchRecord Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. textanalytics. models. MatchRecord
- com.
public class MatchRecord
The MatchRecord model.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
length()
Get the length value. |
Integer |
offset()
Get the offset value. |
String |
text()
Get the text value. |
Match |
withLength(Integer length)
Set the length value. |
Match |
withOffset(Integer offset)
Set the offset value. |
Match |
withText(String text)
Set the text value. |
Method Details
length
public Integer length()
Get the length value.
Returns:
offset
public Integer offset()
Get the offset value.
Returns:
text
public String text()
Get the text value.
Returns:
withLength
public MatchRecord withLength(Integer length)
Set the length value.
Parameters:
Returns:
withOffset
public MatchRecord withOffset(Integer offset)
Set the offset value.
Parameters:
Returns:
withText
public MatchRecord withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for