Copyright | (c) Julian Grove and Aaron Steven White 2025 |
---|---|
License | MIT |
Maintainer | julian.grove@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Framework.Grammar.Parser
Description
CKY-style parsing for CCG.
Documentation
interpret :: forall (p :: Project) m. Interpretation p m => Int -> Expr -> Chart m Source #
CKY-style CCG expression interpreter, but with parses cached by substring identity instead of by span, for stronger memoization.
interpretations :: forall (p :: Project) m. (Interpretation p m, Eq m) => Expr -> Int -> ParseAs m Source #