From 979f33aea17fc19c9dc455789bf0177f6bd9a50f Mon Sep 17 00:00:00 2001 From: Yilmaz4 Date: Fri, 21 Jan 2022 23:24:32 +0300 Subject: [PATCH] Improve formatting --- perspective/attributes.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/perspective/attributes.py b/perspective/attributes.py index 10ec3cf..66cda01 100644 --- a/perspective/attributes.py +++ b/perspective/attributes.py @@ -20,7 +20,15 @@ SOFTWARE. """ -all_attrs = ["TOXICITY", "SEVERE_TOXICITY", "IDENTITY_ATTACK", "INSULT", "PROFANITY", "THREAT", "TOXICITY_EXPERIMENTAL", "SEVERE_TOXICITY_EXPERIMENTAL", "IDENTITY_ATTACK_EXPERIMENTAL", "INSULT_EXPERIMENTAL", "PROFANITY_EXPERIMENTAL", "THREAT_EXPERIMENTAL", "SEXUALLY_EXPLICIT", "FLIRTATION", "ATTACK_ON_AUTHOR", "ATTACK_ON_COMMENTER", "INCOHERENT", "INFLAMMATORY", "LIKELY_TO_REJECT", "OBSCENE", "SPAM", "UNSUBSTANTIAL"] +all_attrs = ["TOXICITY", "SEVERE_TOXICITY", "IDENTITY_ATTACK", +"INSULT", "PROFANITY", "THREAT", "TOXICITY_EXPERIMENTAL", +"SEVERE_TOXICITY_EXPERIMENTAL", "IDENTITY_ATTACK_EXPERIMENTAL", +"INSULT_EXPERIMENTAL", "PROFANITY_EXPERIMENTAL", +"THREAT_EXPERIMENTAL", "SEXUALLY_EXPLICIT", "FLIRTATION", +"ATTACK_ON_AUTHOR", "ATTACK_ON_COMMENTER", "INCOHERENT", +"INFLAMMATORY", "LIKELY_TO_REJECT", "OBSCENE", "SPAM", +"UNSUBSTANTIAL"] + all_prod_attrs = ["TOXICITY", "SEVERE_TOXICITY", "IDENTITY_ATTACK", "INSULT", "PROFANITY", "THREAT"] all_expr_attrs = ["TOXICITY_EXPERIMENTAL", "SEVERE_TOXICITY_EXPERIMENTAL", "IDENTITY_ATTACK_EXPERIMENTAL", "INSULT_EXPERIMENTAL", "PROFANITY_EXPERIMENTAL", "THREAT_EXPERIMENTAL", "SEXUALLY_EXPLICIT", "FLIRTATION"] all_newy_attrs = ["ATTACK_ON_AUTHOR", "ATTACK_ON_COMMENTER", "INCOHERENT", "INFLAMMATORY", "LIKELY_TO_REJECT", "OBSCENE", "SPAM", "UNSUBSTANTIAL"]