Learn R Programming

MoLE (version 1.0.1)

VERBMORPHOLOGY: Interpret verbal morphology

Description

Determine anaphoric reference of verb markers (either verb adpositions or suffixes).

Usage

VERBMORPHOLOGY(hearerID, analysis)

Arguments

hearerID

Pointer to hearer agent who's developing an analysis

analysis

Analysis of utterance (result of ANALYZE) in which roles have to be determined.

Value

Analysis (dataframe) with resolved reference of verb markers.

Details

If verb marker cannot be resolved anaphorically, it is reinterpret as a deictic argument.

See Also

INTERPRET, NOUNMORPHOLOGY

Examples

Run this code
# NOT RUN {
FOUND()
situation=SITUATION(1)
proposition=PROPOSITION(1, situation)
proposition$verb$topic=0; if('internal'%in%names(proposition)){proposition$internal$topic=0}
proposition$external$topic=1; proposition$external$recency=10
proposition=TOPICFIRST(1, proposition)
utterance=PRODUCE(1, proposition)
analysis=ANALYZE(2, utterance, situation)
grouping=GROUP(2, analysis)
for(i in 1:length(grouping)){
	if('verbAdposition'%in%grouping[[i]]$role){
		print(VERBMORPHOLOGY(2, grouping[[i]]))	
}	}
# }

Run the code above in your browser using DataLab