AI
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
#contents
*ワトソン処理手順 [#o72b4f38]
「質問の解析」→「解候補の生成」→「解答の根拠探し」→「確信...
**「質問の解析」 [#w8375995]
構文解析の上,照応解析も行っているとのこと.
日本語の解析で使えそうなツールについて考えてみる
***Yahooデベロッパーネットワーク「日本語形態素解析API」 [...
http://developer.yahoo.co.jp/webapi/jlp/
紹介記事
http://9jp.info/archives/9451
***PHPによる問い合わせコード [#kb045940]
$appId = 'アプリケーションID';
$sentence = '初めまして。僕の名前はバフ。 Yahooデベロッ...
$queryArr = array(
'appid' => $appId,
'sentence' => $sentence
);
$query = http_build_query($queryArr);
$requestUri = 'http://jlp.yahooapis.jp/MAService/V1/pars...
$resultXml = @simplexml_load_file($requestUri);
var_dump ($resultXml->ma_result->word_list);
***PHPによる問い合わせ結果 [#ja249fde]
object(SimpleXMLElement)[4]
public 'word' =>
array
0 =>
object(SimpleXMLElement)[3]
public 'surface' => string '初めまして' (length...
public 'reading' => string 'はじめまして' (leng...
public 'pos' => string '感動詞' (length=9)
1 =>
object(SimpleXMLElement)[5]
public 'surface' => string '。' (length=3)
public 'reading' => string '。' (length=3)
public 'pos' => string '特殊' (length=6)
2 =>
object(SimpleXMLElement)[6]
public 'surface' => string '僕' (length=3)
public 'reading' => string 'ぼく' (length=6)
public 'pos' => string '名詞' (length=6)
3 =>
object(SimpleXMLElement)[7]
public 'surface' => string 'の' (length=3)
public 'reading' => string 'の' (length=3)
public 'pos' => string '助詞' (length=6)
4 =>
object(SimpleXMLElement)[8]
public 'surface' => string '名前' (length=6)
public 'reading' => string 'なまえ' (length=9)
public 'pos' => string '名詞' (length=6)
5 =>
object(SimpleXMLElement)[9]
public 'surface' => string 'は' (length=3)
public 'reading' => string 'は' (length=3)
public 'pos' => string '助詞' (length=6)
**「解候補の生成」 [#f2f73b69]
質問に含まれる語との共起語などを,解候補にしているよう....
**「根拠探し」 [#k9a0f9e6]
解候補の語句を問題文の該当箇所に埋め込んだものと同じ内容...
**「確信度の計算」 [#zb30c365]
「観点」に重みを付け,確信度を求める.重みは,機械学習(...
**情報源 [#d0495d06]
ニュース記事,百科事典,シェイクスピアの戯曲,聖書,歌の...
シェイクスピアの戯曲,聖書ってところが,いかにも欧米人ら...
最終的には70GBとのこと.メモリに載せられる量と書いてある...
うちも大量にメモリの乗ったマシンを保有しているが,64GB超...
**前処理 [#t68c58d1]
事前に構文解析し関係抽出を行っておく.さすがに,リアルタ...
**情報元 [#m2bedc25]
http://e-biz.cocolog-nifty.com/blog/2011/06/ibm-watson-4d...
**参考文 [#n9a36f06]
・金山 博,武田浩一:Watson:クイズ番組に挑戦する質問応...
・S.K. Card: The Psychology of Human Computer Interaction...
終了行:
#contents
*ワトソン処理手順 [#o72b4f38]
「質問の解析」→「解候補の生成」→「解答の根拠探し」→「確信...
**「質問の解析」 [#w8375995]
構文解析の上,照応解析も行っているとのこと.
日本語の解析で使えそうなツールについて考えてみる
***Yahooデベロッパーネットワーク「日本語形態素解析API」 [...
http://developer.yahoo.co.jp/webapi/jlp/
紹介記事
http://9jp.info/archives/9451
***PHPによる問い合わせコード [#kb045940]
$appId = 'アプリケーションID';
$sentence = '初めまして。僕の名前はバフ。 Yahooデベロッ...
$queryArr = array(
'appid' => $appId,
'sentence' => $sentence
);
$query = http_build_query($queryArr);
$requestUri = 'http://jlp.yahooapis.jp/MAService/V1/pars...
$resultXml = @simplexml_load_file($requestUri);
var_dump ($resultXml->ma_result->word_list);
***PHPによる問い合わせ結果 [#ja249fde]
object(SimpleXMLElement)[4]
public 'word' =>
array
0 =>
object(SimpleXMLElement)[3]
public 'surface' => string '初めまして' (length...
public 'reading' => string 'はじめまして' (leng...
public 'pos' => string '感動詞' (length=9)
1 =>
object(SimpleXMLElement)[5]
public 'surface' => string '。' (length=3)
public 'reading' => string '。' (length=3)
public 'pos' => string '特殊' (length=6)
2 =>
object(SimpleXMLElement)[6]
public 'surface' => string '僕' (length=3)
public 'reading' => string 'ぼく' (length=6)
public 'pos' => string '名詞' (length=6)
3 =>
object(SimpleXMLElement)[7]
public 'surface' => string 'の' (length=3)
public 'reading' => string 'の' (length=3)
public 'pos' => string '助詞' (length=6)
4 =>
object(SimpleXMLElement)[8]
public 'surface' => string '名前' (length=6)
public 'reading' => string 'なまえ' (length=9)
public 'pos' => string '名詞' (length=6)
5 =>
object(SimpleXMLElement)[9]
public 'surface' => string 'は' (length=3)
public 'reading' => string 'は' (length=3)
public 'pos' => string '助詞' (length=6)
**「解候補の生成」 [#f2f73b69]
質問に含まれる語との共起語などを,解候補にしているよう....
**「根拠探し」 [#k9a0f9e6]
解候補の語句を問題文の該当箇所に埋め込んだものと同じ内容...
**「確信度の計算」 [#zb30c365]
「観点」に重みを付け,確信度を求める.重みは,機械学習(...
**情報源 [#d0495d06]
ニュース記事,百科事典,シェイクスピアの戯曲,聖書,歌の...
シェイクスピアの戯曲,聖書ってところが,いかにも欧米人ら...
最終的には70GBとのこと.メモリに載せられる量と書いてある...
うちも大量にメモリの乗ったマシンを保有しているが,64GB超...
**前処理 [#t68c58d1]
事前に構文解析し関係抽出を行っておく.さすがに,リアルタ...
**情報元 [#m2bedc25]
http://e-biz.cocolog-nifty.com/blog/2011/06/ibm-watson-4d...
**参考文 [#n9a36f06]
・金山 博,武田浩一:Watson:クイズ番組に挑戦する質問応...
・S.K. Card: The Psychology of Human Computer Interaction...
ページ名: