Java-Speech-Recognizer-Tutorial--Calculator icon indicating copy to clipboard operation
Java-Speech-Recognizer-Tutorial--Calculator copied to clipboard

Error while running the code.Please resolve asap.

Open san1197 opened this issue 8 years ago • 5 comments

I am getting an error when compiling the code SpeechRecogonizerMain.java Can you please resolve this for me Sep 17, 2017 10:25:58 AM model.SpeechRecognizerMain INFO: Loading Speech Recognizer...

10:26:02.393 INFO unitManager CI Unit: *+NSN+ 10:26:02.414 INFO unitManager CI Unit: *+SPN+ 10:26:02.414 INFO unitManager CI Unit: AA 10:26:02.414 INFO unitManager CI Unit: AE 10:26:02.414 INFO unitManager CI Unit: AH 10:26:02.414 INFO unitManager CI Unit: AO 10:26:02.414 INFO unitManager CI Unit: AW 10:26:02.414 INFO unitManager CI Unit: AY 10:26:02.414 INFO unitManager CI Unit: B 10:26:02.414 INFO unitManager CI Unit: CH 10:26:02.414 INFO unitManager CI Unit: D 10:26:02.414 INFO unitManager CI Unit: DH 10:26:02.418 INFO unitManager CI Unit: EH 10:26:02.418 INFO unitManager CI Unit: ER 10:26:02.418 INFO unitManager CI Unit: EY 10:26:02.418 INFO unitManager CI Unit: F 10:26:02.418 INFO unitManager CI Unit: G 10:26:02.418 INFO unitManager CI Unit: HH 10:26:02.418 INFO unitManager CI Unit: IH 10:26:02.418 INFO unitManager CI Unit: IY 10:26:02.418 INFO unitManager CI Unit: JH 10:26:02.418 INFO unitManager CI Unit: K 10:26:02.418 INFO unitManager CI Unit: L 10:26:02.418 INFO unitManager CI Unit: M 10:26:02.422 INFO unitManager CI Unit: N 10:26:02.422 INFO unitManager CI Unit: NG 10:26:02.422 INFO unitManager CI Unit: OW 10:26:02.422 INFO unitManager CI Unit: OY 10:26:02.422 INFO unitManager CI Unit: P 10:26:02.422 INFO unitManager CI Unit: R 10:26:02.422 INFO unitManager CI Unit: S 10:26:02.422 INFO unitManager CI Unit: SH 10:26:02.422 INFO unitManager CI Unit: T 10:26:02.422 INFO unitManager CI Unit: TH 10:26:02.422 INFO unitManager CI Unit: UH 10:26:02.422 INFO unitManager CI Unit: UW 10:26:02.422 INFO unitManager CI Unit: V 10:26:02.422 INFO unitManager CI Unit: W 10:26:02.426 INFO unitManager CI Unit: Y 10:26:02.426 INFO unitManager CI Unit: Z 10:26:02.426 INFO unitManager CI Unit: ZH 10:26:04.391 INFO autoCepstrum Cepstrum component auto-configured as follows: autoCepstrum {MelFrequencyFilterBank, Denoise, DiscreteCosineTransform2, Lifter} Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error on tokens, delete these tokens Syntax error on token(s), misplaced construct(s) Syntax error on token ")", delete this token

at model.SpeechRecognizerMain.startResourcesThread(SpeechRecognizerMain.java:202)
at model.SpeechRecognizerMain.<init>(SpeechRecognizerMain.java:103)
at model.SpeechRecognizerMain.main(SpeechRecognizerMain.java:251)

san1197 avatar Sep 17 '17 04:09 san1197

Hello my friend :)

I want you to report this on Java Speech Recognize Github issues so I can give you detailed answer.

Which tutorials is this 1,2,3,4?

Did you modified the code?

Did you followed the latest tutorial I released this September?

Cheers Alex K.

Στις 17 Σεπ 2017 07:58, ο χρήστης "san1197" [email protected] έγραψε:

I am getting an error when compiling the code SpeechRecogonizerMain.java Can you please resolve this for me Sep 17, 2017 10:25:58 AM model.SpeechRecognizerMain INFO: Loading Speech Recognizer...

