forked from GitHub/gf-core
gfLibraryPath is actually an environment variable not a file path. Use the current directory instead.
This commit is contained in:
@@ -68,7 +68,7 @@ mkCncGroups opts0 ((res,path),files) = do
|
|||||||
let opts = addOptions (options [beSilent,pathList path]) opts0
|
let opts = addOptions (options [beSilent,pathList path]) opts0
|
||||||
let treebank = oElem (iOpt "treebank") opts
|
let treebank = oElem (iOpt "treebank") opts
|
||||||
resf <- useIOE res $ do
|
resf <- useIOE res $ do
|
||||||
(fp,_) <- readFileLibraryIOE gfLibraryPath res
|
(fp,_) <- readFileLibraryIOE "" res
|
||||||
return fp
|
return fp
|
||||||
egr <- appIOE $ shellStateFromFiles opts emptyShellState resf
|
egr <- appIOE $ shellStateFromFiles opts emptyShellState resf
|
||||||
(parser,morpho) <- if treebank then do
|
(parser,morpho) <- if treebank then do
|
||||||
|
|||||||
Reference in New Issue
Block a user