Skip to content

Commit

Permalink
Edit type (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Schaffter <[email protected]>
  • Loading branch information
thomasyu888 and tschaffter authored Jun 8, 2021
1 parent d6cb970 commit 0a80691
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create_text_id_annotations(text_id_annotation_request=None): # noqa: E501
add_id_annotation(annotations, matches, "ssn")

matches = re.finditer(r"[\d]{5,}", note._text)
add_id_annotation(annotations, matches, "id_num")
add_id_annotation(annotations, matches, "id_number")
res = TextIdAnnotationResponse(annotations)
status = 200
except Exception as error:
Expand Down

0 comments on commit 0a80691

Please sign in to comment.