Android Open Source - android-unispeech Speech Data






From Project

Back to project page android-unispeech.

License

The source code is released under:

Apache License

If you think the Android project android-unispeech listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.github.unispeech.recognition;
/*from   ww  w .j  a va2s.com*/
/**
* Created by javier.romero on 2/8/14.
*/
public class SpeechData {
    private String mOriginalText;
    private String mTranslatedText;

    public SpeechData(String originalText) {
        mOriginalText = originalText;
    }

    public SpeechData(String originalText, String translatedText) {
        mOriginalText = originalText;
        mTranslatedText = translatedText;
    }

    public String getOriginalText() {
        return mOriginalText;
    }

    public String getTranslatedText() {
        return mTranslatedText;
    }

    public void setTranslatedText(String translatedText) {
        mTranslatedText = translatedText;
    }

    public boolean isTranslated() {
        return mTranslatedText != null;
    }
}




Java Source Code List

com.github.unispeech.App.java
com.github.unispeech.languageselect.BaseLanguageSelectActivity.java
com.github.unispeech.languageselect.SupportedSttLanguage.java
com.github.unispeech.languageselect.TheirLanguageSelectActivity.java
com.github.unispeech.languageselect.YourLanguageSelectActivity.java
com.github.unispeech.recognition.RecognitionActivity.java
com.github.unispeech.recognition.SpeechAdapter.java
com.github.unispeech.recognition.SpeechData.java
com.github.unispeech.recognition.TranslatorCallback.java