8000 GitHub - Conway/perspective: An API wrapper for Google's Perspective API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Conway/perspective

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perspective

perspective is an API wrapper for Google's Perspective API

Inst 6DD6 allation

To install, use pip install perspective

Usage

A simple example:

from perspective import PerspectiveAPI
p = PerspectiveAPI("API_KEY")
result = p.score("This is a comment")
print("Toxicity score: ", result["TOXICITY"])

More complex

About

An API wrapper for Google's Perspective API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0