10:26:02.393 INFO unitManager CI Unit: *+NSN+ 10:26:02.414 INFO unitManager CI Unit: *+SPN+ 10:26:02.414 INFO unitManager CI Unit: AA 10:26:02.414 INFO unitManager CI Unit: AE 10:26:02.414 INFO unitManager CI Unit: AH 10:26:02.414 INFO unitManager CI Unit: AO 10:26:02.414 INFO unitManager CI Unit: AW 10:26:02.414 INFO unitManager CI Unit: AY 10:26:02.414 INFO unitManager CI Unit: B 10:26:02.414 INFO unitManager CI Unit: CH 10:26:02.414 INFO unitManager CI Unit: D 10:26:02.414 INFO unitManager CI Unit: DH 10:26:02.418 INFO unitManager CI Unit: EH 10:26:02.418 INFO unitManager CI Unit: ER 10:26:02.418 INFO unitManager CI Unit: EY 10:26:02.418 INFO unitManager CI Unit: F 10:26:02.418 INFO unitManager CI Unit: G 10:26:02.418 INFO unitManager CI Unit: HH 10:26:02.418 INFO unitManager CI Unit: IH 10:26:02.418 INFO unitManager CI Unit: IY 10:26:02.418 INFO unitManager CI Unit: JH 10:26:02.418 INFO unitManager CI Unit: K 10:26:02.418 INFO unitManager CI Unit: L 10:26:02.418 INFO unitManager CI Unit: M 10:26:02.422 INFO unitManager CI Unit: N 10:26:02.422 INFO unitManager CI Unit: NG 10:26:02.422 INFO unitManager CI Unit: OW 10:26:02.422 INFO unitManager CI Unit: OY 10:26:02.422 INFO unitManager CI Unit: P 10:26:02.422 INFO unitManager CI Unit: R 10:26:02.422 INFO unitManager CI Unit: S 10:26:02.422 INFO unitManager CI Unit: SH 10:26:02.422 INFO unitManager CI Unit: T 10:26:02.422 INFO unitManager CI Unit: TH 10:26:02.422 INFO unitManager CI Unit: UH 10:26:02.422 INFO unitManager CI Unit: UW 10:26:02.422 INFO unitManager CI Unit: V 10:26:02.422 INFO unitManager CI Unit: W 10:26:02.426 INFO unitManager CI Unit: Y 10:26:02.426 INFO unitManager CI Unit: Z 10:26:02.426 INFO unitManager CI Unit: ZH 10:26:04.391 INFO autoCepstrum Cepstrum component auto-configured as follows: autoCepstrum {MelFrequencyFilterBank, Denoise, DiscreteCosineTransform2, Lifter} Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error on tokens, delete these tokens Syntax error on token(s), misplaced construct(s) Syntax error on token ")", delete this token

at model.SpeechRecognizerMain.startResourcesThread(SpeechRecognizerMain.java:202) at model.SpeechRecognizerMain.(SpeechRecognizerMain.java:103) at model.SpeechRecognizerMain.main(SpeechRecognizerMain.java:251)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/goxr3plus/Java-Speech-Recognizer-Tutorial--Calculator/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ATbiwDuG-1bWBFwlFAYFHfk7CmEP7Ntuks5sjKbZgaJpZM4PaCoy .

goxr3plus avatar Sep 17 '17 13:09 goxr3plus

Hi sir. Thanks for responding. This is the first tutorial.I am getting syntax errors in four lines during Executor service.Can u send me the link for the latest video? Thank you.

On Sun, Sep 17, 2017 at 7:12 PM, GOXR3PLUS STUDIO [email protected] wrote:

Hello my friend :)

I want you to report this on Java Speech Recognize Github issues so I can give you detailed answer.

Which tutorials is this 1,2,3,4?

Did you modified the code?

Did you followed the latest tutorial I released this September?

Cheers Alex K.

Στις 17 Σεπ 2017 07:58, ο χρήστης "san1197" [email protected] έγραψε:

I am getting an error when compiling the code SpeechRecogonizerMain.java Can you please resolve this for me Sep 17, 2017 10:25:58 AM model.SpeechRecognizerMain INFO: Loading Speech Recognizer...

