add textcat score

This commit is contained in:
svlandeg 2020-09-22 10:56:43 +02:00
parent 396b33257f
commit e931f4d757

View File

@ -323,3 +323,6 @@ ents_f = {{ (1.0 / components|length)|round(2) }}
ents_p = 0.0 ents_p = 0.0
ents_r = 0.0 ents_r = 0.0
{%- endif -%} {%- endif -%}
{%- if "textcat" in components %}
cats_score = {{ (1.0 / components|length)|round(2) }}
{%- endif -%}