2.5.5
Overview
We are very happy to release Spark NLP for Healthcare 2.5.5 with a new state-of-the-art RelationExtraction annotator to identify relationships between entities coming from our pretrained NER models.
This is also the first release to support Relation Extraction with the following two (2) models: re_clinical
and re_posology
in the clinical/models
repository.
We also include multiple bug fixes as usual.
New Features
- RelationExtraction annotator that receives
WORD_EMBEDDINGS
,POS
,CHUNK
,DEPENDENCY
and returns the CATEGORY of the relationship and a confidence score.
Enhancements
- AssertionDL Annotator now keeps logs of the metrics while training
- DeIdentification now has a default behavior of merging entities close in Levenshtein distance with
setConsistentObfuscation
andsetSameEntityThreshold
params. - DeIdentification now has a specific parameter
setObfuscateDate
to obfuscate dates (which will be otherwise just masked). The only formats obfuscated when the param is true will be the ones present indateFormats
param. - NerConverterInternal now has a
greedyMode
param that will merge all contiguous tags of the same type regardless of boundary tags like “B”,”E”,”S”. - AnnotationToolJsonReader includes
mergeOverlapping
parameter to merge (or not) overlapping entities from the Annotator jsons i.e. not included in the assertion list.
Bugfixes
- DeIdentification documentation bug fix (typo)
- DeIdentification training bug fix in obfuscation dictionary
- IOBTagger now has the correct output type
NAMED_ENTITY
Deprecations
- EnsembleEntityResolver has been deprecated
Models
- We have 2 new
english
Relationship Extraction model for Clinical and Posology NERs:re_clinical
: withner_clinical
andembeddings_clinical
re_posology
: withner_posology
andembeddings_clinical
Versions
- 5.5.1
- 5.5.0
- 5.4.1
- 5.4.0
- 5.3.3
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.1
- 5.2.0
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.2
- 5.0.1
- 5.0.0
- 4.4.4
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.8
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.2
- 4.0.0
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.4
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.7.6
- 2.7.5
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.2
- 2.6.0
- 2.5.5
- 2.5.3
- 2.5.2
- 2.5.0
- 2.4.6
- 2.4.5
- 2.4.2
- 2.4.1
- 2.4.0
PREVIOUSVersion Compatibility