enum

NLP::SemanticUnderstanding::SemanticRole

Inherits Enum < Comparable < Value < Object

Semantic roles (based on FrameNet/PropBank)

Constants

AGENT = 0
PATIENT = 1
THEME = 2
EXPERIENCER = 3
INSTRUMENT = 4
LOCATION = 5
SOURCE = 6
GOAL = 7
BENEFICIARY = 8
TIME = 9
MANNER = 10
CAUSE = 11
PURPOSE = 12
RESULT = 13
ATTRIBUTE = 14

Instance methods

agent?

Returns true if this enum value equals AGENT

Source
attribute?

Returns true if this enum value equals ATTRIBUTE

Source
beneficiary?

Returns true if this enum value equals BENEFICIARY

Source
cause?

Returns true if this enum value equals CAUSE

Source
experiencer?

Returns true if this enum value equals EXPERIENCER

Source
goal?

Returns true if this enum value equals GOAL

Source
instrument?

Returns true if this enum value equals INSTRUMENT

Source
location?

Returns true if this enum value equals LOCATION

Source
manner?

Returns true if this enum value equals MANNER

Source
patient?

Returns true if this enum value equals PATIENT

Source
purpose?

Returns true if this enum value equals PURPOSE

Source
result?

Returns true if this enum value equals RESULT

Source
source?

Returns true if this enum value equals SOURCE

Source
theme?

Returns true if this enum value equals THEME

Source
time?

Returns true if this enum value equals TIME

Source