From 88f7af784bb9b4f05ded9afd9b11a5f9f124333d Mon Sep 17 00:00:00 2001 From: "hamamoto (Nobuaki Hamamoto)" Date: Thu, 20 Dec 2018 21:02:56 +0900 Subject: [PATCH] =?UTF-8?q?SR=20=E3=81=AE=E5=85=A5=E5=8A=9B=E8=A8=80?= =?UTF-8?q?=E8=AA=9E=E3=81=8C=E5=8F=8D=E6=98=A0=E3=81=95=E3=82=8C=E3=81=AA?= =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/src/main/java/ai/fd/mimi/prism/WebsocketRecognizer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Android/TagengoExampleApp/app/src/main/java/ai/fd/mimi/prism/WebsocketRecognizer.java b/src/Android/TagengoExampleApp/app/src/main/java/ai/fd/mimi/prism/WebsocketRecognizer.java index 7beaa00..07018c7 100644 --- a/src/Android/TagengoExampleApp/app/src/main/java/ai/fd/mimi/prism/WebsocketRecognizer.java +++ b/src/Android/TagengoExampleApp/app/src/main/java/ai/fd/mimi/prism/WebsocketRecognizer.java @@ -72,6 +72,7 @@ protected void startRecognize(String url, RequestData requestData) throws MimiIO process.add("nict-asr"); ArrayList inputLanguage = new ArrayList(); inputLanguage.add(requestData.language); + requestHeaders.put("x-mimi-input-language", inputLanguage); requestHeaders.put("x-mimi-process", process); this.mio = new MimiIO(