mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
moved PGF.ToApi to GF.Compile.ToAPI
This commit is contained in:
@@ -20,11 +20,11 @@ import PGF.Macros
|
||||
import PGF.Data ----
|
||||
import PGF.Morphology
|
||||
import PGF.Printer
|
||||
import PGF.ToAPI
|
||||
import PGF.Probabilistic -- (getProbsFromFile,prProbabilities,defaultProbabilities)
|
||||
import PGF.Generate (generateRandomFrom) ----
|
||||
import PGF.Tree (Tree(Fun), expr2tree, tree2expr)
|
||||
import GF.Compile.Export
|
||||
import GF.Compile.ToAPI
|
||||
import GF.Compile.ExampleBased
|
||||
import GF.Infra.Option (noOptions, readOutputFormat)
|
||||
import GF.Infra.UseIO
|
||||
|
||||
@@ -6,7 +6,7 @@ module GF.Compile.ExampleBased (
|
||||
import PGF
|
||||
import PGF.Probabilistic
|
||||
import PGF.Morphology
|
||||
import PGF.ToAPI
|
||||
import GF.Compile.ToAPI
|
||||
|
||||
import Data.List
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module PGF.ToAPI
|
||||
module GF.Compile.ToAPI
|
||||
(stringToAPI,exprToAPI)
|
||||
where
|
||||
|
||||
@@ -126,10 +126,7 @@ module PGF(
|
||||
readProbabilitiesFromFile,
|
||||
|
||||
-- * Browsing
|
||||
browse,
|
||||
-- * ToAPI
|
||||
exprToAPI,
|
||||
stringToAPI
|
||||
browse
|
||||
) where
|
||||
|
||||
import PGF.CId
|
||||
@@ -144,7 +141,6 @@ import PGF.Expr (Tree)
|
||||
import PGF.Morphology
|
||||
import PGF.Data
|
||||
import PGF.Binary
|
||||
import PGF.ToAPI
|
||||
import qualified PGF.Forest as Forest
|
||||
import qualified PGF.Parse as Parse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user