| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Language.Drasil.Development
Description
Developing the expression language in Drasil. Re-export many things to simplify external use.
Development.Sentence
NounPhrase
class NounPhrase n a | n -> a where #
Minimal complete definition
Methods
phraseNP :: n -> NPStructG a #
Retrieves singular form of term. Ex. "the quick brown fox".
pluralNP :: n -> PluralFormG a #
Retrieves plural form of term. Ex. "the quick brown foxes".
Instances
| NounPhrase (NPG a) a | Defines NP as a NounPhrase.
Default capitalization rules for proper and common nouns
are |