Virtual Humans Forum
Virtual Humans Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Virtual Humans
Partner website:
Chatbots.org
 All Forums
 Virtual Humans
 Artificial Intelligence
 Emotional Context and Expression Engines
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 8

hologenicman
Moderator



USA
3323 Posts

Posted - Dec 27 2005 :  08:26:25  Show Profile  Visit hologenicman's Homepage  Reply with Quote
Hey there,

Wikipedia link for emoticons:

http://en.wikipedia.org/wiki/Emoticon

I am going to be coding these examples into emotional values:

Basic examples
The following examples all use a consistent form, but each of them can also be transformed by being rotated, having the hyphen omitted, and/or by replacing the eyes symbol. An equal sign is often used for the eyes in place of the colon, without changing the meaning of the emoticon. In these instances, the hyphen is almost always omitted. Lately it has become common to omit the hyphen, whether a colon or an equal sign is used for the eyes. [2]

:-) smile
:-] polite smile
:-( frown
:-[ another frown
:-/ or :-\ skepticism, annoyance, or a slight frown
:-| indecision, deadpan, or indifference; also often used with a contrasting statement to convey biting sarcasm (e.g. "That was hilarious! :-|")
;-) wink
:-D wide grin
:-P or :-p or :- tongue sticking out; used to convey a joke, light-hearted sarcasm, or inappropriateness.
B-) or 8-) wearing glasses (usually interpretted as sunglasses)
:-o or :-O or :-0 surprise
:-s or :-S confusion
:-8 or :-B buck teeth
:-x sealed lips; used to convey "I shouldn't have said that" or sometimes shocked silence
:'-( or :~-( shedding a tear
:o) clown face, can mean tongue in cheek
>:-) or }:-) eyebrows or horns; evil, being mean, a devil
0:-) halo over the head, an angel, innocence
XD laughing so hard the eyes are closed, (LOL)
XP tongue out, eyes shut
:3 cat face, or the "aw" face.
:V mouth opened comically wide (in some communities, e.g. Ragnarok Online, it is considered a duck)

As well as these for body language emotions:

Head and hands emoticons
These emoticons aren't rotated, they include the letter "o" for a human head, and slashes and backslashes for the arms.

