473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 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 1170
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Benji York | last post by:
Please join us August 10, 7:30-9:00 PM, for the third meeting of the Fredericksburg, VA Zope and Python User Group ("ZPUG"). This meeting has four features of note. - Brian Lloyd, the author...
2
by: Wayne Wengert | last post by:
This is my first attempt to re-write an old VB6 application that exported a CSV file to a .NET application that exports an XML file with the equivelent data. I have limited understanding of OO...
4
by: Nip | last post by:
I am trying to make a database for my test participants. I have 10 participants and have a table with them called participants which includes an auto number ID and then the participant number and...
2
by: Matt Furze | last post by:
Hi, all, I'm helping a friend with an auction database, and am stuck on this. Any thoughts/suggestions would be appreciated! Two tables - first is a table of Participants, with name, address,...
4
by: Gerry Abbott | last post by:
Hi all, I've bound cbo field in a form, which draws from a list, with its 'limit to list' property set to true.When i add an entry to the form, from the list, I want to remove this item from the...
42
by: slickn_sly | last post by:
<code> line = 1; while( !feof( infile ) ) { if( line = 2 ) { fgets( name, 25, infile ); } else if( line = 3 ) {
6
by: hdante | last post by:
Out of curiosity, where are the group rules ? I ask so, because people are usually dismissed, by saying that something "is not standard". Thanks, Henrique Dante de Almeida
1
by: Learner | last post by:
Hello Friends, I need help converting the below C# code snippet to vb.net. case "CreationDate": comparison = new Comparison<MembershipUserWrapper>( delegate(MembershipUserWrapper lhs,...
92
by: quickcur | last post by:
Hi, can anyone point me a library that can read image to memory from a URL? It is very easy in Java, but it is hard to find an complete solution in c/c++. Thanks,
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.