GenI-0.25.0.1: A natural language generator (specifically, an FB-LTAG surface realiser)

Safe HaskellNone
LanguageHaskell2010

NLP.GenI.Polarity.Types

Synopsis

Documentation

data PolarityKey Source #

Instances

Eq PolarityKey Source # 
Data PolarityKey Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolarityKey -> c PolarityKey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolarityKey #

toConstr :: PolarityKey -> Constr #

dataTypeOf :: PolarityKey -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PolarityKey) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolarityKey) #

gmapT :: (forall b. Data b => b -> b) -> PolarityKey -> PolarityKey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolarityKey -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolarityKey -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolarityKey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolarityKey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolarityKey -> m PolarityKey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolarityKey -> m PolarityKey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolarityKey -> m PolarityKey #

Ord PolarityKey Source # 
NFData PolarityKey Source # 

Methods

rnf :: PolarityKey -> () #

Pretty PolarityKey Source # 

type SemPols = [Int] Source #

data PolarityAttr Source #

PolarityAttr is something you want to perform detect polarities on.

Constructors

SimplePolarityAttr 

Fields

RestrictedPolarityAttr

RestrictedPolarityKey c att is a polarity key in which we only pay attention to nodes that have the category c. This makes it possible to have polarities for a just a small subset of nodes

Fields