Skip to content

gabll/hoax-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hoax-check

Automated url fact-checking.

Extracts keywords from a generic url, search combinations of them on snopes.com and returns the best match.

An API key for the retinasdk is required.

Usage

$ python hoax-check.py -h

usage: hoax-check.py [-h] [--w words_cutoff] [--k keywords_cutoff] [--o no_single_keyword] url

positional arguments:
   url                   document url to check for on snopes.com

optional arguments:
   -h, --help            show this help message and exit
   --w words_cutoff      cuts off lines with less of n words for keyword extraction (default=7)
   --k keywords_cutoff   consider only the first n relevant keywords (default=4)
   --o no_single_keyword don't search single keywords (default=True)

About

Automated hoax search on snopes.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages