Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Java Opensource read German,French,...

Java Opensource read German,French,...

Scheduled Pinned Locked Moved Java
javadatabasequestion
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sharkbc
    wrote on last edited by
    #1

    Hi Everybody ! I 've got some question about TTS: 1.Currently are there any Java Opensource can read German,French,... 2.Are there any free database Dictionary that we can download (I prefered with English-Vietnamese,German-Vietnamese). Thanks and regards !

    4 D 2 Replies Last reply
    0
    • S sharkbc

      Hi Everybody ! I 've got some question about TTS: 1.Currently are there any Java Opensource can read German,French,... 2.Are there any free database Dictionary that we can download (I prefered with English-Vietnamese,German-Vietnamese). Thanks and regards !

      4 Offline
      4 Offline
      4277480
      wrote on last edited by
      #2

      eSpeak[^] To use it in a Java application just call the Runtime.getRuntime.exec("command"); where command is what you want to hear. Example command might be cmd.exe /C %path of espeak%\\espeak "This is a test" Good luck

      S 1 Reply Last reply
      0
      • 4 4277480

        eSpeak[^] To use it in a Java application just call the Runtime.getRuntime.exec("command"); where command is what you want to hear. Example command might be cmd.exe /C %path of espeak%\\espeak "This is a test" Good luck

        S Offline
        S Offline
        sharkbc
        wrote on last edited by
        #3

        Hi Member! I've got the c++ source from the link you gave. But when i compile(Using BorlandC), the compiler couldn't find two file: getopt.h speak_lib.h i try to found these file in source, there no file name identical those. How can i compile this code and which tool diffrent from BorlandC,... I don't want to use the setup_espeak.exe because i just want to embed the exe file into my java app and the relative resource. So user needn't to setup this file. Thanks regards!

        modified on Wednesday, September 30, 2009 10:48 PM

        S 1 Reply Last reply
        0
        • S sharkbc

          Hi Member! I've got the c++ source from the link you gave. But when i compile(Using BorlandC), the compiler couldn't find two file: getopt.h speak_lib.h i try to found these file in source, there no file name identical those. How can i compile this code and which tool diffrent from BorlandC,... I don't want to use the setup_espeak.exe because i just want to embed the exe file into my java app and the relative resource. So user needn't to setup this file. Thanks regards!

          modified on Wednesday, September 30, 2009 10:48 PM

          S Offline
          S Offline
          sharkbc
          wrote on last edited by
          #4

          Hi Everybody ! I found Jespeak. I set the build path to the jespeak-0.2-alpha.jar but when run the program, i got this Error:

          JeSpeak Copyright (C) 2007 pjer at users dot sourceforge dot net
          This program comes with ABSOLUTELY NO WARRANTY.
          This is free software, and you are welcome to redistribute it
          under certain conditions.
          Exception in thread "main" java.lang.UnsatisfiedLinkError: no JeSpeak in java.library.path
          at java.lang.ClassLoader.loadLibrary(Unknown Source)
          at java.lang.Runtime.loadLibrary0(Unknown Source)
          at java.lang.System.loadLibrary(Unknown Source)
          at com.jespeak.JeSpeakNative.<clinit>(JeSpeakNative.java:25)
          at com.jespeak.JeSpeakImpl.<init>(JeSpeakImpl.java:26)
          at com.jespeak.JeSpeak.getInstance(JeSpeak.java:53)
          at com.jespeak.JeSpeak.main(JeSpeak.java:125)

          How can i fix this. Thanks and regards !

          modified on Wednesday, September 30, 2009 11:56 PM

          4 1 Reply Last reply
          0
          • S sharkbc

            Hi Everybody ! I found Jespeak. I set the build path to the jespeak-0.2-alpha.jar but when run the program, i got this Error:

            JeSpeak Copyright (C) 2007 pjer at users dot sourceforge dot net
            This program comes with ABSOLUTELY NO WARRANTY.
            This is free software, and you are welcome to redistribute it
            under certain conditions.
            Exception in thread "main" java.lang.UnsatisfiedLinkError: no JeSpeak in java.library.path
            at java.lang.ClassLoader.loadLibrary(Unknown Source)
            at java.lang.Runtime.loadLibrary0(Unknown Source)
            at java.lang.System.loadLibrary(Unknown Source)
            at com.jespeak.JeSpeakNative.<clinit>(JeSpeakNative.java:25)
            at com.jespeak.JeSpeakImpl.<init>(JeSpeakImpl.java:26)
            at com.jespeak.JeSpeak.getInstance(JeSpeak.java:53)
            at com.jespeak.JeSpeak.main(JeSpeak.java:125)

            How can i fix this. Thanks and regards !

            modified on Wednesday, September 30, 2009 11:56 PM

            4 Offline
            4 Offline
            4277480
            wrote on last edited by
            #5

            Jespeak is not fully implemented yet thats why I referd you to espeak. Correct me if I am wrong but cant you include the espeak file in your application and call it from there by Runtime.getRuntime().exec("C:\\eSpeak\\command_line\\espeak.exe \"This is a test\""); ?

            S 1 Reply Last reply
            0
            • 4 4277480

              Jespeak is not fully implemented yet thats why I referd you to espeak. Correct me if I am wrong but cant you include the espeak file in your application and call it from there by Runtime.getRuntime().exec("C:\\eSpeak\\command_line\\espeak.exe \"This is a test\""); ?

              S Offline
              S Offline
              sharkbc
              wrote on last edited by
              #6

              Hi member ! I knew the command to execute the espeak with the agruments. (By the way, i want to ask you about the command you gave, 1.which language espeak will speak? 2.If i want espeak speack read german or french, with command argument for the language? ) But i download the setup_espeak.exe, so if i want to use the espeak.exe i must install it. So, i want the espeak.exe stard alone to embed into my app that the users who will use my app needn't install setup_espeak.exe. You can read this link for more info: http://espeak.sourceforge.net/commands.html[^] # speak is a stand-alone version which includes its own copy of the speech engine. Where can i download it. Thanks and regards

              modified on Thursday, October 1, 2009 5:01 AM

              4 1 Reply Last reply
              0
              • S sharkbc

                Hi member ! I knew the command to execute the espeak with the agruments. (By the way, i want to ask you about the command you gave, 1.which language espeak will speak? 2.If i want espeak speack read german or french, with command argument for the language? ) But i download the setup_espeak.exe, so if i want to use the espeak.exe i must install it. So, i want the espeak.exe stard alone to embed into my app that the users who will use my app needn't install setup_espeak.exe. You can read this link for more info: http://espeak.sourceforge.net/commands.html[^] # speak is a stand-alone version which includes its own copy of the speech engine. Where can i download it. Thanks and regards

                modified on Thursday, October 1, 2009 5:01 AM

                4 Offline
                4 Offline
                4277480
                wrote on last edited by
                #7

                1. English 2. You need to follow the steps mentioned in the mbrola.html which is available under docs. 3. Yes only you need to install it then copy the espeak file to your Java project folder after you done step 2. There you can call the exe from Java and when you want to deploy include the file with Jar thats it. Good luck

                1 Reply Last reply
                0
                • S sharkbc

                  Hi Everybody ! I 've got some question about TTS: 1.Currently are there any Java Opensource can read German,French,... 2.Are there any free database Dictionary that we can download (I prefered with English-Vietnamese,German-Vietnamese). Thanks and regards !

                  D Offline
                  D Offline
                  dasli
                  wrote on last edited by
                  #8

                  ooo...intersting...

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups