sentiwordnet-parser-0.2.0.0: Parser for the SentiWordNet tab-separated file

Safe HaskellNone
LanguageHaskell2010

NLP.SentiwordnetParser

Contents

Synopsis

Documentation

data Entry Source #

Constructors

Entry 

Instances

Eq Entry Source # 

Methods

(==) :: Entry -> Entry -> Bool #

(/=) :: Entry -> Entry -> Bool #

Show Entry Source # 

Methods

showsPrec :: Int -> Entry -> ShowS #

show :: Entry -> String #

showList :: [Entry] -> ShowS #

data POS Source #

Instances

Eq POS Source # 

Methods

(==) :: POS -> POS -> Bool #

(/=) :: POS -> POS -> Bool #

Show POS Source # 

Methods

showsPrec :: Int -> POS -> ShowS #

show :: POS -> String #

showList :: [POS] -> ShowS #

Generic POS Source # 

Associated Types

type Rep POS :: * -> * #

Methods

from :: POS -> Rep POS x #

to :: Rep POS x -> POS #

Hashable POS Source # 

Methods

hashWithSalt :: Int -> POS -> Int #

hash :: POS -> Int #

type Rep POS Source # 
type Rep POS = D1 * (MetaData "POS" "NLP.SentiwordnetParser" "sentiwordnet-parser-0.2.0.0-7pTAT6Bz60UGpynRDwpadp" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Noun" PrefixI False) (U1 *)) (C1 * (MetaCons "Verb" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Adjective" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "AdjectiveSatellite" PrefixI False) (U1 *)) (C1 * (MetaCons "Adverb" PrefixI False) (U1 *)))))

type SentiWordNetLookup = HashMap (POS, Text) [SentiWordNetLookupItem] Source #

Datastructure for efficient lookupScoreByPosAndName lookups

internal stuff

test :: IO () Source #