Update parse_info.py
Browse files- 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 |
-
|
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)
|