static Pair<Long, S> lastVoiceOutputEndBeforeTimestamp(long timestamp) null on exception { temp ReversedLinesFileReader reader = reversedLinesFileReader(cereprocLog()); S s; while ((s = reader.readLine()) != null) { if (!isProperlyQuoted(s)) continue; s = unquote(s); Map map = safeUnstructMap(dropUntilSpace(s)); if (!eq(map.get("action"), "End talking")) continue; long timestamp2 = parseLong(beforeSpace(s)); if (timestamp2 > timestamp) continue; S textSaid = (S) map.get("text"); ret pair(timestamp-timestamp2, textSaid); } null; }
Began life as a copy of #1016789
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016793 |
Snippet name: | lastVoiceOutputEndBeforeTimestamp |
Eternal ID of this version: | #1016793/7 |
Text MD5: | ece587284b0d10dba9d19cb991ee0eea |
Author: | stefan |
Category: | javax / speech |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-03 16:55:58 |
Source code size: | 591 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 393 / 436 |
Version history: | 6 change(s) |
Referenced in: | [show references] |