5.1.0-beta.5 (2021-03-10)
- We are now targeting the service's v3.1-preview.4 API as the default instead of v3.1-preview.3.
New features
- Added a new property
categoriesFilter
toRecognizePiiEntitiesOptions
. The PII entity recognition endpoint will return
the result with categories only match the givencategoriesFilter
list. - Added
normalizedText
property toHealthcareEntity
. AnalyzeHealthcareEntitiesResult
now exposes the propertyentityRelations
, which is a list ofHealthcareEntityRelation
.- Added
HealthcareEntityRelation
class which will determine all the different relations between the entities asRoles
. - Added
HealthcareEntityRelationRole
, which exposesname
andentity
of typeString
andHealthcareEntity
respectively. beginAnalyzeBatchActions
can now process recognize linked entities actions.recognizePiiEntities
takes a new option,categoriesFilter
, that specifies a list of PII categories to return.- Added new classes,
RecognizeLinkedEntitiesActionResult
,PiiEntityCategory
.
Breaking changes
- Removed
PiiEntity
constructor andPiiEntity
'scategory
property is no longer a type ofEntityCategory
but use a new introduced typePiiEntityCategory
. - Replace
isNegated
byHealthcareEntityAssertion
toHealthcareEntity
which further exposesEntityAssociation
,EntityCertainity
andEntityConditionality
. - Renamed classes,
AspectSentiment
toTargetSentiment
,OpinionSentiment
toAssesssmentSentiment
,MinedOpinion
toSentenceOpinion
. - Renamed
SentenceSentiment
's method,getMinedOpinions()
togetOpinions()
.
MinedOpinion
's methods,getAspect()
togetTarget()
,getOpinions()
togetAssessments()
. - Removed property,
relatedEntities
fromHealthcareEntity
. - Removed constructors,
SentenceSentiment(String text, TextSentiment sentiment, SentimentConfidenceScores confidenceScores, IterableStream<MinedOpinion> minedOpinions, int offset)
,
AspectSentiment(String text, TextSentiment sentiment, int offset, SentimentConfidenceScores confidenceScores)
,
OpinionSentiment(String text, TextSentiment sentiment, int offset, boolean isNegated, SentimentConfidenceScores confidenceScores)
Known Issues
beginAnalyzeHealthcareEntities
is currently in gated preview and can not be used with AAD credentials.
For more information, see the Text Analytics for Health documentation.