GithubHelp home page GithubHelp logo

m-bugaj / shoppinglist-app-voicecontrol Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 109 KB

The purpose of the exercise is to develop a prototype mobile application (shopping list) in java, using only two-way voice interface.

Java 100.00%

shoppinglist-app-voicecontrol's Introduction

VoiceShop - Shopping List 馃洅馃帳

Application Title and Purpose:

  • Title: VoiceShop (Polish Language Support)
  • Purpose: The purpose of the VoiceShop application is to facilitate users in creating a shopping list by allowing them to dictate products using their voice. The application converts speech to text, creating a readable shopping list, which enables users to conveniently plan their purchases without the need for typing.

Basic Functional Requirements:

  1. Speech-to-Text Conversion: The application should allow users to press a button and start processing speech into text.
  2. Creating a Shopping List: After converting speech to text, the application should add products to the shopping list.
  3. Removing Products: Users should be able to remove products from the shopping list.
  4. Product Search: The application should allow searching for products in a database or based on user-provided information.
  5. Reading the Shopping List: The application reads one product at a time from the list and allows the user to navigate to the next or previous product.
  6. Voice Command Handling: The application responds to voice commands from the user, such as adding, removing, or reading the shopping list.

Basic Voice Commands (Polish Language):

  1. "Dodaj"
    • Action: Adds a product to the shopping list.
  2. "(liczba ca艂kowita)"
    • After issuing the command to add a product to the shopping list, the application will ask for the quantity. User should speak a positive integer.
  3. "(jednostka) np. kartony, opakowania, sztuki, kilogramy, lub gramy"
    • After issuing the command for the quantity of products, the application will ask for the unit. User should speak the unit.
  4. "Usu艅"
    • Action: Removes a product from the shopping list.
  5. "Lista zakup贸w"
    • Action: Reads the shopping list aloud.
  6. "Dalej"
    • Action: Moves to the next product on the list and reads it.
  7. "Wyjd藕"
    • Action: Exits the shopping list.
  8. "Pomoc"
    • Action: Reads the application user guide.

Expanded Voice Commands (Not Implemented):

  1. "Zapisz list臋 zakup贸w"
    • Action: Saves the current shopping list on the device.
  2. "Czy mam na li艣cie jajka?"
    • Action: Checks if the product "jajka" is on the shopping list.
  3. "Dodaj 3 sztuki m膮ki do listy"
    • Action: Adds three pieces of the product "m膮ka" to the shopping list.
  4. "Wyczy艣膰 list臋"
    • Action: Removes all products from the shopping list.
  5. "Zaktualizuj ilo艣膰 jab艂ek na li艣cie na 5"
    • Action: Updates the quantity of the product "jab艂ka" on the shopping list to 5 pieces.
  6. "Dodaj kategori臋 do listy zakup贸w"
    • Action: Adds a category of products to the shopping list, e.g., "produkty 艣wi膮teczne".

Example Use Case Scenario:

A user starts using the VoiceShop application while preparing for grocery shopping:

  1. The user presses the "Process Speech" button.
  2. Says "Dodaj mleko".
  3. The application prompts the user to specify the quantity verbally. The user responds with, for example, "dwa".
  4. The application then asks the user to specify the unit verbally. The user responds with, for example, "kartony".
  5. The application adds "mleko" with the specified quantity and unit to the shopping list.
  6. The user can now say "Usu艅 mleko" to remove it from the list.
  7. To review the current shopping list, the user can say "Lista zakup贸w".
  8. If the user wants to move to the next item on the list, they can say "Dalej".
  9. Similarly, if the user wishes to go back to the previous item, they can say "Poprzedni".
  10. After finishing shopping, the user can exit the shopping list by saying "Wyjd藕".

Method of Calculating the Command Set Quality Coefficient:

This method assesses the command set based on three key factors:

  • Number of Commands: The more diverse commands, the better.
  • Command Length: Shorter commands are easier to pronounce and understand.
  • Phonetic Similarity: More phonetically diverse commands are less likely to be misunderstood.

Based on these factors, the quality of the command set is evaluated. The more short and diverse commands with varying pronunciation, the better the command set. This method helps ensure that the command set is user-friendly and less prone to errors.

shoppinglist-app-voicecontrol's People

Contributors

m-bugaj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.