maxent-learner-hw 0.1.0 → 0.1.1
raw patch · 2 files changed
+2/−1 lines, 2 files
Files
- app/Main.hs +1/−0
- maxent-learner-hw.cabal +1/−1
app/Main.hs view
@@ -30,6 +30,7 @@ import Control.Applicative import qualified Data.Text as T import qualified Data.Map.Lazy as M+import Data.Monoid import Data.Array.IArray import Data.Maybe import Data.FileEmbed
maxent-learner-hw.cabal view
@@ -1,5 +1,5 @@ name: maxent-learner-hw-version: 0.1.0+version: 0.1.1 synopsis: Hayes and Wilson's maxent learning algorithm for phonotactic grammars. description: Provides an implementation of Hayes and Wilson's machine learning algorithm for maxent phonotactic grammars, as both a command-line tool and a function library. The learner takes in a lexicon and produces a list of weighted constraints penalizing certain sound sequemces in an attempt to produce a probability distribution of words which maximizes the probability of the lexicon. Once such a set of constraints is generated, it can be tested by using it to generate random pronounceable text. .