c343409098b4f4b8396119d9f26e040e479a0e2b,labs/08/speech_recognition_eval.py,,,#,18
Before Change
parser.add_argument("gold", type=str, help="Path to gold data.")
args = parser.parse_args()
with open(args.system, "r", encoding="utf-8") as system_file:
system = [line.rstrip("\n") for line in system_file]
with open(args.gold, "r", encoding="utf-8") as gold_file:
gold = [line.rstrip("\n") for line in gold_file]
if len(system) < len(gold):
After Change
parser.add_argument("dataset", type=str, help="Which dataset to evaluate ("dev", "test").")
args = parser.parse_args([] if "__file__" not in globals() else None)
gold = getattr(TimitMFCC(), args.dataset).data["letters"]
with open(args.predictions, "r", encoding="utf-8") as predictions_file:
predictions = [line.rstrip("\n") for line in predictions_file]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: ufal/npfl114
Commit Name: c343409098b4f4b8396119d9f26e040e479a0e2b
Time: 2020-04-20
Author: milan@strakovi.com
File Name: labs/08/speech_recognition_eval.py
Class Name:
Method Name:
Project Name: pandas-dev/pandas
Commit Name: 917b734e8db55de1e834aad22b3f8b56c920bc4d
Time: 2021-01-20
Author: jbrockmendel@gmail.com
File Name: pandas/tests/indexes/interval/test_setops.py
Class Name: TestIntervalIndex
Method Name: test_set_incompatible_types
Project Name: dpressel/mead-baseline
Commit Name: 18fba98733551c294c760e7186f6a18d44d73d18
Time: 2018-09-24
Author: dpressel@gmail.com
File Name: python/baseline/tf/lm/model.py
Class Name: WordLanguageModel
Method Name: save_md