winograd: winograd

View source: R/winograd.R

winogradR Documentation

winograd

Description

Each time winograd() is run, it return the text of one Winograd schema from the following link (website created/maintained by Ernest Davis; available under a CC 4.0 license): https://cs.nyu.edu/~davise/papers/WinogradSchemas/WSCollection.html

Usage

winograd(seed = NULL)

Arguments

seed

A(n optional) seed to determine which Winograd schema is selected. NULL by default.

Details

A Winograd schema is a sentence (really, a pair of possible sentences) structured such that there's an ambiguous pronoun that could be associated with either of two antecedent nouns. Which antecedent noun the pronoun is tied to depends on which of two words/phrases is swapped in elsewhere in the sentence. For example:

I spread the cloth on the table in order to [protect/display] it.

[I]t is the ambiguous pronoun: If the sentence is written with the word "protect," the pronoun refers to the table; if the sentence is written with the word "display," the pronoun refers to the cloth.

Winograd schemas can be used to check for or try to foil bots. Simply pick one construction of the sentence (e.g., "...to protect it" or "...to display it") and ask a respondent to identify the pronoun (e.g., "What is being [protected][displayed]?").

Examples

winograd(seed = 10)


jacob-gg/manager documentation built on July 2, 2024, 2:09 a.m.