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 581f6e7 commit ad17fbfCopy full SHA for ad17fbf
webstruct/tests/test_wapiti.py
@@ -0,0 +1,7 @@
1
+from webstruct.wapiti import WapitiCRF
2
+from webstruct.utils import run_command
3
+
4
+def test_is_wapiti_binary_present():
5
+ run_command(['which', WapitiCRF.WAPITI_CMD])
6
7
webstruct/wapiti.py
@@ -124,10 +124,6 @@ def merge_top_n(chains):
124
125
126
class WapitiCRF(BaseSequenceClassifier):
127
- """
128
- >>> run_command(['which', WapitiCRF.WAPITI_CMD], verbose=False)
129
130
-
131
"""
132
Class for training and applying Wapiti CRF models.
133
0 commit comments