Questions: Basic Types and Shared Infrastructure #
@cite{dayal-2016} @cite{groenendijk-stokhof-1984} @cite{anand-hardt-mccloskey-2021}
Theory-neutral types for question-answer phenomena.
Semantic type of a wh-phrase, classifying what domain the wh-word ranges over. The taxonomy is empirically motivated by distributional patterns in the Santa Cruz Sluicing Corpus, where these types show radically different frequencies.
- entity : WhSemanticType
- degree : WhSemanticType
- reason : WhSemanticType
- manner : WhSemanticType
- temporal : WhSemanticType
- locative : WhSemanticType
- classificatory : WhSemanticType
Instances For
Equations
- Phenomena.Questions.instBEqWhSemanticType.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Classification of question types by answer form.
Note: this classifies the form of the question and expected answer,
not the semantic type of the wh-phrase. For semantic type (entity,
degree, reason, etc.), see WhSemanticType.
- polar : QuestionType
- whSingular : QuestionType
- whPlural : QuestionType
- alternative : QuestionType
- whReason : QuestionType
- whManner : QuestionType
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The semantic type of the wh-phrase, when the question is a wh-question.
Returns none for polar and alternative questions. For whSingular
and whPlural, the semantic type depends on the specific wh-word used,
so we default to entity — the caller should refine if needed.
Equations
- Phenomena.Questions.QuestionType.polar.whSemanticType = none
- Phenomena.Questions.QuestionType.alternative.whSemanticType = none
- Phenomena.Questions.QuestionType.whSingular.whSemanticType = some Phenomena.Questions.WhSemanticType.entity
- Phenomena.Questions.QuestionType.whPlural.whSemanticType = some Phenomena.Questions.WhSemanticType.entity
- Phenomena.Questions.QuestionType.whReason.whSemanticType = some Phenomena.Questions.WhSemanticType.reason
- Phenomena.Questions.QuestionType.whManner.whSemanticType = some Phenomena.Questions.WhSemanticType.manner
Instances For
Answer completeness
- exhaustive : AnswerCompleteness
- mentionSome : AnswerCompleteness
- incomplete : AnswerCompleteness
- overinformative : AnswerCompleteness
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
A question-answer pair with metadata
- question : String
The question
- answer : String
The answer
- questionType : QuestionType
Type of question
- completeness : AnswerCompleteness
Completeness of answer
- form : AnswerForm
Form of answer
- felicitous : Bool
Is this Q-A pair felicitous?
- source : String
Source/citation
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Whether a term type gets an exhaustive interpretation