Commento with out of the box patches and updates to add useful features and fixes. Also with one-click deploy to Heroku so you can get up and running fast.
MIT License
389
stars
62
forks
source link
Feature: Adds Perspective API for spam detection #128
COMMENTO_PERSPECTIVE_LIMIT:
The limit defines the minimum value for the Perspective probability summary score. Everything above the value will be flagged in Commentoplus. (Default 0.5)
COMMENTO_PERSPECTIVE_LANGUAGE:
Configure the language to your requirements. (Default: en)
This feature adds the Prospective API (https://perspectiveapi.com/) as a new spam detection to Commentoplus
Export following settings in your environment:
export COMMENTO_PERSPECTIVE_KEY=YOUR_API_KEY_FROM_PERSPECTIVE export COMMENTO_PERSPECTIVE_LIMIT=0.3 export COMMENTO_PERSPECTIVE_LANGUAGE=de
--
COMMENTO_PERSPECTIVE_KEY: To create a new Perspective API key follow the instructions at https://developers.perspectiveapi.com/s/docs-get-started
COMMENTO_PERSPECTIVE_LIMIT: The limit defines the minimum value for the Perspective probability summary score. Everything above the value will be flagged in Commentoplus. (Default 0.5)
COMMENTO_PERSPECTIVE_LANGUAGE: Configure the language to your requirements. (Default: en)