AnalyzeHealthcareEntitiesResult Class

public final class AnalyzeHealthcareEntitiesResult
extends TextAnalyticsResult

The AnalyzeHealthcareEntitiesResult model.

Constructor Summary

Constructor Description
AnalyzeHealthcareEntitiesResult(String id, TextDocumentStatistics textDocumentStatistics, TextAnalyticsError error)

Creates a AnalyzeHealthcareEntitiesResult model that describes recognized healthcare entities result.

Method Summary

Modifier and Type Method and Description
IterableStream<HealthcareEntity> getEntities()

Gets an IterableStream<T> of HealthcareEntity.

IterableStream<HealthcareEntityRelation> getEntityRelations()

Gets the IterableStream<T> of HealthcareEntityRelation.

IterableStream<TextAnalyticsWarning> getWarnings()

Gets the IterableStream<T> of TextAnalyticsWarning.

Methods inherited from TextAnalyticsResult

Methods inherited from java.lang.Object

Constructor Details

AnalyzeHealthcareEntitiesResult

public AnalyzeHealthcareEntitiesResult(String id, TextDocumentStatistics textDocumentStatistics, TextAnalyticsError error)

Creates a AnalyzeHealthcareEntitiesResult model that describes recognized healthcare entities result.

Parameters:

id - Unique, non-empty document identifier.
textDocumentStatistics - The text document statistics.
error - The document error.

Method Details

getEntities

public IterableStream<HealthcareEntity> getEntities()

Gets an IterableStream<T> of HealthcareEntity.

Returns:

getEntityRelations

public IterableStream<HealthcareEntityRelation> getEntityRelations()

Gets the IterableStream<T> of HealthcareEntityRelation.

Returns:

getWarnings

public IterableStream<TextAnalyticsWarning> getWarnings()

Gets the IterableStream<T> of TextAnalyticsWarning.

Returns:

Applies to