d0c3f0ed828585174dca1639bda2646786467118,tests/lang/pt/test_parser.py,,test_pt_parser_corpus,#Any#Any#Any#Any#,13
Before Change
)
def test_pt_parser_corpus(NLP, test_file, uas_threshold, las_threshold):
data_path = TEST_FILES_DIR / test_file
if not data_path.exists():
raise FileNotFoundError("Test corpus not found", data_path)
examples = json_path_to_examples(data_path, NLP)
scores = NLP.evaluate(examples)
assert scores["dep_uas"] > uas_threshold
assert scores["dep_las"] > las_threshold
After Change
[("pt_bosque-ud-dev01_10.json", 0.87, 0.85)],
)
def test_pt_parser_corpus(NLP, test_file, uas_threshold, las_threshold):
data_path = TEST_FILES_DIR / test_file
evaluate_corpus(
NLP, data_path, {"dep_uas": uas_threshold, "dep_las": las_threshold}
)
In pattern: SUPERPATTERN
Frequency: 13
Non-data size: 14
Instances
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/pt/test_parser.py
Class Name:
Method Name: test_pt_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/pl/test_parser.py
Class Name:
Method Name: test_pl_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/en/test_parser.py
Class Name:
Method Name: test_en_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/es/test_parser.py
Class Name:
Method Name: test_es_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/fr/test_parser.py
Class Name:
Method Name: test_fr_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/nb/test_parser.py
Class Name:
Method Name: test_nb_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/pt/test_parser.py
Class Name:
Method Name: test_pt_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/lt/test_parser.py
Class Name:
Method Name: test_lt_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/da/test_morphologizer.py
Class Name:
Method Name: test_da_morphologizer_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/zh/test_parser.py
Class Name:
Method Name: test_zh_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/nl/test_parser.py
Class Name:
Method Name: test_pl_parser_corpus
Project Name: explosion/spacy-models
Commit Name: 2e7474237f8b40bd5b3b767135c142ef1658b27b
Time: 2020-10-15
Author: adrianeboyd@gmail.com
File Name: tests/lang/ro/test_parser.py
Class Name:
Method Name: test_ro_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/da/test_parser.py
Class Name:
Method Name: test_da_parser_corpus
Project Name: explosion/spacy-models
Commit Name: d0c3f0ed828585174dca1639bda2646786467118
Time: 2020-10-14
Author: adrianeboyd@gmail.com
File Name: tests/lang/ja/test_parser.py
Class Name:
Method Name: test_ja_parser_corpus