Upload
nilesh-padwal
View
460
Download
0
Tags:
Embed Size (px)
Citation preview
Voice Enabled SMTP Client
Project By : -Piyush Pipada B3368613Abhijit Patel B3368604Nilesh Padwal B3368597
Project Guide : -Mr. L.V.Patil
1Voice Enabled SMTP Client Smt. Kashibai Navale College Of
Engineering
Sr.No Title Slide No
1 Problem Statement. 3
2 Literature Survey. 4
3 Scope. 5
4 Modular Design. 6
5 Requisites Of The Project. 7
6 Project at a Glance. 8
7 Features. 9
8 Project Includes. 11
9 Advantages 12
10 Limitations 13
11 Future enhancement 14
12 References 15
Index
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 2
To build a application :- Voice Enabled Simple Mail
Transfer Protocol (SMTP) Client ,get mail alerts
without the use of GPRS and provides high flexibility
to the mail users.
Problem Statement
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 3
Literature Survey
4
• In our survey we found that such kind of a SMTP client is not available till date.
• The voice enabled service is a stand alone desktop feature and not being used with the SMTP client yet.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering
Scope
5
This project describes a Voice Enabled Simple Mail Transfer Protocol (SMTP) Client without the use of GPRS. It is very useful as it provides high flexibility to the mail users and lets them stay connected to their mails all the time through mobiles.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering
Modular Design
6Voice Enabled SMTP Client Smt. Kashibai Navale College Of
Engineering
Requisites Of The Project
• Software Requirements
• Java (J2EE), JSP, AJAX• Java Mail API• Java Communication API.• Display Tag Reports• Microsoft SAPI: Speech Recognition and Text to Speech Conversion.• VB: To develop SAPI Module.
• Hardware Requirements• 1GB RAM• 80 GB Hard Disk
7Voice Enabled SMTP Client Smt. Kashibai Navale College Of
Engineering
Project at a Glance
• Voice Enabled Simple Mail Transfer Protocol
(SMTP) Client.
• It provides ease to the mail users by controlling the
mailbox through voice.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 8
Features • Send emails from desktop module.
• Send emails from desktop using speech to text conversion.
• Receive mails on desktop.
• Receive enhanced mail alerts on mobile using SMS.
• Receive mails on desktop and read them out using text to speech conversion module.
• Manage user information like contacts, events, user preferences and settings in database.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 9
• Download mails for user for later viewing and reading.
• Existing mails or contacts can be exported.
• Facility to manage multiple inboxes (i.e. delete mail, marked read/unread, etc.)
• Secure Authentication using HTTPs
• Rich UI using YUI (Yahoo User Interface)
• AJAX components for mail search
• User can also send recorded messages from phone.
Continue…..
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 10
It will be built using three modules : -
A Java Mail API to communicate with an
SMTP mail server and send/receive emails from
SMTP server.
A VB base SAPI (Speech API) module for
implementing speech to text and text to speech.
A Sms Alerts module for notifying customers.
Project Includes
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 11
Java Mail API
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 12
Sending server
Sending client
Mail client software
Mail server software
Receiving server
Mail server software
Receiving client
Mail client software
SMTP POP
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 13
Three protocols for sending and retrieving emailmessagesProtocol Description
SMTP Simple Mail Transfer Protocol is used to send a messagefrom one mail server to another.
POP Post Office Protocol is used to retrieve messages from amail server. This protocol transfers all messages fromthe mail server to the mail client. Currently, POP is inversion 3 and is known as POP3.
IMAP Internet Message Access Protocol is used by web-basedmail services such as Hotmail and Yahoo. This protocolallows a web browser to read messages that are stored inthe directories of the mail server. Currently, IMAP is inversion 4 and is known as IMAP4.
Protocol Description
MIME The Multipurpose Internet Message Extension type, or MIME type, specifies the type of content that can be sent as a message or attachment.
Create session
Create message
Address the message
Send the message
Steps for gmail connectivity
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 14
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 15
Code that uses the JavaMail API to send an email // 1 - get the mail session Properties props = new Properties(); props.put("mail.smtp.host", "localhost"); Session session = Session.getDefaultInstance(props); // 2 - create the message MimeMessage message = new MimeMessage(session); message.setSubject("Order Confirmation"); message.setText("Thanks for your order!"); // 3 – address the message InternetAddress addressFrom = new InternetAddress("[email protected]"); message.setFrom(addressFrom); InternetAddress addressTo = new InternetAddress("[email protected]"); message.setRecipient(Message.RecipientType.TO,addressTo); // 4 - send the message Transport.send(message);
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 16
A few standard properties that can be set for aSession objectProperty name Description
mail.smtp.host Specifies the default outgoing host for SMTPprotocol.
mail.from Specifies the default return email address.
mail.user Specifies the default username to use whenconnecting to the mail server.
Sphinx
Acoustic model
Implementation
Speech API
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 17
Formed by sun microsystem, MERL, HP, university of
california and MIT.
Renowned for the speech recognition technology
First to implement speech recognition.
Sphinx is used for configuration (for configuration of
grammar, acoustic model, dictionary, linguistic
configuration etc.)
Sphinx
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 18
Contains default word dictionary.
Used for speech recognition.
Created by taking speech, text transcription, and word.
Speech recognition also requires the language model
(grammar file) as sequence of the word.
Acoustic model
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 19
Part 1: Step 1 : Create a text file “words.txt”, Step 2 : Open this link :
http://www.speech.cs.cmu.edu/tools/lmtool-new.html Step 3 : On that page, go to “Sentence corpus file:” section,
Browse to “words.txt” file and click “Compile Knowledge Base”.
Step 4 : On next page, Click on “Dictionary” link and save that .DIC file.
Implementation
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 20
Part 2 Step 1 : Extract
WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar file. Step 2 : Go to edu\cmu\sphinx\model\acoustic\
WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz\dict folder. Step 3 : Open “cmudict.0.6d” file in that folder. Step 4 : Copy data from .DIC file, you have downloaded in
PART ONE, paste it in “cmudict.0.6d” file and save. Step 5 : Zip the extracted hierarchy back as it was and Zip file
named should be same as JAR file.
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 21
Mobile connectivity through bluetooth or usb cable.
Check for the unread mail.
Set the timer for alerts(every hour).
Sms Alerts
Voice Enabled SMTP Client Smt. Kashibai Navale
College Of Engineering 22
Advantages.
• It is Voice enabled.
• Free mail alerts on mobile.
• User can also send recorded messages from phone.
• Manage multiple mailboxes.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 23
• Voice recognition is provided for limited commands.
• No Voice recognition training for user.
Limitations
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 24
• Password recognition using voice commands.
• User Based Voice recognition.
• Biometric recognition for user.
• Reading emails based on user preferences.
• Voice Training for user.
Future Enhancement
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 25
References • ieeexplore.org
• sciencedirect.com
• Is text-to-speech synthesis ready for use in computer-assisted language learni
ng?
Zoë Handley,Speech Communication, Volume 51, Issue 10, October 2009,
Pages 906-919.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 26
Thank You
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 27