miesnerjacob commited on
Commit
aa75cb7
β€’
1 Parent(s): 2ebb1f3

removed uneeded arguement for get annotation function

Browse files
Files changed (1) hide show
  1. keyword_extraction.py +1 -1
keyword_extraction.py CHANGED
@@ -150,7 +150,7 @@ class KeywordExtractor:
150
  indices = list(self.get_keyword_indices(kws, text))
151
  if indices:
152
  indices_merged = self.merge_until_finished(indices)
153
- annotation = self.get_annotation(text, indices_merged, kws)
154
  else:
155
  annotation = None
156
 
150
  indices = list(self.get_keyword_indices(kws, text))
151
  if indices:
152
  indices_merged = self.merge_until_finished(indices)
153
+ annotation = self.get_annotation(text, indices_merged)
154
  else:
155
  annotation = None
156