We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed46672 commit dca612eCopy full SHA for dca612e
pythainlp/tag/named_entity.py
@@ -81,8 +81,7 @@ def tag(
81
if pos and self.name_engine == "wangchanberta":
82
warnings.warn(
83
"""wangchanberta is not support part-of-speech tag.
84
- It have not part-of-speech tag in output.""",
85
- ValueError
+ It have not part-of-speech tag in output."""
86
)
87
if self.name_engine == "wangchanberta":
88
return self.engine.get_ner(text, tag=tag)
0 commit comments