Text models RU

class apps.expert.core.aggression.text_aggression.text_models_ru.DepreciationRU[source]

Bases: object

Depreciation detector.

is_depreciation(sentence: str) Tuple[bool, List][source]
Returns:

Whether there are depreciations and a list of these words.

Return type:

Tuple[bool, List]