Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
ae0fdf8
1 Parent(s): 9f55059
Files changed (1) hide show
  1. utils/lexical_search.py +1 -1
utils/lexical_search.py CHANGED
@@ -95,7 +95,7 @@ def tokenize_lexical_query(query:str)-> List[str]:
95
  return token_list
96
 
97
  def runSpacyMatcher(token_list:List[str], document:Text
98
- )->Tuple(List[List[int]],spacy.tokens.doc.Doc):
99
  """
100
  Using the spacy in backend finds the keywords in the document using the
101
  Matcher class from spacy. We can alternatively use the regex, but spacy
 
95
  return token_list
96
 
97
  def runSpacyMatcher(token_list:List[str], document:Text
98
+ )->Tuple[List[List[int]],spacy.tokens.doc.Doc]:
99
  """
100
  Using the spacy in backend finds the keywords in the document using the
101
  Matcher class from spacy. We can alternatively use the regex, but spacy