10:26:02.393 INFO unitManager CI Unit: *+NSN+ 10:26:02.414 INFO unitManager CI Unit: *+SPN+ 10:26:02.414 INFO unitManager CI Unit: AA 10:26:02.414 INFO unitManager CI Unit: AE 10:26:02.414 INFO unitManager CI Unit: AH 10:26:02.414 INFO unitManager CI Unit: AO 10:26:02.414 INFO unitManager CI Unit: AW 10:26:02.414 INFO unitManager CI Unit: AY 10:26:02.414 INFO unitManager CI Unit: B 10:26:02.414 INFO unitManager CI Unit: CH 10:26:02.414 INFO unitManager CI Unit: D 10:26:02.414 INFO unitManager CI Unit: DH 10:26:02.418 INFO unitManager CI Unit: EH 10:26:02.418 INFO unitManager CI Unit: ER 10:26:02.418 INFO unitManager CI Unit: EY 10:26:02.418 INFO unitManager CI Unit: F 10:26:02.418 INFO unitManager CI Unit: G 10:26:02.418 INFO unitManager CI Unit: HH 10:26:02.418 INFO unitManager CI Unit: IH 10:26:02.418 INFO unitManager CI Unit: IY 10:26:02.418 INFO unitManager CI Unit: JH 10:26:02.418 INFO unitManager CI Unit: K 10:26:02.418 INFO unitManager CI Unit: L 10:26:02.418 INFO unitManager CI Unit: M 10:26:02.422 INFO unitManager CI Unit: N 10:26:02.422 INFO unitManager CI Unit: NG 10:26:02.422 INFO unitManager CI Unit: OW 10:26:02.422 INFO unitManager CI Unit: OY 10:26:02.422 INFO unitManager CI Unit: P 10:26:02.422 INFO unitManager CI Unit: R 10:26:02.422 INFO unitManager CI Unit: S 10:26:02.422 INFO unitManager CI Unit: SH 10:26:02.422 INFO unitManager CI Unit: T 10:26:02.422 INFO unitManager CI Unit: TH 10:26:02.422 INFO unitManager CI Unit: UH 10:26:02.422 INFO unitManager CI Unit: UW 10:26:02.422 INFO unitManager CI Unit: V 10:26:02.422 INFO unitManager CI Unit: W 10:26:02.426 INFO unitManager CI Unit: Y 10:26:02.426 INFO unitManager CI Unit: Z 10:26:02.426 INFO unitManager CI Unit: ZH 10:26:04.391 INFO autoCepstrum Cepstrum component auto-configured as follows: autoCepstrum {MelFrequencyFilterBank, Denoise, DiscreteCosineTransform2, Lifter} Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error on tokens, delete these tokens Syntax error on token(s), misplaced construct(s) Syntax error on token ")", delete this token

at model.SpeechRecognizerMain.startResourcesThread( SpeechRecognizerMain.java:202) at model.SpeechRecognizerMain.(SpeechRecognizerMain.java:103) at model.SpeechRecognizerMain.main(SpeechRecognizerMain.java:251)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/goxr3plus/Java-Speech-Recognizer- Tutorial--Calculator/issues/6>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATbiwDuG- 1bWBFwlFAYFHfk7CmEP7Ntuks5sjKbZgaJpZM4PaCoy> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/goxr3plus/Java-Speech-Recognizer-Tutorial--Calculator/issues/6#issuecomment-330045623, or mute the thread https://github.com/notifications/unsubscribe-auth/AeeQSqsGbOfi9zQwKm793xjn4DEVJYqnks5sjSHZgaJpZM4PaCoy .

--

  • Sandya*

san1197 avatar Sep 17 '17 14:09 san1197

I have to complete the speech calculator mini project by two weeks.Kindly help :)

On Sun, Sep 17, 2017 at 8:04 PM, Sandya Manoharan [email protected] wrote:

Hi sir. Thanks for responding. This is the first tutorial.I am getting syntax errors in four lines during Executor service.Can u send me the link for the latest video? Thank you.

On Sun, Sep 17, 2017 at 7:12 PM, GOXR3PLUS STUDIO < [email protected]> wrote:

Hello my friend :)

I want you to report this on Java Speech Recognize Github issues so I can give you detailed answer.

Which tutorials is this 1,2,3,4?

Did you modified the code?

Did you followed the latest tutorial I released this September?

Cheers Alex K.

Στις 17 Σεπ 2017 07:58, ο χρήστης "san1197" [email protected] έγραψε:

I am getting an error when compiling the code SpeechRecogonizerMain.java Can you please resolve this for me Sep 17, 2017 10:25:58 AM model.SpeechRecognizerMain INFO: Loading Speech Recognizer...

