Class OrdinalResolution

java.lang.Object
com.azure.ai.textanalytics.models.BaseResolution
com.azure.ai.textanalytics.models.OrdinalResolution

public final class OrdinalResolution extends BaseResolution
A resolution for ordinal numbers entity instances.
  • Constructor Details

    • OrdinalResolution

      public OrdinalResolution()
  • Method Details

    • getOffset

      public String 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

      public RelativeTo getRelativeTo()
      Get the relativeTo property: The reference point that the ordinal number denotes.
      Returns:
      the relativeTo value.
    • getValue

      public String getValue()
      Get the value property: A simple arithmetic expression that the ordinal denotes.
      Returns:
      the value value.