Menu

#347 Make wavfile history info available to GUI

open
GUI (169)
8
2008-05-24
2008-04-29
No

We need a Java method which collects wavfile history information and passes it back to the GUI.

Discussion

  • Manny Rayner

    Manny Rayner - 2008-05-21

    Logged In: YES
    user_id=529904
    Originator: YES

    I have checked in the Prolog functionality needed to support this. On the Java side, you need the following classes and methods in RegulusGUI.java:

    1. The class WavfileInfo, which represents a recorded wavfile. It has three fields:
    private String fileName; //name of the file
    private String timeStamp; //when it was recorded
    private String words; //text version of the speech content, either from human transcription or speech rec

    2. The method public WavfileInfo[] getWavfileInfo(int nWavfiles)
    Get the last nWavfiles recorded wavfiles, and return them as an array of WavfileInfo objects

    3. The method public String doSpeechRecognitionFromWavfile(String fileString)
    Do speech recognition on a file, and return the resulting string.

     
  • Manny Rayner

    Manny Rayner - 2008-05-21
    • assigned_to: mannyrayner --> elisabethkron
     
  • Elisabeth Kron

    Elisabeth Kron - 2008-05-24
    • assigned_to: elisabethkron --> santaho
     
  • Elisabeth Kron

    Elisabeth Kron - 2008-05-24

    Logged In: YES
    user_id=1261173
    Originator: NO

    Hi.

    I have fixed the speech History Menu. So you can now rerun vave files.
    Two questions that you might want to discuss with Agnes.
    1. When you select a wave file to be rerun from history menu, you will actually need to press translate to "run" it. This is to keep it the same as text History. Text History is like that because you might want to edit the text. However you probably do not want to edit the wavefile. I can just do it so you select something and it is translated immidiately without pressing translate button. How do you want it?
    2. The speech History menu items have a timestamp. Would you prefer that I displayed it with a calculated time. For example"run five minutes ago".?
    Over to you for testing and comments.

     

Log in to post a comment.

MongoDB Logo MongoDB