410 likes | 612 Views
English Voice and Text to Sinhala Text Translator Application for Android Devices. Software Requirements Specification. Sri Lanka Institute of Information Technology. PWD2012-18. Group Members. IT 10 6026 38 - Eashwarage D.B.S. . IT 10 6018 84 - Dasanayaka D.M.M.L. .
E N D
English Voice and Text to Sinhala Text Translator Application for Android Devices Software Requirements Specification Sri Lanka Institute of Information Technology PWD2012-18
Group Members IT 10 6026 38 - Eashwarage D.B.S. IT 10 6018 84 - Dasanayaka D.M.M.L. IT 10 6033 14 - Perera U.L.P.H. IT 10 6063 84 - Jayathilaka K.K.G.I. IT 10 6071 38 – Wickramanayake W.A.V.M IT 10 6066 98 - Fernando M.L.A.S
Contents • Introduction • System Diagram • Overall Description • Product Functions • User Characteristics • Constraints • Assumption and Dependencies • External Interfaces • Classes / Objects • Performance Requirements • Summary IT 10 6066 98 - Fernando M.L.A.S
Introduction • The purpose of this presentation is to describe the functional and non- functional requirements of the English Voice and Text to Sinhala Text Translator Application for Android Devices. • This presentation explains system interfaces, user interfaces, hardware interfaces, software interfaces, communication interfaces, memory constraints of the project. IT 10 6066 98 - Fernando M.L.A.S
Introduction (Contd.) • Furthermore this presentation describes the functions of this product. This section of the presentation gives a brief idea about the main functionalities of the android application. • User characteristics section clearly point out the kind of users that will use this product. • The constraints explains the limitation the developers face while developing the product. IT 10 6066 98 - Fernando M.L.A.S
Scope • Today’s world mobile devices have a very important place. Because it portable and easy to use. Among them Android devices are the most popular. • Already there is an English voice detection mechanism in android. It enables users to speak in English and then the application detects the voice and displays it in English texts. • The software product we are going to develop will get that English text and translate it into Sinhala sentence. IT 10 6066 98 - Fernando M.L.A.S
Scope (Contd.) • English sentence can be converted to Sinhala sentence with this Android application and this application will take the advantage of “Google voice APIs” and the output of the APIs may be the input of our system, or the sentence can be manually inserted. • This android application provides a basic grammatically correct English sentences or an English voice sentence and the sentence will be translator to Sinhala text. Application can be used to send Sinhala sentences using SMS/MMS. IT 10 6066 98 - Fernando M.L.A.S
Overview IT 10 6063 84 - Jayathilaka K.K.G.I. IT 10 6071 38 – Wickramanayake W.A.V.M
System Diagram Android User Respond to Translation Translation Request Send Voice to Text Request Request Keypad Internet <<Input And Output System>> Device Data input and display <<External Input Option>> Phone Keypad Input Send Text Send Text Request Text Translation Send Translated text Send Voice to Text Request Respond to request Request Text <<System>> English voice and text to Sinhala text translator Send Text <<External Input Option>> Google Voice API <<External Input Option>> MMS SMS Text Send Request Matches Respond to Request Internet Request Matches Send Respond to Request Dictionary Database IT 10 6071 38 – Wickramanayake W.A.V.M
Product Perspective IT 10 6071 38 – Wickramanayake W.A.V.M
System interfaces • Application will need the below requirements to execute correctly with the device • Android platform 2.3.3 • Android APIs IT 10 6071 38 – Wickramanayake W.A.V.M
User interfaces IT 10 6071 38 – Wickramanayake W.A.V.M
Hardware interfaces IT 10 6071 38 – Wickramanayake W.A.V.M
Communication interfaces • The User must need to connect to the Internet for the full functionality of the application • 3G HSPA Connection is required. • System will use the basic protocols HTTP, WAP. Memory constraints Application is expected to use 32MB of RAM and 20MB of external memory for database management. IT 10 6071 38 – Wickramanayake W.A.V.M
Operations User will need to send the English sentence to the application. The output sentence will be displayed and user will need to copy the translated text sentence as user desire, to send SMS/MMS or to save as a note. Site adaptation requirements • Can be downloaded through Android Market or Any source of media • The installation file can be directly run from the phone • If the application is downloaded through internet it will be automatically installed after download IT 10 6071 38 – Wickramanayake W.A.V.M
Product Functions Use Case Diagram English to Sinhala Translator IT 10 6018 84 - Dasanayaka D.M.M.L.
Product Functions Use Case : Get Translated Text IT 10 6018 84 - Dasanayaka D.M.M.L.
Product Functions Use Case : Speak IT 10 6018 84 - Dasanayaka D.M.M.L.
Product Functions Use Case : Type English Text IT 10 6018 84 - Dasanayaka D.M.M.L.
Product Functions Use Case : Send SMS/MMS IT 10 6018 84 - Dasanayaka D.M.M.L.
Product Functions Use Case : Paste Selected Sinhala Text IT 10 6018 84 - Dasanayaka D.M.M.L.
User Characteristics • Application can be used by any Sinhala known person and any novice person. • If User knows English he can speak or type English text to convert. • If user doesn't know English he can use this application to convert any sentence . • e.g. :- received SMS IT 10 6018 84 - Dasanayaka D.M.M.L.
Constraints • People who are using our application he/she should perfectly pronouns and write English. • Application should identify Full shop is the end of the sentence. • A given English sentence can be eight words or less. • If there is a comma in the sentence, application will split the sentence to several parts IT 10 6063 84 - Jayathilaka K.K.G.I.
Assumption and Dependencies IT 10 6063 84 - Jayathilaka K.K.G.I.
Other Requirements • Safety Requirements • database or server may crash due to power failure or virus attacks of server • system will have a backup database for important data only • The backup database may contain English to Sinhala Dictionary Database. • Software Quality Attributes • This system will be very user friendly • user will be able to find the necessary information very easier • To improve System in future there is an option to get feedbacks from users IT 10 6063 84 - Jayathilaka K.K.G.I.
Software System Attributes IT 10 6063 84 - Jayathilaka K.K.G.I.
External Interfaces User Interfaces Voice recognition page • Purpose – Opens Google voice recognition facility • Inputs – English voice • Outputs – English text • Relationships to other inputs/outputs – Single output • Screen formats/organization – Supports low density, medium density, high density • Window formats/organization – Supports small, medium, large, x-large IT 10 6026 38 - Eashwarage D.B.S.
External Interfaces(cont….) Selection page • Purpose - Select an option • Inputs – Voice/text • Outputs – English sentence • Valid range – 1 selection per one try • Timing –Maximum timing is 3 seconds • Relationships to other inputs/outputs – Single output • Screen formats/organization – Supports low density, medium density, high density • Window formats/organization – Supports small, medium, large, x-large • Data formats – Characters/string IT 10 6026 38 - Eashwarage D.B.S.
External Interfaces(cont….) • Purpose – Selecting an option • Inputs –Converted text from Google voice APIs/received text message • Outputs –Sinhala sentence • Valid range – 1-10 words • Accuracy – “.” Considers as end of a sentence • Tolerance – 8 words • Units of measure – words • Timing –Maximum timing is 3 seconds • Relationships to other inputs/outputs– Single output • Screen formats/organization – Supports low[4] density, medium density, high density • Window formats/organization –Supports small[5], medium, large, x-large • Data formats–Characters/string Translation page IT 10 6026 38 - Eashwarage D.B.S.
External Interfaces(cont….) Translated page • Purpose – Use converted text as a message or e-mail • Inputs –Sinhala sentence • Outputs – SMS/e-mail • Tolerance – same as the inputted sentence • Units of measure – words • Timing –Maximum timing is 3 seconds • Relationships to other inputs/outputs – Multiple outputs • Screen formats/organization – Supports low density, medium density, high density • Window formats/organization –Supports small, medium, large, x-large • Data formats – Characters/string IT 10 6026 38 - Eashwarage D.B.S.
External Interfaces(cont….) Hardware interfaces This application deals with android devices. Such as android[6] phones, pads, tablets. IT 10 6026 38 - Eashwarage D.B.S.
External Interfaces(cont….) Software interfaces The application interacts with a voice to text application. That application detects the user’s voice and translates it to English sentence. IT 10 6026 38 - Eashwarage D.B.S.
External Interfaces(cont….) Communication interfaces The application uses internet only to send e-mails. To connect to the internet, the application uses devices‟ integrated internet accessing method. Internet IT 10 6026 38 - Eashwarage D.B.S.
Class Diagram IT 10 6033 14 - Perera U.L.P.H.
Performance Requirements • The performance and the respond of this Application software is very important • Internet bandwidth of the ISP • Processing power of phone • Pronunciations of users • Android version of Client Android Device IT 10 6033 14 - Perera U.L.P.H.
Performance Requirements • To Increase performance • Most of the Phone resources are used • Inbuilt database functionality for frequent required queries IT 10 6033 14 - Perera U.L.P.H.
Design constraints • IDE software as Eclipse • SQLite for Android inbuilt Database • MySQL for server Database IT 10 6033 14 - Perera U.L.P.H.
Summary • Introduction • System Diagram • Overall Description • Product Functions • User Characteristics • Constraints • Assumption and Dependencies • External Interfaces • Classes / Objects • Performance Requirements • Summary IT 10 6026 38 - Eashwarage D.B.S.
References [1] NQ Mobile Security Research Center, "Security Alert: New Android MalwareDKFBootKi Moves Towards The First Android BootKit | NQ Mobile U.S. Security Research Center" research.nq.com. 2, March.28, 2012.[Online]. Available: http://research.nq.com/?p=391 [Accessed: March. 28,2012]. [2] Android Developers, "Speech Input | Android Developers" http://developer.android.com.Jan.28, 2011.[Online]. Available: http://developer.android.com/resources/articles/speech-input.html [Accessed: March. 28,2012]. [3] Eclipse, "Eclipse Public License - Version 1.0" http://www.eclipse.org.[Online]. Available: http://www.eclipse.org/legal/epl-v10.html[Accessed: March. 28,2012]. [4] Android Developers, “User Interface Guidelines", 29 Mar 2012. [Online]. Available: http://developer.android.com/guide/practices/ui_guidelines/index.html [Accessed: March. 28, 2012]. [5] Android Developers, “Supporting Multiple Screens", 14 Mar 2012. [Online]. Available: http://developer.android.com/guide/practices/screens_support.html [Accessed: March. 28, 2012]. [6] Android Developers, “package android. Hardware", 08 Feb 2012. [Online]. Available: http://developer.android.com/reference/android/hardware/package-summary.html [Accessed: March. 28, 2012]. IT 10 6018 84 - Dasanayaka D.M.M.L.
References [7] University of new Hampshire, “iPod, iPad, and Android Apps for College Students”, 2010.[online].Available: http://unh.edu/d Software system attributesisabilityservices/ipod-ipad-and-android-apps-college-students [Accessed:March.28,2012]. [8] Systems and internet infrastructure security, “Mobile Phone Security”, 2010.[online].Available: http://siis.cse.psu.edu/phones.html[Accessed:March.28,2012]. [9] Team 6g,” Software Requirements Specification for FACETs Mobile”, vol 2.0, pp 9-11, Nov.2010. [10] C. L. Anderson and M. Nguyen. A Survey of Contemporary Instructional Operating Systems for use in Undergraduate Courses. Journal of Computing Sciences in Colleges, 21:183-190, October 2005. [11] Benjamin Carpenter, Ryan Daugherty, Jack Dehlin, Jay Greene , “Android Game Suite Software Design Specification”,vol CS 430, pp 9-10, Mar.2010. [12] BuddithaHettige,” BEES: Bilingual Expert for English to Sinhala”[online].Available:http://www.dscs.sjp.ac.lk/~budditha/bees.htm.[Accessed: Feb 8,2012] IT 10 6018 84 - Dasanayaka D.M.M.L.