Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
The module provides functionality for manipulating PoliMorf, the morphological dictionary for Polish.
Types
A semantic category. It will be set to "" when there is no category assigned to a particular PoliMorf entry.
An entry from the PoliMorf dictionary.
atomic :: Entry -> Bool Source #
Is the entry an atomic one? More precisely, we treat all negative
forms starting with 'nie'
and all superlatives starting with 'naj'
as non-atomic entries.
Parsing
parsePoliMorf :: Text -> [Entry] Source #
Parse the PoliMorf into a list of entries.