Documentation

Linglib.Theories.Syntax.CCG.Core.FromFragments

CCG Interpretation of Fragment Entries #

Maps Fragment lexical entries to CCG categories.

This is the theory interpretation layer: Fragment entries are theory-neutral, and this module provides the CCG-specific interpretation.

Design #

Example #

VerbEntry.sleep (intransitive) → S\NP (IV)
VerbEntry.eat (transitive) → (S\NP)/NP (TV)
VerbEntry.give (ditransitive) → ((S\NP)/NP)/NP (DTV)

Map a VerbEntry's complement type to a CCG category.

The mapping follows standard CCG practice:

  • Intransitive: S\NP
  • Transitive: (S\NP)/NP
  • Ditransitive: ((S\NP)/NP)/NP
  • Clause-embedding: (S\NP)/S
Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Map a PronounEntry to a CCG category.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Map a QuantifierEntry to a CCG category.

      Determiners are NP/N: they take a noun and produce an NP.

      Equations
      Instances For

        Parse a sentence and produce CCG lexical entries.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Build a CCG lexicon from all Fragment verbs.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Build a CCG lexicon from all Fragment pronouns.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Build a CCG lexicon from all Fragment determiners.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For