The Customer Care Simulation for Vistara Airlines is a text-to-speech simulation of customer care for Vistara Airlines.
This project will simulate an IVR (Interactive Voice Response) system where a user navigates through different options, just like when calling customer support.
Text-to-Speech (TTS) Support
- Uses FreeTTS to convert text to speech for user interaction.
- Provides voice output for English and Hindi options.
Multilingual Support
- Users can select English or Hindi for interaction.
- Uses predefined prompts and responses for both languages.
Interactive Voice Menu
- Users can choose: -> Flight status (Randomized on-time/delay/cancel status). -> Flight cancellation request (Takes PNR and flight number). -> Customer support (Simulated wait message).
Randomized Flight Status
- Uses Random class to generate different flight statuses.
Terminal-Based Execution
- Works as a console-based application that is suitable for kiosks, IVR-like systems, or simple automation.
The project follows a modular design:
- Input Handling: Uses Scanner to take user input (numeric choices, PNR, flight number).
- Text-to-Speech Engine: Uses FreeTTS (Java-based speech synthesis), initializes VoiceManager & Voice (kevin16 voice) and calls speak() method for text output in speech.
- Menu Selection & Processing: Uses a switch statement to handle user choices and calls speak() and System.out.println() for both audio & text output.
- Error Handling & Cleanup: Uses try-catch-finally for handling NullPointerException (if voice engine fails) and ensures voice.deallocate() & input.close() to free resources.
app/
├── build.gradle
├── src/
│ ├── main/
│ │ └── java/
│ │ └── customercaresimulation/
│ │ └── App.java
│ └── test/
│ └── java/
│ └── customercaresimulation/
│ └── AppTest.java
└── libs/
- Java 8+ ( For Backend )
- APIs:
- FreeTTS API
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International Public License. See the LICENSE file for details.