mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
cleanup and export the Probabilistic API from PGF
This commit is contained in:
@@ -977,8 +977,8 @@ allCommands env@(pgf, mos) = Map.fromList [
|
||||
optProbs opts pgfr = case valStrOpts "probs" "" opts of
|
||||
"" -> return Nothing
|
||||
file -> do
|
||||
ps <- getProbsFromFile file pgf ---- pgfr!
|
||||
-- putStrLn $ prProbabilities ps
|
||||
ps <- readProbabilitiesFromFile file pgf ---- pgfr!
|
||||
-- putStrLn $ showProbabilities ps
|
||||
return $ Just ps
|
||||
|
||||
optFile opts = valStrOpts "file" "_gftmp" opts
|
||||
|
||||
Reference in New Issue
Block a user