Advertisement
Guest User

config

a guest
Jan 21st, 2013
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.70 KB | None | 0 0
  1.         Config c = new Config();
  2.         c.setString("-hmm", "/sdcard/edu.cmu.pocketsphinx/hmm/voxforge_de_sphinx.cd_cont_3000");
  3.         c.setString("-dict", "/sdcard/edu.cmu.pocketsphinx/lm/my_cmds/commands.dic");
  4.         c.setString("-jsgf", "/sdcard/edu.cmu.pocketsphinx/lm/my_cmds/commands.gram");
  5.         c.setString("-rawlogdir", "/sdcard/edu.cmu.pocketsphinx");
  6.         c.setFloat("-samprate", 16000.0);
  7.         c.setInt("-maxhmmpf", 2000);
  8.         c.setInt("-maxwpf", 10);
  9.         c.setInt("-pl_window", 2);
  10.         c.setBoolean("-backtrace", true);
  11.         c.setBoolean("-bestpath", false);
  12.         this.ps = new Decoder(c);
  13.         this.audio = null;
  14.         this.audioq = new LinkedBlockingQueue<short[]>();
  15.         this.use_partials = false;
  16.         this.mailbox = Event.NONE;
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement