summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command/Commands.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-09-22 09:06:19 +0000
committerkrasimir <krasimir@chalmers.se>2010-09-22 09:06:19 +0000
commit1c9305e7a39f4d17d4300067e987e3ebc30e83f3 (patch)
tree6a6e8e51fd3a915ed352ed6b76715f384fbd5320 /src/compiler/GF/Command/Commands.hs
parentfb15e95a073cca40546cd9ea8afe1866d80509d3 (diff)
cleanup and export the Probabilistic API from PGF
Diffstat (limited to 'src/compiler/GF/Command/Commands.hs')
-rw-r--r--src/compiler/GF/Command/Commands.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index 3d97f545a..a9a472552 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -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