Safe Haskell | None |
---|---|
Language | Haskell98 |
Types and functions related to the morphosyntax data layer.
Synopsis
- data Seg w t = Seg {}
- mapSeg :: Ord b => (a -> b) -> Seg w a -> Seg w b
- interpsSet :: Seg w t -> Set t
- interps :: Seg w t -> [t]
- class Word a where
- type Sent w t = [Seg w t]
- mapSent :: Ord b => (a -> b) -> Sent w a -> Sent w b
- data SentO w t = SentO {}
- mapSentO :: Ord b => (a -> b) -> SentO w a -> SentO w b
- module NLP.Concraft.Morphosyntax.WMap
Segment
A segment parametrized over a word type and a tag type.
interpsSet :: Seg w t -> Set t Source #
Interpretations of the segment.
Word class
Sentence
A sentence with original, textual representation.