Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
twss.js to Haskell
Haskell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
.gitignore
LICENSE
Makefile
README.markdown
Setup.hs
negative
positive
twss.cabal

README.markdown

twss.hs

Usage

import Twss

main = do
    pos <- readTrainingData "positive"
    neg <- readTrainingData "negative"
  input <- getLine
  print $ isTwss pos neg input
  print $ isTwssProbability pos neg input -- show the probability of this being a twss

Executable

Installing this will give you a twss executable:

twss <string>

Credits

This is a port of DanielRapp's twss.js by Aditya Bhargava.

Something went wrong with that request. Please try again.