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

Side by Side Diff: content/browser/speech/proto/google_streaming_api.proto

Issue 10384153: Adding protobuf headers that will be used by upcoming continuous speech recognition classes (Speech… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed according to Hans review. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/speech/proto/speech_proto.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 syntax = "proto2";
6 option optimize_for = LITE_RUNTIME;
7
8 // TODO(primiano) Commented out due to compilation errors. What's its purpose?
9 //option cc_api_version = 2;
10
11 package speech;
12
13 // Used for receiving results from the Google continuous speech recognition
14 // webservice.
15 message HttpStreamingResult {
16 // Used in case of errors.
17 // TODO(primiano) Not completely sure about its semantic. Ask gshires@.
18 optional int32 status = 1;
19
20 // TODO(primiano) this seems to be not used anymore. Ask gshires@.
21 optional int32 id = 2;
22
23 // Definitive results provide an array of hypotheses.
24 repeated HttpStreamingHypothesis hypotheses = 3;
25
26 // Non definitive results, instead, provide a provisional (read: likely to be
27 // confirmed) and an ephemeral (read: likely to be changed soon) string.
28 optional string provisional = 4;
29 optional string ephemeral = 5;
30
31 // TODO(primiano) this seems to be not used anymore. Ask gshires@.
32 optional string upstream_url = 6;
33
34 // Used by the webservice to acknowledge the successfull connection of the
35 // upstream (the one pushing audio data).
36 optional bool upstream_connected = 7;
37 }
38
39 // Used for receiving and hypothesis for a definitive result.
hans 2012/05/16 13:49:13 "used for receiving and" sounds weird
40 message HttpStreamingHypothesis {
41 // Textual transcript of the hypothesis.
42 optional string utterance = 1;
43
44 // Confidence score associated with the hypothesis.
45 optional float confidence = 2;
46 }
47
OLDNEW
« no previous file with comments | « no previous file | content/browser/speech/proto/speech_proto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698