github Azure/azure-sdk-for-java azure-ai-textanalytics_5.1.0-beta.5

latest releases: azure-resourcemanager-containerservicefleet_1.1.0, azure-compute-batch_1.0.0-beta.1, azure-sdk-template-three_1.0.0-beta.3796273...
pre-release3 years ago

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 to RecognizePiiEntitiesOptions. The PII entity recognition endpoint will return
    the result with categories only match the given categoriesFilter list.
  • Added normalizedText property to HealthcareEntity.
  • AnalyzeHealthcareEntitiesResult now exposes the property entityRelations, which is a list of HealthcareEntityRelation.
  • Added HealthcareEntityRelation class which will determine all the different relations between the entities as Roles.
  • Added HealthcareEntityRelationRole, which exposes name and entity of type String and HealthcareEntity 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 and PiiEntity's category property is no longer a type of EntityCategory but use a new introduced type PiiEntityCategory.
  • Replace isNegated by HealthcareEntityAssertion to HealthcareEntity which further exposes EntityAssociation, EntityCertainity and EntityConditionality.
  • Renamed classes,
    AspectSentiment to TargetSentiment, OpinionSentiment to AssesssmentSentiment, MinedOpinion to SentenceOpinion.
  • Renamed
    SentenceSentiment's method, getMinedOpinions() to getOpinions().
    MinedOpinion's methods, getAspect() to getTarget(), getOpinions() to getAssessments().
  • Removed property, relatedEntities from HealthcareEntity.
  • 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

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.