DocumentFormula Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. DocumentFormula
- com.
Implements
public final class DocumentFormula
implements JsonSerializable<DocumentFormula>
Mathematical formula in a document.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
| Double |
getConfidence()
Get the confidence property: Confidence of predicting the formula. |
|
Document |
getKind()
Get the kind property: Formula kind. |
| String |
getSource()
Get the source property: Encoded source that identifies the position of the formula in the content. |
|
Content |
getSpan()
Get the span property: Span of the formula in the markdown content. |
| String |
getValue()
Get the value property: La |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentFormula fromJson(JsonReader jsonReader)
Reads an instance of DocumentFormula from the JsonReader.
Parameters:
Returns:
Throws:
getConfidence
public Double getConfidence()
Get the confidence property: Confidence of predicting the formula.
Returns:
getKind
public DocumentFormulaKind getKind()
Get the kind property: Formula kind.
Returns:
getSource
public String getSource()
Get the source property: Encoded source that identifies the position of the formula in the content.
Returns:
getSpan
public ContentSpan getSpan()
Get the span property: Span of the formula in the markdown content.
Returns:
getValue
public String getValue()
Get the value property: LaTex expression describing the formula.
Returns: