I Need help from all the group participants

B

Boris Ozegovic

Hi,

I am working on some system, and the communication will take place through
the chatterbot which will be written in AIML (interpreter is written in
Python). English is not my mother tongue, so I need huge favor: if all of
you can write two sentences, so that I could have greater pattern base.
The first sentence is finding someone's heart rate, example: "Please, can
you tell me John's heart rate", and the other one is setting the alarm when
someone's heart rate is lower then x, and greater than y, example: "Can
you, please, send me information when John's heart rate is lower than 60,
and greater than 100". You can manipulate time (right now, now, right this
moment), and everything else you can think about.
 
S

Shawn Milochik

"Please enter John's heart rate."

"Please notify me immediately if John's heart rate drops below 60 or
exceeds 100."
 
M

mensanator

Hi,

I am working on some system, and the communication will take place through
the chatterbot which will be written in AIML (interpreter is written in
Python). English is not my mother tongue, so I need huge favor: if all of
you can write two sentences, so that I could have greater pattern base.
The first sentence is finding someone's heart rate, example: "Please, can
you tell me John's heart rate", and the other one is setting the alarm when
someone's heart rate is lower then x, and greater than y, example: "Can
you, please, send me information when John's heart rate is lower than 60,
and greater than 100". You can manipulate time (right now, now, right this
moment), and everything else you can think about.

The only sentence that comes to mind is:

"I hope I never find myself in a hospital that uses your system."
 
B

Boris Ozegovic

The only sentence that comes to mind is:

"I hope I never find myself in a hospital that uses your system."

You are not funny. The system isn't for hospitals, it is for university
purposes.
 
S

Shawn Milochik

You are not funny. The system isn't for hospitals, it is for university
purposes.


I disagree. He is funny. Sorry you can't appreciate the humor -- it
must be the language barrier.

Lighten up and enjoy this life -- it's the only one we have.
 
?

=?iso-8859-2?B?qXXmTXXmUGFQcm9saWo=?=

Shawn Milochik said:
I disagree. He is funny. Sorry you can't appreciate the humor -- it
must be the language barrier.

hahahahahahahahahahahahaha
 
D

dogatemycomputer

I would be happy to help but I don't have a clear understand of what
the poster needs.
 
B

Boris Ozegovic

I would be happy to help but I don't have a clear understand of what
the poster needs.

Suppose you want to find out what is someone's pulse/heart rate, you can
ask question in many ways, syntaxically, but with same semantic. One way
to find out someone's pulse is to ask: "What is John's pulse", other is
"Please, tell me, what is Jonh's pulse", or "Send me John's pulse
immediatelly!", etc. So, if you can write some other question to find out
someone's pulse, please do, but, it would be great if your question would
have different pattern, e.g. "Please, tell me John's pulse immediatelly"
and "Tell me John's pulse right now" have the same pattern, because they
are syntaxically very alike.
 
J

Jason

Suppose you want to find out what is someone's pulse/heart rate, you can
ask question in many ways, syntaxically, but with same semantic. One way
to find out someone's pulse is to ask: "What is John's pulse", other is
"Please, tell me, what is Jonh's pulse", or "Send me John's pulse
immediatelly!", etc. So, if you can write some other question to find out
someone's pulse, please do, but, it would be great if your question would
have different pattern, e.g. "Please, tell me John's pulse immediatelly"
and "Tell me John's pulse right now" have the same pattern, because they
are syntaxically very alike.

I wonder what John's pulse is? Display John's pulse. I need to know
John's pulse. How many beats per minute is John's heart going?
What's John's pulse rate? How fast is John's heart rate? How fast is
John's blood pumping? What is the rate of John's heart? What is the
rate of John's pulse? How fast is John's heart beating? What is the
frequency of John's heart pulses? What is the frequency of John's
cardiac cycle? How fast is John's cardiac cycle? What is the rate of
John's pulse? I want the result of John's auscultation. Give me
John's heart beats, or give John death!

Okay, probably not the last one.

If you're trying to do some natural language processing, you should
take a look at the Natural Language Tool Kit (NLTK) [1]. The NLTK is
written in Python, and also has a book to help you out (available free
online or as a physical book for price).

In any case, English is a terribly difficult language to parse, and
can have many ambiguities that can only be resolved through knowledge
of the subjects and verbs involved. Good luck on your project. Just
remember: Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo
buffalo [2].

[1] The NLTK website is at "http://nltk.sourceforge.net/index.php/
Main_Page"
[2] That's actually valid English. See "http://en.wikipedia.org/wiki/
Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo"

--Jason
 
B

Boris Ozegovic

Jason said:
I wonder what John's pulse is? Display John's pulse. I need to know
John's pulse. How many beats per minute is John's heart going?
What's John's pulse rate? How fast is John's heart rate? How fast is
John's blood pumping? What is the rate of John's heart? What is the
rate of John's pulse? How fast is John's heart beating? What is the
frequency of John's heart pulses? What is the frequency of John's
cardiac cycle? How fast is John's cardiac cycle? What is the rate of
John's pulse? I want the result of John's auscultation. Give me
John's heart beats, or give John death!

Wow! Thank you very much!
If you're trying to do some natural language processing, you should

I'm doing project in AIML, www.alicebot.org/ , which will do all behind
work for me, and I only need to combine patterns, for example (if you are
interested :) http://www.pandorabots.com/botmaster/en/tutorial?ch=6 , you
can see how AIML works. Unfortunetly, the problem with NLP, and AIML, is
that you need programmer and someone with linguistic skills. :)
 
P

Paul Rubin

Jason said:
I want the result of John's auscultation. Give me
John's heart beats, or give John death!

Okay, probably not the last one.

<Dr. Hackenbush takes John's pulse>

"Hmm, either he's dead, or my watch has stopped."
--Groucho Marx
 
A

Aaron

Boris Ozegovic said:
Hi,

I am working on some system, and the communication will take place through
the chatterbot which will be written in AIML (interpreter is written in
Python). English is not my mother tongue, so I need huge favor: if all
of
you can write two sentences, so that I could have greater pattern base.
The first sentence is finding someone's heart rate, example: "Please, can
you tell me John's heart rate", and the other one is setting the alarm
when
someone's heart rate is lower then x, and greater than y, example: "Can
you, please, send me information when John's heart rate is lower than 60,
and greater than 100". You can manipulate time (right now, now, right
this
moment), and everything else you can think about.


Give me John's heart rate.
John's heart rate?
John's pulse?
John's pulse is?
(The last three are not exactly complete sentences. Rather they are
fragments, but who cares when you're talking to a computer, right?)

Tell me when John's heart rate drops below x or goes above y.
Tell could be replaced with notify me, alert me, call me, or any other verbs
that describe how the computer might contact the person.
Drops below could be replaced with "goes below", "is less than" "slows to"
"slows down to" "drops to" "decreases to" "goes down to" ETC.
"goes above" could be "exceeds" "passes" "goes past" "increases to" "speeds
up to" "goes up to" "reaches" "exceeds" "surpasses" "is faster than" "goes
faster than" "is above" ETC.

Good luck. I'm glad this isn't my project.

Aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top