10:26:02.393 INFO unitManager CI Unit: *+NSN+ 10:26:02.414 INFO unitManager CI Unit: *+SPN+ 10:26:02.414 INFO unitManager CI Unit: AA 10:26:02.414 INFO unitManager CI Unit: AE 10:26:02.414 INFO unitManager CI Unit: AH 10:26:02.414 INFO unitManager CI Unit: AO 10:26:02.414 INFO unitManager CI Unit: AW 10:26:02.414 INFO unitManager CI Unit: AY 10:26:02.414 INFO unitManager CI Unit: B 10:26:02.414 INFO unitManager CI Unit: CH 10:26:02.414 INFO unitManager CI Unit: D 10:26:02.414 INFO unitManager CI Unit: DH 10:26:02.418 INFO unitManager CI Unit: EH 10:26:02.418 INFO unitManager CI Unit: ER 10:26:02.418 INFO unitManager CI Unit: EY 10:26:02.418 INFO unitManager CI Unit: F 10:26:02.418 INFO unitManager CI Unit: G 10:26:02.418 INFO unitManager CI Unit: HH 10:26:02.418 INFO unitManager CI Unit: IH 10:26:02.418 INFO unitManager CI Unit: IY 10:26:02.418 INFO unitManager CI Unit: JH 10:26:02.418 INFO unitManager CI Unit: K 10:26:02.418 INFO unitManager CI Unit: L 10:26:02.418 INFO unitManager CI Unit: M 10:26:02.422 INFO unitManager CI Unit: N 10:26:02.422 INFO unitManager CI Unit: NG 10:26:02.422 INFO unitManager CI Unit: OW 10:26:02.422 INFO unitManager CI Unit: OY 10:26:02.422 INFO unitManager CI Unit: P 10:26:02.422 INFO unitManager CI Unit: R 10:26:02.422 INFO unitManager CI Unit: S 10:26:02.422 INFO unitManager CI Unit: SH 10:26:02.422 INFO unitManager CI Unit: T 10:26:02.422 INFO unitManager CI Unit: TH 10:26:02.422 INFO unitManager CI Unit: UH 10:26:02.422 INFO unitManager CI Unit: UW 10:26:02.422 INFO unitManager CI Unit: V 10:26:02.422 INFO unitManager CI Unit: W 10:26:02.426 INFO unitManager CI Unit: Y 10:26:02.426 INFO unitManager CI Unit: Z 10:26:02.426 INFO unitManager CI Unit: ZH 10:26:04.391 INFO autoCepstrum Cepstrum component auto-configured as follows: autoCepstrum {MelFrequencyFilterBank, Denoise, DiscreteCosineTransform2, Lifter} Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error on tokens, delete these tokens Syntax error on token(s), misplaced construct(s) Syntax error on token ")", delete this token

at model.SpeechRecognizerMain.startResourcesThread(SpeechRecogn izerMain.java:202) at model.SpeechRecognizerMain.(SpeechRecognizerMain.java:103) at model.SpeechRecognizerMain.main(SpeechRecognizerMain.java:251)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/goxr3plus/Java-Speech-Recognizer-Tutoria l--Calculator/issues/6>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATbiwDuG- 1bWBFwlFAYFHfk7CmEP7Ntuks5sjKbZgaJpZM4PaCoy> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/goxr3plus/Java-Speech-Recognizer-Tutorial--Calculator/issues/6#issuecomment-330045623, or mute the thread https://github.com/notifications/unsubscribe-auth/AeeQSqsGbOfi9zQwKm793xjn4DEVJYqnks5sjSHZgaJpZM4PaCoy .

--

  • Sandya*

--

  • Sandya*

san1197 avatar Sep 17 '17 14:09 san1197

It's called JAVA SPHINX4-5 FULL EXPLANATION OF EVERYTHING 07/09/2017

Here you go -> https://www.youtube.com/watch?v=NwnGJD6OWWQ&list=PL-xqaiRUr_iRxKrQvFMmOsvWkhxea9EpX

I recommend you to check Java Google Speech Recognition Tutorials -> https://www.youtube.com/watch?v=R8QkzTIm-Xk&list=PL-xqaiRUr_iStfTjfZAuCiCA-JVC9qJHQ

goxr3plus avatar Sep 18 '17 21:09 goxr3plus

@san1197 You got any solutions ?

goxr3plus avatar Aug 17 '18 23:08 goxr3plus