edsnlp.pipelines.ner.scores.emergency.priority.patterns
regex = ['\\bpriorite\\b']
module-attribute
value_extract = '^.*?[\\n\\W]*?(\\d+)'
module-attribute
score_normalization_str = 'score_normalization.priority'
module-attribute
score_normalization(extracted_score)
Priority score normalization. If available, returns the integer value of the priority score.
Source code in edsnlp/pipelines/ner/scores/emergency/priority/patterns.py
12 13 14 15 16 17 18 19 20 |
|