change from C++ to java to use maryTTS