Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 2
0 Endorsements
Ranked #31.8K
import java.util.Scanner; import com.sun.speech.freetts.VoiceManager; import com.sun.speech.freetts.Voice; public class TextToSpeech { public static void main(String args[]){ Scanner input = new Scanner(System.in); String userInput = input.nextLine(); if(userInput == "hi"){ Voice v; VoiceManager vm=VoiceManager.getInstance(); v=vm.getVoice("kutlo1"); v.allocate(); v.speak("Hey my name is kutlo"); input.close(); }else System.out.println("you suck try again"); } } |
|
Re:
guys please help! im having trouble splitting a word into syllables. what i have so far is splitting a word into different compartment bt cant do syllables, i want the code to to be able slice a part of a word,by looking, vowels INSIDE the word!at the end of each … |