voxforge.org
VoxForge Dev

Changeset 2364

Show
Ignore:
Timestamp:
11/29/07 10:08:20 (1 year ago)
Author:
kmaclean
Message:

SpeechSubmision? 1.1.1 snapshot

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/CapturePlayback.java

    r2363 r2364  
    280280//  ############ Localized Fields ####################################    
    281281        this.language = language; 
    282         System.err.println("CapturePlayback Language:" + this.language + ":"); 
     282        // debug System.err.println("CapturePlayback Language:" + this.language + ":"); 
    283283 
    284284    LabelLocalizer labels = new LabelLocalizer(this.language); 
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/LabelLocalizer.java

    r2363 r2364  
    4141         
    4242        public LabelLocalizer (String language) { 
    43                 System.err.println("LabelLocalizerLanguage:" + language + ":"); 
     43                // debug System.err.println("LabelLocalizerLanguage:" + language + ":"); 
    4444                if (language.equals("EN")) { 
    4545                        English(); 
    46                         System.err.println("LabelLocalizerLanguage:" + language + ": equals EN"); 
     46                        // debug System.err.println("LabelLocalizerLanguage:" + language + ": equals EN"); 
    4747                } else if (language.equals("NL")) { 
    4848                        Dutch(); 
    4949                } else { 
    5050                        English(); 
    51                         System.err.println("LabelLocalizerLanguage:" + language + ": defaults to english"); 
     51                        // debug System.err.println("LabelLocalizerLanguage:" + language + ": defaults to english"); 
    5252                } 
    5353        } 
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/License.java

    r2363 r2364  
    4848                 
    4949                VFlicenseNotice =   
    50                   "VoxForge Speech Submission Application v0.1 - allows a user to record their speech and  " + System.getProperty("line.separator") 
     50                  "VoxForge Speech Submission Application v0.1.1 - allows a user to record their speech and  " + System.getProperty("line.separator") 
    5151                + " upload the recorded audio to the VoxForge server, so that it can be" + System.getProperty("line.separator")  
    5252                + "incorporated into the VoxForge Speech Corpus and used in the creation of " + System.getProperty("line.separator")  
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/Prompts.java

    r2363 r2364  
    12571257 
    12581258public Prompts(int NumberofPrompts, String Language) { 
    1259         if (Language == "EN") { 
     1259        if (Language.equals("EN")) { 
    12601260                promptList = englishPromptList; 
    1261         } else if (Language == "NL") { 
     1261        } else if (Language.equals("NL")) { 
    12621262                promptList = dutchPromptList; 
    12631263        } else { 
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/RecorderApplet.java

    r2363 r2364  
    2525    static RecorderApplet applet; 
    2626    private CapturePlayback theRecorder; 
    27     // !!!!!! 
    28     private CapturePlayback theRecorder2; 
    29     // !!!!!! 
    3027////// MOODLEY: 
    3128    String subject; 
    3229    String fileFieldName; 
    33 // !!!!!!  
    34     String prompt1; 
    35     String prompt2; 
    36     String prompt3; 
    37     String prompt4; 
    38     String prompt5; 
    39     String promptID1; 
    40     String promptID2; 
    41     String promptID3; 
    42     String promptID4; 
    43     String promptID5;  
    44     String prompt6; 
    45     String prompt7; 
    46     String prompt8; 
    47     String prompt9; 
    48     String prompt10;   
    49     String promptID6; 
    50     String promptID7; 
    51     String promptID8; 
    52     String promptID9; 
    53     String promptID10;       
    54 // !!!!!!     
    5530    URL endPageURL; 
    56  
    57 // !!!!!!     
    5831    URL helpPageURL; 
    59  
    60 // !!!!!!     
    6132    URL destinationURL; 
    6233    String language; 
     
    6738    public void init() { 
    6839        applet = this; 
    69         String param = null; 
    70  
    7140        // At this point grab all our parameters 
    7241        getParameters(); 
     
    10271                System.err.println("RecorderApplet Cookie: " + cookie +":\n");             
    10372        } catch (NullPointerException nullLang){ 
    104             // Default language being set 
    105  
    10673            errorMessage(System.out,"cookie is null"); 
    10774        } 
     
    11279            if (language == "" || language == null) 
    11380                language = "EN"; 
    114             System.err.println("RecorderAppletlanguage is:" + language); 
     81           // debug System.err.println("RecorderAppletlanguage is:" + language); 
    11582        } catch (NullPointerException nullLang){ 
    11683            // Default language being set 
     
    12390            // !!!!!!            
    12491                destinationURL = new URL(getParameter("destination")); 
    125             // Following line is for testing, and to hard code the applet to postlet.com 
    126  
    127         //    destinationURL = new URL("http://localhost:90/httpd/postlet/javaUpload.php"); 
    128             // !!!!!! 
     92                // Following line is for testing, and to hard code the applet to postlet.com 
     93                //    destinationURL = new URL("http://localhost:90/httpd/postlet/javaUpload.php"); 
     94                // !!!!!! 
    12995        } catch(java.net.MalformedURLException malurlex){ 
    13096            // Do something here for badly formed destination, which is ESENTIAL.