472,093 Members | 2,517 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,093 software developers and data experts.

I Need help from all the group participants

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.

--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
Aug 20 '07 #1
12 1120
On Aug 20, 9:16 am, Boris Ozegovic <ninja.krmen...@nes.comwrote:
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."
>
--
Ne dajte da nas lažljivac Bandić truje:http://cnn.blog.hr/arhiva-2007-06.html#1622776372

Aug 20 '07 #2
me********@aol.com wrote:
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.

--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
Aug 20 '07 #3
On 8/20/07, Boris Ozegovic <ni************@nes.comwrote:
me********@aol.com wrote:
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.

--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
--
http://mail.python.org/mailman/listinfo/python-list

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.
Aug 20 '07 #4

"Shawn Milochik" <Sh***@Milochik.comwrote in message
news:ma************************************@python .org...
On 8/20/07, Boris Ozegovic <ni************@nes.comwrote:
>me********@aol.com wrote:
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.

--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
--
http://mail.python.org/mailman/listinfo/python-list


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

Aug 20 '07 #5

I would be happy to help but I don't have a clear understand of what
the poster needs.
Aug 20 '07 #6
do**************@gmail.com wrote:
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.

--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
Aug 20 '07 #7
On Aug 20, 1:14 pm, Boris Ozegovic <ninja.krmen...@nes.comwrote:
dogatemycompu...@gmail.com wrote:
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.

--
Ne dajte da nas lažljivac Bandić truje:http://cnn.blog.hr/arhiva-2007-06.html#1622776372
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_Bu ffalo_buffalo"

--Jason

Aug 20 '07 #8
Jason wrote:
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. :)

--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
Aug 20 '07 #9
Jason <te***********@gmail.comwrites:
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
Aug 20 '07 #10
"Please enter John's heart rate."

"Please notify me immediately if John's heart rate drops below 60 or
exceeds 100."
Aug 21 '07 #11
"Boris Ozegovic" <ni************@nes.comwrote in message
news:fa**********@localhost.localdomain...
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

--
To reply directly, remove j's from email address.

Aug 21 '07 #12
Aaron wrote:

[...]
Good luck.
Thanks a lot for your help.

--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
Aug 21 '07 #13

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Benji York | last post: by
2 posts views Thread by Wayne Wengert | last post: by
2 posts views Thread by Matt Furze | last post: by
42 posts views Thread by slickn_sly | last post: by
6 posts views Thread by hdante | last post: by
92 posts views Thread by quickcur | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.