Skip to content

Commit 938c0f2

Browse files
committed
Fix a missing model_dir=
1 parent 519b860 commit 938c0f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stanza/tests/pipeline/test_pipeline_constituency_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ def test_sorted_two_batch(foundation_cache):
6060
check_results(doc)
6161

6262
def test_get_constituents(foundation_cache):
63-
pipe = stanza.Pipeline("en", processors="tokenize,pos,constituency", foundation_cache=foundation_cache, download_method=None)
63+
pipe = stanza.Pipeline("en", model_dir=TEST_MODELS_DIR, processors="tokenize,pos,constituency", foundation_cache=foundation_cache, download_method=None)
6464
assert "SBAR" in pipe.processors["constituency"].get_constituents()

0 commit comments

Comments
 (0)