Thursday, November 16, 2017

आपके कंप्यूटर से बात करना


हिंदी में एक विद्यार्थी से बात करें और उससे कुछ प्रश्न पूछे:
(अपेक्षित उत्तर भी यहां दिए गए हैं)
• महात्मा गांधी के बारे में मुझे बताएं:
महात्मा मोहनदास करमचंद गांधी ब्रिटिश शासन के खिलाफ भारतीय स्वतंत्रता आंदोलन के नेता थे।
• उनके पिता का नाम क्या था?
उनके पिता करमचंद गांधी थे।
• वे कहाँ पैदा हुए थे?
• पोरबंदर में
• किस साल में?
• उनका जन्म 2 अक्टूबर 1869 को हुआ था
• उनकी मुख्य शिक्षा क्या थी?
यहां विश्व में शांति लाने के लिए महात्मा गांधी की 5 शिक्षाएं में एक लेख है।
(लेख से पता चलता है)।
यदि विद्यार्थी उचित उत्तर देता है, तो आप तय कर सकते हैं कि वह एक अच्छा विद्यार्थी  है! दरअसल, मैंने गूगल  सहायक से अपने सेल फोन पर ये सवाल पूछा था। ऊपर दिखाए गए उत्तर मेरे एंड्रॉइड फोन पर उस सिस्टम द्वारा दिए गए थे। अफसोस, गूगल  सहायक अभी तक हिंदी नहीं बोलता, और इसलिए मुझे अंग्रेजी का इस्तेमाल करना पड़ा। मैंने प्रश्नन कहे; कुछ भी टाइप नहीं किया। मुझे सुखद आश्चर्य हुआ जब मुझे अच्छे उत्तर मिले। यदि आपके सेल फ़ोन में एक आवाज़ सहायक है, तो आपको समान प्रश्न पूछने की कोशिश करनी चाहिए।
सिस्टम ने फॉलो-ऑन सवालों के अच्छी तरह से उत्तर दिए। मैंने महात्मा गांधी के बारे में एक सवाल पूछा था। फिर मैंने पूछा था, "उनके पिता का नाम क्या था?" सिस्टम को पता चला कि मैं उसी व्यक्ति के बारे में बात कर रहा था। यह मानव के लिए बहुत मुश्किल नहीं है, लेकिन यह प्रभावशाली है जब कोई सिस्टम इस क्षमता को दिखाता है।
खोज इंजन आमतौर पर प्रासंगिक लेखों की एक सूची दिखा कर क्वेरी का जवाब देते हैं। एक या अधिक सरल वाक्यों के रूप में एक संक्षिप्त उत्तर देना अधिक कठिन है। जवाब देने के लिए गूगल  सहायक स्वतः प्रासंगिक लेखोंको का विश्लेषण करता है। फिर यह आपको कुछ वाक्यों में एक उत्तर देता है। उत्तर कहे जाते है और लिखित रूप में भी। तो, मैं वास्तव में गूगल  सहायक को "बोल रहा था", और यह मुझसे "बात कर रहा था"!
मैने  टीवी पर  देखा था कि ब्रिटिश लोग लाल सेब बैज पहन रहे थे। मैंने गूगल  सहायक से उस बारे में एक सवाल पूछा
ब्रिटिश लोग लाल सेब बैज क्यों पहनते हैं?
सिस्टम ने मुझे बताया कि ये पॉपी फूलों बैज एक कविता से प्रेरित थे। इसमें लाल पॉपी फूलों का उल्लेख किया गया जो सैनिक की कब्र के चारों ओर तेजी से उगते थे। पाठ सेल-फोन स्क्रीन पर भी दिखाई दिया और मुझे लेख का यूआरएल (URL) दिया।
          स्मरण पॉपी
यह लेख प्रथम विश्व युद्ध में कई जाने गंवाने के दुख के बारे में था, जो 11 नवंबर 1918 को युद्धविराम दिवस पर समाप्त हुआ था। फूलों के बैज उन लोगों की याद में पहना जाता है जिन्होंने अपनी जान कुर्बान की थी|
सिस्टम का प्रदर्शन अद्भुत था! मैं पॉपी फूलों को पहचान नहीं पाया। भारत में यह आम फूल नहीं है। मैंने इसे एक लाल सेब कहा था, फिर भी खोज सेवा ने मुझे मेरे प्रश्न का सही जवाब दिया!
सहि परख कर्ने के लिये मैंने एक ऐप्पल आईफोन पर आवाज़ सहायक सिरी के साथ ऊपर दिए गए सभी सवालों को दोहराया। मैने देखा कि सिरी समान रूप से अच्छा था।
मुझे आवाज़ सहायकों के बारे में अधिक लिखना है I मैं इस ब्लॉग पर अपने अगले लेख के लिए यह सब रखूंगाI मैं आपको यह भी बताऊंगा कि भविष्य में स्मार्ट-फ़ोन के साथ भाषण संचार बहुत महत्वपूर्ण क्यों होगा।

श्रीनिवासन रमणि         हिंदी संपादन: एम वी रोहरा


TALKING TO YOUR COMPUTER

Talk to a student in Hindi and ask a set of questions:
(Expected answers are also given here)
• Tell me about Mahatma Gandhi:
Mahatma Mohandas Karamchand Gandhi was the leader of the Indian Independence movement against British rule.
• What was his father’s name?
His father was Karamchand Gandhi.
• Where was he born?
• In Porbandar
• In which year?
• He was born on 2 October 1869
• What was his main teaching?
Here is an article on Mahatma Gandhi’s 5 Teachings to Bring About World Peace.
(shows the article).
If the student gives appropriate answers, you may decide that he/she is a good student! Actually, I had asked Google Assistant on my cell phone these questions. The answers shown above were given by that system on my Android phone. Alas, Google Assistant does not speak Hindi as yet, and so I had to use English. I spoke out the questions; did not type anything. I was pleasantly surprised when I got good answers. If your cell phone has a voice assistant, you must try asking similar questions.
The system answered follow-on questions well. I had asked one question about Mahatma Gandhi. Then I had asked "what was his father’s name?". The system recognized that I was talking about the same person. This is not very difficult for a human, but it is impressive when a system shows this ability.
Search engines usually respond to a query by showing a list of relevant articles. That is called document retrieval. To give a short answer in the form of one or more simple sentences is more difficult. Google Assistant automatically analyzes relevant documents to locate answers. Then it gives you a reply in a few sentences. The answers are in spoken as well as in written form. So, I was really “speaking” to the Google Assistant, and it was “talking” to me!
I had seen on TV that British people were wearing red apple badges. I asked Google Assistant a question about that.
Why do British people wear red apple badges?
The system told me that these poppy flower badges were inspired by a poem. It mentioned red poppy flowers that grew quickly around soldiers’ graves. The text also appeared on the cellphone screen and gave me the URL of an article.
         Remembrance Poppy

This article was about the tragic loss of lives in the first World War which came to an end on Armistice Day, Nov 11, 1918. The flower badges are worn in memory of those who had sacrificed their lives.
The system's performance was amazing! I did not recognize the poppy flower. It is not a common flower in India. I had called it a red apple, yet the search service gave me the right answer to my question!
To be fair, I repeated all my questions mentioned above with the voice assistant Siri, on an Apple iPhone. I found Siri was equally good.
I have more to write about voice assistants. I will keep all that for my next article on this blog. I will also tell you why speech communication with smartphones is going to be very important in future.

Srinivasan Ramani