Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stanfordnlp/stanza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bauer <horatio@gmail.com>2022-10-30 08:58:00 +0300
committerJohn Bauer <horatio@gmail.com>2022-10-30 09:20:37 +0300
commit886365195fa768e84145f9c1334ae089232ac61b (patch)
treee373a48959871d28fb1d56378624e51b18f82dd4
parent08424f6ca2da07021b6e55cce2460b86c857601b (diff)
update comment
-rw-r--r--stanza/tests/constituency/test_trainer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/stanza/tests/constituency/test_trainer.py b/stanza/tests/constituency/test_trainer.py
index 80d191a8..c7104850 100644
--- a/stanza/tests/constituency/test_trainer.py
+++ b/stanza/tests/constituency/test_trainer.py
@@ -212,8 +212,9 @@ class TestTrainer:
"""
Test the whole thing for a few iterations on the fake data
- This tests that it works if you give it a silver file, but
- doesn't actually test that the silver file is being used
+ This tests that it works if you give it a silver file
+ The check for the use of the silver data is that the
+ number of batches trained should go up
"""
with tempfile.TemporaryDirectory(dir=TEST_WORKING_DIR) as tmpdirname:
self.run_train_test(wordvec_pretrain_file, tmpdirname, use_silver=True)