@@ -133,7 +133,8 @@ private Recognizer() {
133133
134134 /**
135135 * Constructor
136- * @param Language
136+ * @param language
137+ * @param apikey
137138 */
138139 @ Deprecated
139140 public Recognizer (String language , String apikey ) {
@@ -144,6 +145,7 @@ public Recognizer(String language, String apikey) {
144145 /**
145146 * Constructor
146147 * @param language The Languages class for the language you want to designate
148+ * @param apikey
147149 */
148150 public Recognizer (Languages language , String apikey ){
149151 this .language = language .languageCode ;
@@ -153,6 +155,7 @@ public Recognizer(Languages language, String apikey){
153155 /**
154156 * Constructor
155157 * @param profanityFilter
158+ * @param apikey
156159 */
157160 public Recognizer (boolean profanityFilter , String apikey ){
158161 this .profanityFilter = profanityFilter ;
@@ -163,6 +166,7 @@ public Recognizer(boolean profanityFilter, String apikey){
163166 * Constructor
164167 * @param language
165168 * @param profanityFilter
169+ * @param apikey
166170 */
167171 @ Deprecated
168172 public Recognizer (String language , boolean profanityFilter , String apikey ){
@@ -175,6 +179,7 @@ public Recognizer(String language, boolean profanityFilter, String apikey){
175179 * Constructor
176180 * @param language
177181 * @param profanityFilter
182+ * @param apikey
178183 */
179184 public Recognizer (Languages language , boolean profanityFilter , String apikey ){
180185 this .language = language .languageCode ;
@@ -279,9 +284,9 @@ public GoogleResponse getRecognizedDataForFlac(File flacFile, int maxResults) th
279284 *
280285 * @param flacFile FLAC file to recognize
281286 * @param maxResults the maximum number of results to return in the response
282- * @param samepleRate The sampleRate of the file. Default is 8000.
283- * @return Returns a GoogleResponse, with the response and confidence score
284- * @throws IOException Throws exception if something goes wrong
287+ * @param sampleRate The sampleRate of the file. Default is 8000.
288+ * @return GoogleResponse with the response and confidence score
289+ * @throws IOException if something goes wrong
285290 */
286291 public GoogleResponse getRecognizedDataForFlac (File flacFile , int maxResults , int sampleRate ) throws IOException {
287292 String [] response = rawRequest (flacFile , maxResults , sampleRate );
@@ -295,9 +300,9 @@ public GoogleResponse getRecognizedDataForFlac(File flacFile, int maxResults, in
295300 *
296301 * @param flacFile FLAC file to recognize
297302 * @param maxResults the maximum number of results to return in the response
298- * @param samepleRate The sampleRate of the file. Default is 8000.
299- * @return Returns a GoogleResponse, with the response and confidence score
300- * @throws IOException Throws exception if something goes wrong
303+ * @param sampleRate The sampleRate of the file. Default is 8000.
304+ * @return GoogleResponse, with the response and confidence score
305+ * @throws IOException if something goes wrong
301306 */
302307 public GoogleResponse getRecognizedDataForFlac (String flacFile , int maxResults , int sampleRate ) throws IOException {
303308 return getRecognizedDataForFlac (new File (flacFile ), maxResults , sampleRate );
0 commit comments