Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.1 (2025-05-06)#
Changed#
updated dependencies
1.0.0 (2023-12-20)#
Added#
some internal speedups for
SingleTokenLooupAnnotator,MultiTokenLookupAnnotatorandLookupTriecaching for sorting annotations, which helps with speed
the
pre_match_wordsattribute forRegexpAnnotatorthe option to provide a
LookupTrieto aMultiTokenAnnotatordirectlya method for getting all words or, for looking up tokens with specific text values in a
TokenList, with options formatching_pipelineautomated build/publish on merge to main
Changed#
sorting
AnnotationandAnnotationSetnow requires sort key to be provided as atuple, and callbacks as afrozendictrenamed
docdeid.tokenizetodocdeid.tokenizerrenamed
docdeid.process.doctodocdeid.process.doc_processorrenamed
docdeid.process.annotation_settodocdeid.process.annotation_processorAnnotationandTokennow only includeint/strfields when serializingformatting and linting settings
moved the logic for linking tokens to
TokenListrather thanTokenizeruse
casefold()instead oflower()for lowercasing
Fixed#
a bug with overlapping annotations in
MultiTokenLookupAnnotator
Removed#
automated coverage reporting
0.1.10 (2023-11-28)#
Added#
RegexpAannotatoraccepts regexp strings in addition to compiled regexp patterns
Changed#
consisent use of
argsandkwargsinAnnotatorclass treeRegexpAnnotatornow offers function to validate matches, implementable by subclassing
0.1.9 (2023-10-20)#
Changed#
made the
priorityattribute of anAnnotationnon-Optionalmulti token lookup now sets the
start_tokenandend_tokenfields of anAnnotation
Fixed#
a bug with determnistic sort, when
Optionalfields were set
0.1.8 (2023-08-01)#
Added#
an additional
priorityattribute forAnnotation, giving an extra option for sorting
0.1.7 (2023-07-26)#
Changed#
upgraded dependencies
0.1.6 (2023-03-28)#
Changed#
upgraded dependencies, including a
markdown-it-pywhich had a vulnerability
0.1.5 (2023-02-15)#
Changed#
upgraded dependencies, including
certifiwhich had a vulnerability
0.1.4 (2022-11-29)#
Changed#
renamed
processors_enabledandprocessors_disabledtoenabledanddisabled, respectively
0.1.3 (2022-11-28)#
Added#
Include
py.typedin packaging
0.1.2 (2022-11-28)#
Added#
a
py.typedfile, indicating PEP 561 compliance
Changed#
minor type hint updates
minor doc updates
0.1.1 (2022-11-18)#
Added#
Support for disabling specific processors with the
processors_disabledkeyword.
0.1.0 (2022-11-18)#
Added#
Initial version