nam194 commited on
Commit
3e4fe57
1 Parent(s): aa67117

Update parse_info.py

Browse files
Files changed (1) hide show
  1. parse_info.py +1 -1
parse_info.py CHANGED
@@ -58,7 +58,7 @@ def parse_skill(inp: List) -> list:
58
  if "," in _:
59
  _ = [j.strip() for j in _.split(",")]
60
  inp.extend(_)
61
- inp[i] = parse_string(inp[i])
62
  for ngram in Counter(map(' '.join, everygrams(" ".join(inp).split(), 1, 3))).keys():
63
  if ngram in skill_list:
64
  res.append(ngram)
 
58
  if "," in _:
59
  _ = [j.strip() for j in _.split(",")]
60
  inp.extend(_)
61
+ inp = [parse_string(i) for i in inp]
62
  for ngram in Counter(map(' '.join, everygrams(" ".join(inp).split(), 1, 3))).keys():
63
  if ngram in skill_list:
64
  res.append(ngram)