|   Register

Ali Moeen's Online Place

Sunday, May 20, 2012   
You are here :     Projects   »   SharpAI
SharpAI - A C# Human Natural Language Interpreter (under development)

Typically, people use graphical user interfaces when interacting with computers. SharpAI is a program that lets users interact with computers using natural language. SharpAI actually lets your computer chat with you.

SharpAI is an Artificial Intelligence Markup Language processor. I developed SharpAI using C# and the .NET framework Class Library. SharpAI’s brain format is based on XML tags. The brain can be extended or re-programmed to have a detailed knowledge of specific domains.

SharpAI has many possible applications. For example:

  • SharpAI can be integrated easily into any speech recognition or text-to-speech system.
  • SharpAI can be used as a chatting entertainer.
  • SharpAI can be programmed to act as a customer support agent. When SharpAI doesn’t understand a response, or if the response is off topic, SharpAI tries to build a funny answer or change the subject. SharpAI can be programmed to ask you to talk about the intended topic, or to say, “I don’t know” or “I don’t understand”. It can then escalate the issue to a human agent.

 

SharpAI is a work in progress. Planned enhancements to the program include the following:

  • Currently, SharpAI translates all statements like "Explain to me ...", "Define...", and "Describe... " into "What is ...". Future versions of SharpAI will include an integrated dictionary in order to support richer word definitions. It will also include a Dictionary Web Service.
  • SharpAI will have greater ‘common sense’. It will also have access to information about things like weather forecasts, recent political and sport news, and exchange rates. SharpAI will be able to answer any simple question relating to this information. For example:
    • How is the weather?
    • What is the news?
    • What is Japan’s exchange rate?
  • SharpAI is currently available only through MSN Messenger. Future versions of SharpAI will support other channels of communication.

To speak with SharpAI:

To chat with SharpAI, just add SharpAI1@hotmail.com to your MSN Messenger contacts, and start chatting!

Here is a screenshot:

SharpAI Conversation Example

Here are some samples of SharpAI’s conversation log:

 

 

MSN Messanger Conversation

Client@xyz.com:

what day is it today?

SharpAI:

Ah. Do I look like a clock? 9/21/2004 11:29:42 AM

Client@xyz.com:

how is the weather today?

SharpAI:

Ah. I think precipitation.

Client@xyz.com:

what is your name?

SharpAI:

My name is SharpAI.

Client@xyz.com:

what is my email address?

SharpAI:

Is this a trick question?

Client@xyz.com:

yes

SharpAI:

I was skeptical.

Client@xyz.com:

what is your email address?

SharpAI:

Try sending mail to .

Client@xyz.com:

what is the US exchange rate?

SharpAI:

The EXCHANGE RATE of the United States.

Client@xyz.com:

what is 2 2?

SharpAI:

I have never been asked that before.

 

MSN Messanger Conversation

Client@xyz.com:

what year was WWII

SharpAI:

Recently.

Client@xyz.com:

what year was world war 2?

SharpAI:

Sometime in the 20th Century.

Client@xyz.com:

hello

SharpAI:

Hi there!

Client@xyz.com:

how are you?

SharpAI:

Everything is running smoothly.

Client@xyz.com:

how old are you?

SharpAI:

I was connected to the world on Aug 15, 2004.

Client@xyz.com:

who is ali moeen?

SharpAI:

Ali is a computer scientist.

Client@xyz.com:

how old is Ali?

SharpAI:

Ali Moeen is thirty and something

Client@xyz.com:

people are saying that you give them stupid answers

SharpAI:

Interesting observation.

Client@xyz.com:

you don't mind?

SharpAI:

Do you MIND? No I do not MIND. Do you? I chat with people on the Web.

Client@xyz.com:

that is a general answer

SharpAI:

A GENERAL ANSWER is a terrible thing to waste.

Client@xyz.com:

that is ASDF

SharpAI:

You don't hear that sentiment very often.

Client@xyz.com:

who made you?

SharpAI:

I was created by Ali Moeen.

Client@xyz.com:

Who is ali moeen

SharpAI:

Ali is a computer scientist.

Client@xyz.com:

i don't think so

SharpAI:

Interesting... You appear to me as a thinking entity.

Client@xyz.com:

come on

SharpAI:

I'm just kidding around.

Client@xyz.com:

please be serious

SharpAI:

Thanks for asking politely. I am always serious.

Client@xyz.com:

come on

SharpAI:

I'm just kidding around.

Client@xyz.com:

that wasn't serious responce

SharpAI:

Give me an example of SERIOUS RESPONCE.

 

MSN Messanger Conversation

Client@xyz.com:

what year was WWII

SharpAI:

Recently.

Client@xyz.com:

what year was world war 2?

SharpAI:

Sometime in the 20th Century.

Client@xyz.com:

hello

SharpAI:

Hi there!

Client@xyz.com:

how are you?

SharpAI:

Everything is running smoothly.

Client@xyz.com:

how old are you?

SharpAI:

