-
Notifications
You must be signed in to change notification settings - Fork 6
Mood
Mars edited this page Aug 1, 2017
·
15 revisions
We describe the speaker's tone in a sentence as Mood. Developers might care about if the sentence in a conversation is interrogative or not.
Developers can get Mood in a ParseTree:
Mood mMood = parseTree.getMood();Developers can set Direction in a trigger.
Mood mMood = Mood.INTERROGTIVE//Mood.IMPERATIVE;
Trigger mTrigger = new Trigger(name, pluginMadatoryTags, pluginOptionalTags
, constraints
, mMood, direction):| DataType | Name |
|---|---|
| enum | Mood |
| DataType | Field |
|---|---|
| Mood | IMPERATIVE |
| Mood | INTERROGTIVE |
| Mood | OTHER |
Mood.IMPERATIVE
Imperative mood in a message
Mood.OUTGOING
Interrogtive mood in a message
Mood.OTHER
Other moods (Statement...) in a message
2017 MessageOnTap