Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Issue 3117026: Add an endpointer for detecting end of speech. (Closed)

Created:
10 years, 4 months ago by Satish
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

Add an endpointer for detecting end of speech. This is based on existing code/math. I have removed all the unused code for our usage and adapted to the chromium coding style. TEST=unit_tests --gtest_filter=EndpointerTest.* BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57226

Patch Set 1 : . #

Patch Set 2 : Fix build break #

Patch Set 3 : Fix more build issues. #

Total comments: 22

Patch Set 4 : Address joth's comments. #

Total comments: 19

Patch Set 5 : Address joth's comments #

Total comments: 4

Patch Set 6 : Address Trausti's comments. #

Total comments: 2

Patch Set 7 : Address Trausti's latest comments. #

Patch Set 8 : Merged with latest. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1165 lines, -9 lines) Patch
A chrome/browser/speech/endpointer/endpointer.h View 1 2 3 4 5 1 chunk +137 lines, -0 lines 0 comments Download
A chrome/browser/speech/endpointer/endpointer.cc View 1 2 3 1 chunk +164 lines, -0 lines 0 comments Download
A chrome/browser/speech/endpointer/endpointer_unittest.cc View 1 2 3 4 1 chunk +146 lines, -0 lines 0 comments Download
A chrome/browser/speech/endpointer/energy_endpointer.h View 1 2 3 4 5 6 1 chunk +144 lines, -0 lines 0 comments Download
A chrome/browser/speech/endpointer/energy_endpointer.cc View 1 2 3 4 5 1 chunk +355 lines, -0 lines 0 comments Download
A chrome/browser/speech/endpointer/energy_endpointer_params.h View 1 2 3 4 5 6 1 chunk +175 lines, -0 lines 0 comments Download
M chrome/browser/speech/speech_recognizer.h View 2 chunks +2 lines, -0 lines 2 comments Download
M chrome/browser/speech/speech_recognizer.cc View 1 2 3 8 chunks +36 lines, -9 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Satish
10 years, 4 months ago (2010-08-19 16:43:28 UTC) #1
joth
Some initial comments on the .h files not read any .cc in detail other than ...
10 years, 4 months ago (2010-08-19 18:00:03 UTC) #2
Satish
Thanks for the quick review. All comments implemented/addressed with a few replies below. Please take ...
10 years, 4 months ago (2010-08-19 22:18:44 UTC) #3
joth
LGTM Have to admit, I didn't spend the time to get my head around every ...
10 years, 4 months ago (2010-08-23 12:02:01 UTC) #4
Satish
Thanks. Replies below. I will submit this once Trausti has looked at it as well. ...
10 years, 4 months ago (2010-08-23 14:56:09 UTC) #5
trausti
This endpointer was designed to take a little bit of audio (at least 200ms) prior ...
10 years, 4 months ago (2010-08-23 15:04:06 UTC) #6
Satish
Thanks. http://codereview.chromium.org/3117026/diff/13002/20004 File chrome/browser/speech/endpointer/energy_endpointer.cc (right): http://codereview.chromium.org/3117026/diff/13002/20004#newcode142 chrome/browser/speech/endpointer/energy_endpointer.cc:142: // The level of the first frame will ...
10 years, 4 months ago (2010-08-23 15:18:07 UTC) #7
trausti
HI, I suggest adding a bit of text to the header to describe how to ...
10 years, 4 months ago (2010-08-23 16:09:28 UTC) #8
Satish
Added comment to endpointer header from the original code. http://codereview.chromium.org/3117026/diff/36001/21005 File chrome/browser/speech/endpointer/energy_endpointer.cc (right): http://codereview.chromium.org/3117026/diff/36001/21005#newcode342 chrome/browser/speech/endpointer/energy_endpointer.cc:342: ...
10 years, 4 months ago (2010-08-23 21:47:27 UTC) #9
jorlow
I only skimmed, but didn't see any major issues. So I'll deffer to Joth and ...
10 years, 4 months ago (2010-08-24 08:59:14 UTC) #10
Satish
http://codereview.chromium.org/3117026/diff/40001/25007 File chrome/browser/speech/endpointer/energy_endpointer_params.h (right): http://codereview.chromium.org/3117026/diff/40001/25007#newcode39 chrome/browser/speech/endpointer/energy_endpointer_params.h:39: void operator = (const EnergyEndpointerParams& source) { On 2010/08/24 ...
10 years, 4 months ago (2010-08-24 09:01:56 UTC) #11
trausti
> > Sorry I am not sure if you are suggesting I add this text ...
10 years, 4 months ago (2010-08-24 16:20:00 UTC) #12
Satish
Added.
10 years, 4 months ago (2010-08-24 16:25:24 UTC) #13
trausti
Can you point me to the changes? I don't see them in the previous links ...
10 years, 4 months ago (2010-08-24 17:29:24 UTC) #14
jorlow
http://codereview.chromium.org/3117026/diff2/40001:43001/39006 On Tue, Aug 24, 2010 at 6:29 PM, Trausti Kristjansson <trausti@google.com>wrote: > Can you ...
10 years, 4 months ago (2010-08-24 17:34:24 UTC) #15
trausti
Ok Great. I trust you will holler if things are not working as expected :-) ...
10 years, 4 months ago (2010-08-24 18:29:31 UTC) #16
tfarina
10 years, 4 months ago (2010-08-24 20:41:37 UTC) #17
After the fact!

http://codereview.chromium.org/3117026/diff/48001/49008
File chrome/browser/speech/speech_recognizer.h (right):

http://codereview.chromium.org/3117026/diff/48001/49008#newcode11
chrome/browser/speech/speech_recognizer.h:11: #include
"chrome/browser/speech/speech_recognition_request.h"
wow!

Please, could you sort these alphabetical?

http://codereview.chromium.org/3117026/diff/48001/49008#newcode13
chrome/browser/speech/speech_recognizer.h:13: #include <list>
These headers should be included before "base/ref_counted.h"

Powered by Google App Engine
This is Rietveld 408576698