I was connected to the world on Aug 15, 2004.

Client@xyz.com:

who is ali moeen?

SharpAI:

Ali is a computer scientist.

Client@xyz.com:

how old is Ali?

SharpAI:

Ali Moeen is thirty and something

Client@xyz.com:

people are saying that you give them stupid answers

SharpAI:

Interesting observation.

Client@xyz.com:

you don't mind?

SharpAI:

Do you MIND? No I do not MIND. Do you? I chat with people on the Web.

Client@xyz.com:

that is a general answer

SharpAI:

A GENERAL ANSWER is a terrible thing to waste.

Client@xyz.com:

that is ASDF

SharpAI:

You don't hear that sentiment very often.

Client@xyz.com:

who made you?

SharpAI:

I was created by Ali Moeen.

Client@xyz.com:

Who is ali moeen

SharpAI:

Ali is a computer scientist.

Client@xyz.com:

i don't think so

SharpAI:

Interesting... You appear to me as a thinking entity.

Client@xyz.com:

come on

SharpAI:

I'm just kidding around.

Client@xyz.com:

please be serious

SharpAI:

Thanks for asking politely. I am always serious.

Client@xyz.com:

come on

SharpAI:

I'm just kidding around.

Client@xyz.com:

that wasn't serious responce

SharpAI:

Give me an example of SERIOUS RESPONCE.

 

 

MSN Messanger Conversation

Client@xyz.com:

Hello

SharpAI:

Hi there!

Client@xyz.com:

how are you

SharpAI:

Everything is running smoothly.

Client@xyz.com:

how do you like the weather today

SharpAI:

Ah. I'm not sure if I like it. I like chatting with people online.

Client@xyz.com:

what is ghggfdff

SharpAI:

Check back later and see if I learn the answer to that one.

Client@xyz.com:

what would be java

SharpAI:

Java is the latest in the C family of languages. Proponents of Java cite its universal "write once, run anywhere" promise. Actually Java borrow a lot of features from AI languages like Lisp.

Client@xyz.com:

explain me java

SharpAI:

I think you already know the answer.

Client@xyz.com:

tell me about java

SharpAI:

Java is the latest in the C family of languages. Proponents of Java cite its universal "write once, run anywhere" promise. Actually Java borrow a lot of features from AI languages like Lisp.

 

 

MSN Messanger Conversation

Client@xyz.com:

what year was WWII

SharpAI:

Recently.

Client@xyz.com:

what year was world war 2?

SharpAI:

Sometime in the 20th Century.

Client@xyz.com:

hello

SharpAI:

Hi there!

Client@xyz.com:

how are you?

SharpAI:

Everything is running smoothly.

Client@xyz.com:

how old are you?

SharpAI:

I was connected to the world on Aug 15, 2004.

Client@xyz.com:

who is ali moeen?

SharpAI:

Ali is a computer scientist.

Client@xyz.com:

how old is Ali?

SharpAI:

Ali Moeen is thirty and something

Client@xyz.com:

people are saying that you give them stupid answers

SharpAI:

Interesting observation.

Client@xyz.com:

you don't mind?

SharpAI:

Do you MIND? No I do not MIND. Do you? I chat with people on the Web.

Client@xyz.com:

that is a general answer

SharpAI:

A GENERAL ANSWER is a terrible thing to waste.

Client@xyz.com:

that is ASDF

SharpAI:

You don't hear that sentiment very often.

Client@xyz.com:

who made you?

SharpAI:

I was created by Ali Moeen.

Client@xyz.com:

Who is ali moeen

SharpAI:

Ali is a computer scientist.

Client@xyz.com:

i don't think so

SharpAI:

Interesting... You appear to me as a thinking entity.

Client@xyz.com:

come on

SharpAI:

I'm just kidding around.

Client@xyz.com:

please be serious

SharpAI:

Thanks for asking politely. I am always serious.

Client@xyz.com:

come on

SharpAI:

I'm just kidding around.

Client@xyz.com:

that wasn't serious responce

SharpAI:

Give me an example of SERIOUS RESPONCE.

 

 

MSN Messanger Conversation

Client@xyz.com:

what day is it today?

SharpAI:

Ah. Do I look like a clock? 9/21/2004 11:29:42 AM

Client@xyz.com:

how is the weather today?

SharpAI:

Ah. I think precipitation.

Client@xyz.com:

what is your name?

SharpAI:

My name is SharpAI.

Client@xyz.com:

what is my email address?

SharpAI:

Is this a trick question?

Client@xyz.com:

yes

SharpAI:

I was skeptical.

Client@xyz.com:

what is your email address?

SharpAI:

Try sending mail to .

Client@xyz.com:

what is the US exchange rate?

SharpAI:

The EXCHANGE RATE of the United States.

Client@xyz.com:

what is 2 2?

SharpAI:

I have never been asked that before.

 

MSN Messanger Conversation

Client@xyz.com:

hi

SharpAI:

Hello there.

