Releases: vmenger/docdeid
Releases · vmenger/docdeid
Release list
v1.0.1
v1.0.0
1.0.0 (2023-12-20)
Added
- some internal speedups for
SingleTokenLooupAnnotator,MultiTokenLookupAnnotatorandLookupTrie - caching for sorting annotations, which helps with speed
- the
pre_match_wordsattribute forRegexpAnnotator - the option to provide a
LookupTrieto aMultiTokenAnnotatordirectly - a method for getting all words or, for looking up tokens with specific text values in a
TokenList, with options formatching_pipeline - automated build/publish on merge to main
Changed
- sorting
AnnotationandAnnotationSetnow requires sort key to be provided as atuple, and callbacks as afrozendict - renamed
docdeid.tokenizetodocdeid.tokenizer - renamed
docdeid.process.doctodocdeid.process.doc_processor - renamed
docdeid.process.annotation_settodocdeid.process.annotation_processor AnnotationandTokennow only includeint/strfields when serializing- formatting and linting settings
- moved the logic for linking tokens to
TokenListrather thanTokenizer - use
casefold()instead oflower()for lowercasing
Fixed
- a bug with overlapping annotations in
MultiTokenLookupAnnotator
Removed
- automated coverage reporting
v0.1.10
0.1.10 (2023-11-28)
Added
RegexpAannotatoraccepts regexp strings in addition to compiled regexp patterns
Changed
- consisent use of
argsandkwargsinAnnotatorclass tree RegexpAnnotatornow offers function to validate matches, implementable by subclassing