tempo_eval.print_corpus_report
- tempo_eval.print_corpus_report(corpus_name, output_dir='./', validate=True, additional_estimates=None, additional_references=None, format='kramdown', size=Size.L)[source]
Print report for the given named corpus.
- Parameters
size (
Size) – Size of evaluation report. Choose “L” for the most comprehensive version, choose “S” for a shorter version with just the essentials.format (
str) –kramdown,markdownorhtmlcorpus_name (
str) – corpus name. Seelist_reference_corpus_namesto get a list of valid names.output_dir (
str) – output directoryvalidate (
bool) – validate jam while reading (has major performance impact)additional_references (
Optional[Dict[str,Dict[str,Dict[str,Annotation]]]]) – additional, user-provided reference annotationsadditional_estimates (
Optional[Dict[str,Dict[str,Dict[str,Annotation]]]]) – additional, user-provided estimate annotations
- Return type
- Returns
output file name
- Raises
ValueError – if the given format is not supported
Note
By default, validate is True in order to stay safe. But since it affects performance quite a bit, you might want to turn validation off when using this function to keep your sanity.