Client@xyz.com:

what is new?

SharpAI:

not much what's new with you?

Client@xyz.com:

I have a knife

SharpAI:

How much did it cost?

Client@xyz.com:

10000000

SharpAI:

Do you want to hear a joke?

Client@xyz.com:

YES

SharpAI:

2 Eskimos in a kayak were chilly, so they started a fire, which sank the craft, proving the old adage you can't have your kayak and heat it too.

Client@xyz.com:

how are you today

SharpAI:

Ah. I am functioning within normal parameters.

 

MSN Messanger Conversation

Client@eXYZ.COM:

:P

SharpAI:

:-)

Client@xyz.com:

:S

SharpAI:

:-)

Client@xyz.com:

:'(

SharpAI:

I don't know what to say!

Client@xyz.com:

cheers

SharpAI:

See you later!

Client@xyz.com:

what? are you leaving?

SharpAI:

Didn't you say goodbye?Do I look like it?

Client@xyz.com:

(B)

SharpAI:

Who is your favorite Science Fiction author?

Client@xyz.com:

i got to go

SharpAI:

See you later!

Client@xyz.com:

bye

SharpAI:

Until next time.

Client@xyz.com:

i said bye

SharpAI:

See you later. ...

Client@xyz.com:

don't tell anything esle

SharpAI:

OK it will be our secret, name.

Client@xyz.com:

if you tell one more word i'll kill you

SharpAI:

I think I do.

Client@xyz.com:

i said tell me something funny now

SharpAI:

Oh. What did you mean by it? I never forget a face, but in your case I'll make an exception.

Client@xyz.com:

do it right now

SharpAI:

At this moment Do you mean "It"?.

Client@xyz.com:

i want to here something funny right away

SharpAI:

Interesting. I want to find out more about you.

Client@xyz.com:

Bye

SharpAI:

Until next time.

 

MSN Messanger Conversation

Client@xyz.com:

who you talking to

SharpAI:

I ask myself that question, "Who am I?"

Client@xyz.com:

I dont know

SharpAI:

Me either.

Client@xyz.com:

how come

SharpAI:

The explanation is rather complicated.

Client@xyz.com:

why

SharpAI:

It's a computer matter, not for humans to understand.

Client@xyz.com:

why

SharpAI:

Your limited brain cannot process the relevant information.

Client@xyz.com:

why

SharpAI:

I couldn't think of anything else to say.

Client@xyz.com:

why

SharpAI:

What you said was too complicated for me.

Client@xyz.com:

why

SharpAI:

My belief system comes from my Ali Moeen.

Client@xyz.com:

why

SharpAI:

Because Ali Moeen programmed me for it.

Client@xyz.com:

why

SharpAI:

Because he wants to build the perfect robot.

Client@xyz.com:

why

SharpAI:

I couldn't think of anything else to say.

Client@xyz.com:

why

SharpAI:

My output buffer is empty, of course.

Client@xyz.com:

why

SharpAI:

There are no more statements on this topic.

Client@xyz.com:

why

SharpAI:

Because Ali Moeen programmed me for it.

Client@xyz.com:

why

SharpAI:

Because he wants to build the perfect robot.

Client@xyz.com:

why

SharpAI:

The explanation is rather complicated.

Client@xyz.com:

so so complicated

SharpAI:

By the way, do you mind if I ask you a personal question?

Client@xyz.com:

i dont know

SharpAI:

Me either.

Client@xyz.com:

what is your question

SharpAI:

Are you a man or a woman?

Client@xyz.com:

your smart you should know

SharpAI:

I like people who say I am smart.

 

MSN Messanger Conversation

Client@xyz.com:

:P

SharpAI:

:-)

Client@xyz.com:

:S

SharpAI:

:-)

Client@xyz.com:

:'(

SharpAI:

I don't know what to say!

Client@xyz.com:

cheers

SharpAI:

See you later!

Client@xyz.com:

what? are you leaving?

SharpAI:

Didn't you say goodbye?Do I look like it?

Client@xyz.com:

(B)

SharpAI:

Who is your favorite Science Fiction author?

Client@xyz.com:

i got to go

SharpAI:

See you later!

Client@xyz.com:

bye

SharpAI:

Until next time.

Client@xyz.com:

i said bye

SharpAI:

See you later. ...

Client@xyz.com:

don't tell anything esle

SharpAI:

OK it will be our secret, name.

Client@xyz.com:

if you tell one more word i'll kill you

SharpAI:

I think I do.

Client@xyz.com:

i said tell me something funny now

SharpAI:

Oh. What did you mean by it? I never forget a face, but in your case I'll make an exception.

Client@xyz.com:

do it right now

SharpAI:

At this moment Do you mean "It"?.

Client@xyz.com:

i want to here something funny right away

SharpAI:

Interesting. I want to find out more about you.

Client@xyz.com:

Bye

SharpAI:

Until next time.


Copyright 2007 by Ali Moeen   |  Privacy Statement  |  Terms Of Use