semiring 0.1 → 0.1.1
raw patch · 2 files changed
+7/−2 lines, 2 files
Files
- NLP/Semiring/Helpers.hs +4/−0
- semiring.cabal +3/−2
+ NLP/Semiring/Helpers.hs view
@@ -0,0 +1,4 @@+module NLP.Semiring.Helpers where ++cartesian as bs = [(a,b) | a <- as, b <- bs] +
semiring.cabal view
@@ -1,5 +1,5 @@ name: semiring-version: 0.1+version: 0.1.1 synopsis: Semirings, ring-like structures used for dynamic programming applications description: This provides a type class for semirings and implementations of the common semirings used in natural language @@ -11,6 +11,7 @@ maintainer: <srush at mit dot edu> build-Type: Simple cabal-version: >= 1.2+homepage: http://github.com/srush/SemiRings/tree/master flag testing description: Testing mode, only build minimal components@@ -25,7 +26,7 @@ NLP.Semiring.Counting NLP.Semiring.Derivation NLP.Semiring.ViterbiNBestDerivation-+ other-modules: NLP.Semiring.Helpers if flag(testing) buildable: False