Project

General

Profile

バグ #469

「幽遊白書」がヒットしない

Added by みぞ @mizo0203 over 2 years ago. Updated over 2 years ago.

Status:
完了
Priority:
通常
Target version:
Start date:
12/01/2018
Due date:
% Done:

100%

Estimated time:
Spent time:


Related issues

Copied to UnitTest #472: 「幽遊白書」がヒットしない新規みぞ @mizo020312/01/2018

Actions
#1

Updated by みぞ @mizo0203 over 2 years ago

  • Description updated (diff)
#2

Updated by みぞ @mizo0203 over 2 years ago

辞書データ animedb.json には「☆」が含まれるが、 Google Home からの入力「幽遊白書」には「☆」が含まれないためヒットしない

Yahoo! デベロッパーネットワーク テキスト解析 ルビ振り Web API で改修見込みあり。
Google Home からの入力を読みがなに変換することで、辞書データにヒットさせる。

※ ルビ振り Web API は、24 時間以内で 1 つのアプリケーション ID につき50000 件のリクエストが上限となっています。また、1 リクエストの最大サイズを100KB に制限しています。
https://developer.yahoo.co.jp/webapi/jlp/furigana/v1/furigana.html

# telnet jlp.yahooapis.jp 80
Trying 183.79.217.124...
Connected to edge12.g.yimg.jp.
Escape character is '^]'.
GET /FuriganaService/V1/furigana?sentence=%E5%B9%BD%E9%81%8A%E7%99%BD%E6%9B%B8 HTTP/1.1
Host: jlp.yahooapis.jp
User-Agent: Yahoo AppID: <あなたのアプリケーションID>

HTTP/1.1 200 OK
Date: Sat, 01 Dec 2018 07:03:15 GMT
Vary: Accept-Encoding
Content-Length: 482
Content-Type: text/xml; charset="UTF-8"
Age: 0
Connection: keep-alive
Via: http/1.1 edge2658.img.djm.yahoo.co.jp (ApacheTrafficServer [c sSf ])
Server: ATS

<?xml version="1.0" encoding="UTF-8"?>
<ResultSet xmlns="urn:yahoo:jp:jlp:FuriganaService" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:yahoo:jp:jlp:FuriganaService https://jlp.yahooapis.jp/FuriganaService/V1/furigana.xsd">
  <Result>
    <WordList>
      <Word>
        <Surface>幽遊白書</Surface>
        <Furigana>ゆうゆうはくしょ</Furigana>
        <Roman>yuuyuuhakusyo</Roman>
      </Word>
    </WordList>
  </Result>
</ResultSet>
Connection closed by foreign host.
#3

Updated by みぞ @mizo0203 over 2 years ago

WebAPI の使い方(GETリクエスト): https://developer.yahoo.co.jp/appendix/request/rest/get.html

#4

Updated by みぞ @mizo0203 over 2 years ago

  • Copied to UnitTest #472: 「幽遊白書」がヒットしない added
#5

Updated by 古明地こいし @redmizo_info over 2 years ago

Commit: e14bc3b6c226e4d9ed139f19d00d2f3237c88f47
https://github.com/mizo0203/google-home-shiritori/commit/e14bc3b6c226e4d9ed139f19d00d2f3237c88f47
Author: みぞ@CrazyBeatCoder mizo0203@mizo0203.com
Date: 2018-12-06 (Thu, 06 Dec 2018)

Log Message:


fix(*.py): Added to get reading kana from Japanese input from dialogflow. fixs #469 @4.0h #472 @1.0h

#6

Updated by 古明地こいし @redmizo_info over 2 years ago

Commit: e14bc3b6c226e4d9ed139f19d00d2f3237c88f47
https://github.com/mizo0203/google-home-shiritori/commit/e14bc3b6c226e4d9ed139f19d00d2f3237c88f47
Author: みぞ@CrazyBeatCoder mizo0203@mizo0203.com
Date: 2018-12-06 (Thu, 06 Dec 2018)

Log Message:


fix(*.py): Added to get reading kana from Japanese input from dialogflow. fixs #469 @4.0h #472 @1.0h

#7

Updated by 古明地こいし @redmizo_info over 2 years ago

Commit: e14bc3b6c226e4d9ed139f19d00d2f3237c88f47
https://github.com/mizo0203/google-home-shiritori/commit/e14bc3b6c226e4d9ed139f19d00d2f3237c88f47
Author: みぞ@CrazyBeatCoder mizo0203@mizo0203.com
Date: 2018-12-06 (Thu, 06 Dec 2018)

Log Message:


fix(*.py): Added to get reading kana from Japanese input from dialogflow. fixs #469 @4.0h #472 @1.0h

#8

Updated by みぞ @mizo0203 over 2 years ago

  • Status changed from 新規 to 完了
  • % Done changed from 0 to 100

Also available in: Atom PDF