o/ waving with or raising the left hand (person facing you)
\o waving with or raising the right hand (person facing you)
/o scratching one's head
/o\ despair, cowering
\o/ joy, note that \w/ is "rock."
<o/ _o> <o> dancing
<o_/ \_o/ fencing
>-<o jumping, diving
o7 saluting
*\o/* cheerleader
<O honor

Note: I'll probably trim this list a bit.

John L>

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Dec 27 2005 09:32:59
Go to Top of Page

hologenicman
Moderator



USA
3323 Posts

Posted - Dec 27 2005 :  11:17:55  Show Profile  Visit hologenicman's Homepage  Reply with Quote
Hey there,

If this is useful to anyone... Here is the code format that I am using to extract emotional values for the emoticons.

The neat thing is that you can preconfigure "recipies" of values for each emoticon to try to capture the emotional essence of the emoticon...

'blank out emotional values
ArousalEmotionalValue = 0
ValenceEmotionalValue = 0
StanceEmotionalValue = 0

'EmoticonExtraction
'This code extracts typed emotional Ques from the usersentence and converts them to values for input into the EmotionalDBLookup routine.
'These values are added to the tallies WITHOUT counting toward the division when evalutaing the average.
'This intentionally "skews" the values in the direction of the typed input thereby giving additional weight and influence to the typed input.

ArousalEmotionalValue = ArousalEmotionalValue - InStr(UserSentence, "<<<")
ArousalEmotionalValue = ArousalEmotionalValue + InStr(UserSentence, ">>>")
ValenceEmotionalValue = ValenceEmotionalVlaue - InStr(UserSentence, "---")
ValenceEmotionalValue = ValenceEmotionalValue + InStr(UserSentence, "+++")
StanceEmotionalValue = StanceEmotionalValue - InStr(UserSentence, "***")
StanceEmotionalValue = StanceEmotionalValue + InStr(UserSentence, "^^^")

'Emoticon Tally for Smile
EmoticonTally = 0
EmoticonTally = InStr(UserSentence, ":-)") + InStr(UserSentence, ":)")
'Emoticon Recipe
ArousalEmotionalValue = ArousalEmotionalValue + (EmoticonTally * 1)
ValenceEmotionalValue = ValenceEmotionalValue + (EmoticonTally * 2)
StanceEmotionalValue = StanceEmotionalValue + (EmoticonTally * 1)

'Emoticon Tally for BigSmile
EmoticonTally = 0
EmoticonTally = InStr(UserSentence, ":-D") + InStr(UserSentence, ":D")
'Emoticon Recipe
ArousalEmotionalValue = ArousalEmotionalValue + (EmoticonTally * 2)
ValenceEmotionalValue = ValenceEmotionalValue + (EmoticonTally * 4)
StanceEmotionalValue = StanceEmotionalValue + (EmoticonTally * 2)

'Emoticon Tally for Frown
EmoticonTally = 0
EmoticonTally = InStr(UserSentence, ":-(") + InStr(UserSentence, ":(")
'Emoticon Recipe
ArousalEmotionalValue = ArousalEmotionalValue + (EmoticonTally * (-1))
ValenceEmotionalValue = ValenceEmotionalValue + (EmoticonTally * (-2))
StanceEmotionalValue = StanceEmotionalValue + (EmoticonTally * (-1))

'Emoticon Tally for BigFrown
EmoticonTally = 0
EmoticonTally = InStr(UserSentence, ":-[") + InStr(UserSentence, ":[")
'Emoticon Recipe
ArousalEmotionalValue = ArousalEmotionalValue + (EmoticonTally * (-2))
ValenceEmotionalValue = ValenceEmotionalValue + (EmoticonTally * (-4))
StanceEmotionalValue = StanceEmotionalValue + (EmoticonTally * (-2))

John L>

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

hologenicman
Moderator



USA
3323 Posts

Posted - Dec 28 2005 :  04:12:54  Show Profile  Visit hologenicman's Homepage  Reply with Quote
Hey there,

Here is the compiled and organized list of Emoticons that I am currently scripting into my EmoticonExtraction code:

http://www.clovercountry.com/Downloads/EMOTICONS.txt

(NOTE: If your browser doesn't display the columns correctly in the above link then Right click, "Save Target AS", and then open with NotePad.)

A lot of these are compounded upon each other so that they return higher values when relaying more extreme emotions.

I actually had a lot of fun putting this together.

John L>

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Dec 28 2005 21:03:13
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Dec 28 2005 :  08:23:00  Show Profile  Reply with Quote
I bet you did have fun. Looks good John. I am getting ready to fold emoticons into my class plan for next semester. I may be quiet for a little while but I will be watching and "listening"

quote:
Originally posted by hologenicman

Hey there,

Here is the compiled and organized list of Emoticons that I am currently scripting into my EmoticonExtraction code:

http://www.clovercountry.com/Downloads/EMOTICONS.txt

A lot of these are compounded upon each other so that they return higher values when relaying more extreme emotions.

I actually had a lot of fun putting this together.

John L>


Uncle Jim (e=mc2)

Edited by - laackejim on Dec 28 2005 08:24:57
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Dec 28 2005 :  08:37:29  Show Profile  Reply with Quote
Okay, I can't help myself. I am going to be plotting the recipes on the MIT graph so I can "see" what you are creating. John, if your brain ever shuts down for a night there will be a power surplus on the grid. -- I still don't feel comfotable with emoticons. Am never sure I haven't just committed some heresy in a foreign language. so if doesn't mean what I want it to mean, sorry.


quote:
Originally posted by hologenicman

Hey there,

If this is useful to anyone... Here is the code format that I am using to extract emotional values for the emoticons.

John L>


Uncle Jim (e=mc2)
Go to Top of Page

hologenicman
Moderator



USA
3323 Posts

Posted - Dec 28 2005 :  09:52:19  Show Profile  Visit hologenicman's Homepage  Reply with Quote
Hey Jim,

I haven't Fine tuned the recipes just yet...

As for the emoticons, just print out the page and then turn the paper 90 degrees... ;-) It should simply look like a face with expression.

Except for the head and arm ones. they are upright. \o and o/ are a head with an arm waving hi! \o/ is a cheer with both hands up, and *\o/* is a cheer leader with pom poms. 8) I added /o and o\ as fear and /o\ as terror. Not all of my selections match the widely accepted meanings, but they serve as a good standardization for my needs in training the EmotionalDB in my EmotionalContextEngine.

Have fun, and I'll hear from you when you come up for air from your project. :-P

John L>

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Dec 28 2005 21:08:49
Go to Top of Page

vrossi
Forum Admin



Italy
1455 Posts

Posted - Dec 28 2005 :  21:25:33  Show Profile  Visit vrossi's Homepage  Reply with Quote
About emoticons, I remind you that in the Forum FAQ you find some examples and many other useful info:

http://www.vrconsulting.it/VHF/faq.asp#smilies

Vittorio
virtualhumansforum.com
Go to Top of Page

hologenicman
Moderator



USA
3323 Posts

Posted - Dec 29 2005 :  04:33:26  Show Profile  Visit hologenicman's Homepage  Reply with Quote
Thanks, Vittorio, I added a couple of those to the list.

John L>

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Dec 29 2005 :  05:09:34  Show Profile  Reply with Quote
Yes Vittorio, I know. I stole them for my school project, faces code and all.
Thanks.
Jim
quote:
Originally posted by vrossi

About emoticons, I remind you that in the Forum FAQ you find some examples and many other useful info:

http://www.vrconsulting.it/VHF/faq.asp#smilies



Uncle Jim (e=mc2)
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Dec 29 2005 :  05:21:52  Show Profile  Reply with Quote
My Son sent me these, Thought I would be interested. One is from NPR about a robot receptionist. Man are we ahead of that thing. the other is about a robot newly released in Japan. Now I want one that looks like Vittorio's friend. PSST don't tell sharon I said that.



http://www.npr.org/templates/story/story.php?storyId=5067678

http://news.telegraph.co.uk/news/main.jhtml?xml=/news/2005/12/26/wrobot26.xml

Uncle Jim (e=mc2)
Go to Top of Page

hologenicman
Moderator



USA
3323 Posts

Posted - Jan 06 2006 :  19:07:19  Show Profile  Visit hologenicman's Homepage  Reply with Quote
quote:
In Japan, the fantasy of the robot pal has a long history dating back to cartoons such as Astro Boy in the 1950s through to Doraemon, the ultra-popular robot cat.



That's simply hillarious...

I grew up watching episodes of Astro Boy on TV here in America!

John L>

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

hologenicman
Moderator



USA
3323 Posts

Posted - Feb 02 2006 :  05:16:59  Show Profile  Visit hologenicman's Homepage  Reply with Quote
Just to mention this for sharing...

The EmotionalDB which starts out blank and is taught over time to associate word and word snipets with corresponding emotional values can be taught and then distributed for use.

I really don't like this analogy, but the closest thing to compare it with is wordNet. You could think of "pre-trained" EmotionalDB's as EmotionNet's that can be distributed and implemented as needed.

Specific EmotionNet's could be trained for different applications. Professional, Childish, Mature, Sexy, Boring, etc. EmotionNet's can be trained and then coppied for mass distribution. Think of it as an emotional personallity transplant. You could even select the appropriate EmotionNet similar to how we select different brain scripts for Hal6.

This all pivots on the fact that the EmotionalDB saves any values entered and eventually becomes full enough to operate without outside emotional ques. This is similar to how we tend to use more emoticons when first text chatting and later(once we get to know each other's emotional personallities) we tend to not need quite as many emoticons and still get the emotion across by means of familiarity...

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Feb 02 2006 05:23:03
Go to Top of Page

GrantNZ
Dedicated Member



New Zealand
2677 Posts

Posted - Feb 02 2006 :  07:02:41  Show Profile  Reply with Quote
Would it be worth a bot having several Emotional DBs available to it, and switching based on mood? A Grant-friendly bot would have "chess" linked with happiness and joy in "normal" mode, but linked to boredom and disgust in "sexy" mode....
Go to Top of Page

hologenicman
Moderator



USA
3323 Posts

Posted - Feb 02 2006 :  07:54:23  Show Profile  Visit hologenicman's Homepage  Reply with Quote
I don't personally like switching between EmotionalDB's to fit the mood since Emotions and hormones should handle the difference in responses, but you do make a very good point that our emotional values assigned changed according to the context of the situation.

I'll have to keep this in mind...

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Feb 02 2006 :  08:19:39  Show Profile
quote:
Originally posted by GrantNZ

Would it be worth a bot having several Emotional DBs available to it, and switching based on mood? A Grant-friendly bot would have "chess" linked with happiness and joy in "normal" mode, but linked to boredom and disgust in "sexy" mode....



My own approach is to have separate sets. I am not sure whether to call them emotional DB's or not though. I think of them as personality maps, one for each character created. The map adjusts the emotional values assigned to the input words based on the personalities defined comfort level, experience, etc. That way I have only one emtional database, with one set of emotional values, but it operates as as many as I need, one for each personality. This demonstrates my limitations relative to the emotion engine John is creating but it grew out of some conversations we had what seems like a long time ago and I haven't finished it -- or given up.
Jim

Uncle Jim (e=mc2)
Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Virtual Humans Forum © V.R.Consulting Go To Top Of Page
This page was generated in 0.19 seconds. Snitz Forums 2000