i want get start, end
04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: word start end pprob ascr lscr lback 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: <s> 14 28 1.000 -2169 0 0 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: [COUGH] 29 53 1.000 -3181 -180 0 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: <sil> 54 69 1.000 -2333 -52 0 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: but 70 86 1.000 -2365 -292 2 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: what 87 115 1.000 -3842 -332 3 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: could 116 132 1.000 -2364 -418 3 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: lose 133 186 1.000 -6583 -661 2 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: <sil> 187 211 1.000 -3306 -52 2 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: [NOISE] 212 252 1.000 -6472 -180 2 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: on(2) 253 266 1.000 -2019 -460 2 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: the 267 275 1.000 -1083 -112 3 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: sun 276 300 1.000 -3188 -640 2 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: was(2) 301 325 1.000 -2789 -290 3 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: <sil> 326 333 1.000 -1137 -52 3 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: [NOISE] 334 382 1.000 -7738 -180 3 04-01 14:34:49.650 9485-11918/com.example.choe.myapplication I/cmusphinx: </s> 383 459 1.000 -8678 -400 2
what can i do?
this logcat data i want get start and end
I/cmusphinx: word start end pprob ascr lscr lbac I/cmusphinx: <s> 42 50 1.000 -1093 0 0 I/cmusphinx: the 51 59 1.000 -1202 -243 2 I/cmusphinx: water 60 112 1.000 -7289 -598 2 I/cmusphinx: your(2) 113 139 1.000 -3321 -612 2 I/cmusphinx: [COUGH] 140 180 1.000 -5793 -180 2 I/cmusphinx: [NOISE] 181 189 1.000 -1502 -180 2 I/cmusphinx: room 190 222 1.000 -4494 -595 2 I/cmusphinx: ghosts 223 261 1.000 -4978 -1003 1 I/cmusphinx: was(3) 262 302 1.000 -5516 -516 1 I/cmusphinx: <sil> 303 309 1.000 -883 -52 1 I/cmusphinx: goods 310 392 1.000 -11292 -940 1 I/cmusphinx: </s> 393 433 1.000 -4456 -158 2
In onResult:
for (Segment seg : recognizer.getDecoder().seg()) { System.out.println(seg.getWord() + " " + seg.getStartFrame() + " " + seg.getEndFrame()); }
Log in to post a comment.
i want get start, end
what can i do?
Last edit: Nickolay V. Shmyrev 2016-04-01
this logcat data i want get start and end
Last edit: Nickolay V. Shmyrev 2016-04-01
In onResult: