Skip to content

Commit 7cea295

Browse files
Changed typing in commong code
1 parent e6a1987 commit 7cea295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extractors/personal_identifiers/location_extraction/code_snippet_common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def load_spacy(spacy_model):
99
return loaded_models[spacy_model]
1010

1111

12-
def location_extraction(text: str, extraction_keyword: str, spacy_model: str = "en_core_web_sm") -> List[Tuple[str, int]]:
12+
def location_extraction(text: str, extraction_keyword: str, spacy_model: str = "en_core_web_sm") -> List[Tuple[str, int, int]]:
1313
"""
1414
@param text: the input text
1515
@param extraction_keyword: the label that is assigned to extracted words

0 commit comments

Comments
 (0)