Learn R Programming

MoLE (version 1.0.1)

SELECTACTOR: Find actor expression

Description

Select best expression for actor/undergoer/verb participant in the event to be described

Usage

SELECTACTOR(speakerID, situation, verb = NULL)

Arguments

speakerID

Pointer to speaker agent

situation

Situation in which event to be described is situated

verb

Pointer to verb lexeme used in the utterance to be formulated (if present already)

Value

A dataframe with the lexical representation of the agent/undergoer/verb.

Details

Verb is relevant because of collostruction frequencies: some agents are more likely to be mentioned given certain verbs (cf. CANDIDATEORDER). Works other way around for SELECTVERB.

See Also

PROPOSITION

Examples

Run this code
# NOT RUN {
FOUND()
situation=SITUATION(1)
situation[situation$target==1,]
SELECTACTOR(1, situation)
SELECTVERB(1, situation)
if(!is.na(situation[situation$target==1,]$U1)){
	SELECTUNDERGOER(1, situation)
}
# }

Run the code above in your browser using DataLab