Skip to content

Use nameless variables in semantic representations #5

@jopetty

Description

@jopetty

Complex semantic representations involving quantifiers, lambda expressions, and so forth, require the use of variables. Compare the following sentences and their parses.

Alice sees Bob			see ( alice , bob )
Everyone sees Alice		all x . ( person ( x ) -> see ( x , alice ) )
Everyone sees Everyone  	all x . ( person ( x ) -> all z1 . ( person ( z1 ) -> see ( x , z1 ) ) )

The symbols x and z1 in the previous expressions are variables. It's difficult for the network to determine these symbols since they aren't deterministic based on the input, but rather on what sentences were previously generated by the grammar. To get around this, we could opt for nameless variables, like De Bruijn indices, or require that all variables be numbers and then resetting the counter (somehow?) so that they are deterministic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions