packages feed

miniutter 0.4.5.0 → 0.4.6.0

raw patch · 2 files changed

+12/−12 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

NLP/Miniutter/English.hs view
@@ -335,20 +335,26 @@ defIrrPlural :: Map Text Text defIrrPlural = Map.fromList   [ ("bro",         "bros")+  , ("Bro",         "Bros")   , ("canto",       "cantos")   , ("homo",        "homos")   , ("photo",       "photos")+  , ("Photo",       "Photos")   , ("zero",        "zeros")   , ("piano",       "pianos")+  , ("Piano",       "Pianos")   , ("portico",     "porticos")   , ("pro",         "pros")   , ("quarto",      "quartos")   , ("kimono",      "kimonos")   , ("knife",       "knives")+  , ("Knife",       "Knives")   , ("life",        "lives")-  , ("dwarf",       "dwarfs")  -- not for ME dwarves, though+  , ("Life",        "Lives")+  , ("dwarf",       "dwarfs")  -- not for ME dwarves though   , ("proof",       "proofs")   , ("roof",        "roofs")+  , ("Roof",        "Roofs")   , ("turf",        "turfs")   , ("child",       "children")   , ("foot",        "feet")@@ -368,25 +374,19 @@   , ("trout",       "trout")   , ("swine",       "swine")   , ("aircraft",    "aircraft")+  , ("Aircraft",    "Aircraft")   , ("watercraft",  "watercraft")   , ("spacecraft",  "spacecraft")+  , ("Spacecraft",  "Spacecraft")   , ("hovercraft",  "hovercraft")   , ("information", "information")+  , ("Information", "Information")   ] --- TODO: Remove the exceptions about 'u' as soon as we bump the minimorph--- dependency to 0.1.5. -- | Default set of nouns with irregular indefinite article. defIrrIndefinite :: Map Text Text defIrrIndefinite = Map.fromList-  [ ("user",         "a")-  , ("university",   "a")-  , ("unicorn",      "a")-  , ("unicycle",     "a")-  , ("usual",        "a")-  , ("unique",       "a")-  , ("uniform",      "a")-  , ("SCUBA",        "a")+  [ ("SCUBA",        "a")   , ("HEPA",         "a")   , ("hour",         "an")   , ("heir",         "an")
miniutter.cabal view
@@ -5,7 +5,7 @@ -- PVP summary: +-+------- breaking API changes --              | | +----- non-breaking API additions --              | | | +--- code changes with no API change-version:        0.4.5.0+version:        0.4.6.0 synopsis:      Simple English clause creation from arbitrary words description:   This library helps in generating simple present tense                English sentences from short, parametrized descriptions.