import org.junit.Test;
import ua.net.maxx.dsl.DictionaryParser;
import ua.net.maxx.dsl.DslDictionaryParser;
import ua.net.maxx.langtrainer.Dictionary;
import ua.net.maxx.langtrainer.Global;
public class MyTest {
public void test() {
}
@Test
public void dslSanerimpTest() {
String file = "/home/maxx/Dictionary/dsl/En-En-Longman_Pronunciation.dsl";
System.out.println(file);
System.out.println(Global.settings.dicPath);
DictionaryParser scaner = new DslDictionaryParser(Global.settings.dicPath);
Dictionary dic;
dic = scaner.findWord("innate");
System.out.println(dic.wavurl);
System.out.println(dic.transcript);
}
public void audioTest() {
Global.playFile("us_ld45about.wav");
}
}