Skip to content

nisargmodi/TWSS-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What?!

A Naive Bayes model built for That's What She Said classification.

require 'rubygems'
require 'twss-classifier'		

if TWSSClassifier.is_twss?("that was longer than i expected")
	puts "That's what she said!"
end

if TWSSClassifier.is_twss?("oh, this is good", 0.9) # Use a lower threshold of 0.9.
	puts "That's what she said!"
end	

Read more about the algorithm here, and see a demo here.

About

A "That's What She Said!" Double Entendre Classifier. Tweaking the code of an existing github project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages