Back to project page android-unispeech.
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.
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; } }