You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
365 B
Django/Jinja
17 lines
365 B
Django/Jinja
{
|
|
"gt": "{{ gt }}",
|
|
"ocr": "{{ ocr }}",
|
|
{% if metrics %}
|
|
"cer": {{ cer|json_float }},
|
|
"wer": {{ wer|json_float }},
|
|
{% endif %}
|
|
{% if differences %}
|
|
"differences": {
|
|
"character_level": {{ diff_c|tojson }},
|
|
"word_level": {{ diff_w|tojson }}
|
|
},
|
|
{% endif %}
|
|
"n_characters": {{ n_characters }},
|
|
"n_words": {{ n_words }}
|
|
}
|