GenI-0.20.1: A natural language generator (specifically, an FB-LTAG surface realiser)Source codeContentsIndex
NLP.GenI.PolarityTypes
Synopsis
newtype PolarityKey = PolarityKey {
fromPolarityKey :: String
}
data PolarityAttr
= SimplePolarityAttr {
spkAtt :: String
}
| RestrictedPolarityAttr {
_rpkCat :: String
rpkAtt :: String
}
readPolarityAttrs :: String -> Set PolarityAttr
Documentation
newtype PolarityKey Source
Constructors
PolarityKey
fromPolarityKey :: String
show/hide Instances
data PolarityAttr Source
PolarityAttr is something you want to perform detect polarities on.
Constructors
SimplePolarityAttr
spkAtt :: String
RestrictedPolarityAttrRestrictedPolarityKey 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
_rpkCat :: String
rpkAtt :: String
show/hide Instances
readPolarityAttrs :: String -> Set PolarityAttrSource
Produced by Haddock version 2.6.0