Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
ac18b03
1 Parent(s): ca8d27c
Files changed (1) hide show
  1. utils/lexical_search.py +1 -1
utils/lexical_search.py CHANGED
@@ -151,7 +151,7 @@ def runRegexMatcher(token_list:List[str], document:Text):
151
 
152
  return matches, document
153
 
154
- def spacyAnnotator(matches: List[List[int]], document:spacy.token.doc.Doc):
155
  """
156
  This is spacy Annotator and needs spacy.doc
157
  Annotates the text in the document defined by list of [start index, end index]
 
151
 
152
  return matches, document
153
 
154
+ def spacyAnnotator(matches: List[List[int]], document:spacy.tokens.doc.Doc):
155
  """
156
  This is spacy Annotator and needs spacy.doc
157
  Annotates the text in the document defined by list of [start index, end index]