Skip to content

Commit

Permalink
修正 getVerbStemLIST() verbP return format error.
Browse files Browse the repository at this point in the history
  • Loading branch information
EclairCJ committed Apr 26, 2021
1 parent 6a605fb commit d78f86f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ArticutAPI/Toolkit/toolkits.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ def getVerbStemLIST(parseResultDICT, indexWithPOS=True):
if len(p) > 1:
if "VerbP" in p:
verbLIST.append([(v.start(), v.end(), v.group(0)) for v in list(verbPPat.finditer(p))])
verbLIST.append([(v.start(), v.end(), v.group(0)) for v in list(verbPat.finditer(p))])
else:
verbLIST.append([(v.start(), v.end(), v.group(0)) for v in list(verbPat.finditer(p))])
else:
verbLIST.append([])
if not indexWithPOS:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="ArticutAPI",
version="1.0.9",
version="1.0.10",
author="Droidtown Linguistic Tech. Co. Ltd.",
author_email="[email protected]",
description="Articut NLP system provides not only finest results on Chinese word segmentaion (CWS), Part-of-Speech tagging (POS) and Named Entity Recogintion tagging (NER), but also the fastest online API service in the NLP industry.",
Expand Down

0 comments on commit d78f86f

Please sign in to comment.