1
0
forked from GitHub/gf-core

fix in the Haskell binding

This commit is contained in:
kr.angelov
2014-12-16 10:35:56 +00:00
parent c192aed5ba
commit 467a308335

View File

@@ -232,7 +232,7 @@ getAnalysis ref self c_lemma c_anal prob exn = do
writeIORef ref ((lemma, anal, prob):ans)
parse :: Concr -> String -> String -> Either String [(Expr,Float)]
parse lang cat sent = parse_with_heuristics lang cat sent (-1.0) []
parse lang cat sent = parseWithHeuristics lang cat sent (-1.0) []
parseWithHeuristics :: Concr -> String -> String -> Double -> [(String, Int -> String -> Int -> Maybe (Expr,Float,Int))] -> Either String [(Expr,Float)]
parseWithHeuristics lang cat sent heuristic callbacks =