Class OrdinalResolution
java.lang.Object
com.azure.ai.textanalytics.models.BaseResolution
com.azure.ai.textanalytics.models.OrdinalResolution
A resolution for ordinal numbers entity instances.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the offset property: The offset With respect to the reference (e.g., offset = -1 in "show me the second to last".Get the relativeTo property: The reference point that the ordinal number denotes.getValue()
Get the value property: A simple arithmetic expression that the ordinal denotes.
-
Constructor Details
-
OrdinalResolution
public OrdinalResolution()
-
-
Method Details
-
getOffset
Get the offset property: The offset With respect to the reference (e.g., offset = -1 in "show me the second to last".- Returns:
- the offset value.
-
getRelativeTo
Get the relativeTo property: The reference point that the ordinal number denotes.- Returns:
- the relativeTo value.
-
getValue
Get the value property: A simple arithmetic expression that the ordinal denotes.- Returns:
- the value value.
-