forked from GitHub/gf-core
API for word alignment in the C runtime and in the Haskell binding
This commit is contained in:
@@ -21,6 +21,7 @@ data GuString
|
||||
data GuStringBuf
|
||||
data GuMapItor
|
||||
data GuOut
|
||||
data GuSeq
|
||||
data GuPool
|
||||
|
||||
foreign import ccall fopen :: CString -> CString -> IO (Ptr ())
|
||||
@@ -135,6 +136,9 @@ foreign import ccall "pgf/pgf.h pgf_print_name"
|
||||
foreign import ccall "pgf/pgf.h pgf_linearize"
|
||||
pgf_linearize :: Ptr PgfConcr -> PgfExpr -> Ptr GuOut -> Ptr GuExn -> IO ()
|
||||
|
||||
foreign import ccall "pgf/pgf.h pgf_align_words"
|
||||
pgf_align_words :: Ptr PgfConcr -> PgfExpr -> Ptr GuExn -> Ptr GuPool -> IO (Ptr GuSeq)
|
||||
|
||||
foreign import ccall "pgf/pgf.h pgf_parse_with_heuristics"
|
||||
pgf_parse_with_heuristics :: Ptr PgfConcr -> CString -> CString -> Double -> Ptr PgfCallbacksMap -> Ptr GuExn -> Ptr GuPool -> Ptr GuPool -> IO (Ptr GuEnum)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user