ubiquity: command the web with language 言葉で操作するweb
DESCRIPTION
Here are the slides for my talk at the June 2009 meeting of Tokyo 2.0 (http://tokyo2point0.net) on Mozilla Labs' Ubiquity, an experimental natural language interface. Ubiquity と言う Mozilla Labs の実験的自然言語インターフェイスについて、2009年6月の Tokyo 2.0 で講演したスライドです。TRANSCRIPT
ubiquity:command the web with language言葉で操作するweb
mitchoMichael 芳貴 Erlewine
@ Tokyo 2.0, June 2009
ubiquity
ubiquity
Q1. why natural language?どうして自然言語?
ubiquity
Q1. why natural language?どうして自然言語?
Q2. how natural language?どう自然言語に対応するか?
Q1. why natural language?どうして自然言語?
Q1. why natural language?どうして自然言語?
Q1. why natural language?どうして自然言語?
A1. for a better interfaceより良いインターフェースの為に
The web is offering more and morefunctionality and API’s...
...but how do you use them?
増え続ける機能とAPI...
...どう活用するべきか?
CC-BY-SA: flickr.com/photos/daveduarte/2678853923/
CC-BY: flickr.com/photos/striatic/1629254/
?
CC-BY-SA: flickr.com/photos/seanosh/3307290530/
Aza Raskin on
text-based interfaces
“...maybe this confusion isn’t the fault of command-line interfaces in general; maybe it’s just the command lines we’re used to. If commands were memorable, and their syntax forgiving, perhaps we wouldn’t be so scared to reconsider these interface paradigms.”
CC-BY-SA: flickr.com/photos/seanosh/3307290530/
Aza Raskin on
text-based interfaces
“...maybe this confusion isn’t the fault of command-line interfaces in general; maybe it’s just the command lines we’re used to. If commands were memorable, and their syntax forgiving, perhaps we wouldn’t be so scared to reconsider these interface paradigms.”
CC-BY-SA: flickr.com/photos/seanosh/3307290530/
エイザ・ラスキンが語るテキスト入力 インターフェイス
「...しかしこれはCUI自体の問題ではなく、
既存のCUIが分かりにくいだけかもしれない。
コマンドが覚えやすく、構文も寛容であれば、テキストインターフェイスも再検討の余地があるであろう。」
CC-BY-SA: flickr.com/photos/seanosh/3307290530/
エイザ・ラスキンが語るテキスト入力 インターフェイス
「...しかしこれはCUI自体の問題ではなく、
既存のCUIが分かりにくいだけかもしれない。
コマンドが覚えやすく、構文も寛容であれば、テキストインターフェイスも再検討の余地があるであろう。」
A natural language interface
自然言語インターフェース
therefore...
ubiquityubiquity.mozilla.com
without ubiquity
ubiquityがない時
without ubiquity
ubiquityがない時
without ubiquity
ubiquityがない時
without ubiquity
ubiquityがない時
without ubiquity
ubiquityがない時
without ubiquity
?ubiquityがない時
goal:
how?
goal:accomplish more on the web
how?
goal:accomplish more on the web
how?connect the web with language
目的:ウェブをより有益に、より使いやすく
方法:言葉を使った自然なインターフェース
verbs*
*JavaScript
Q1. why natural language?どうして自然言語?
A1. for a better interfaceより良いインターフェースの為に
Q2. how natural language?どう自然言語に対応するか?
Q2. how natural language?どう自然言語に対応するか?
Q2. how natural language?どう自然言語に対応するか?
A2. a linguistically informed parser言語学的発想を生かしたパーサ
Localizing ubiquityubiquityの国際化
• Bring this interface to the world この革命を世界に!
Localizing ubiquityubiquityの国際化
Localizing ubiquityubiquityの国際化
• Writing a parser is hard パーサを別々に書くのは面倒
Localizing ubiquityubiquityの国際化
• Writing a parser is hard パーサを別々に書くのは面倒• Principles and Parameters approach
(=原理とパラメータ) 方式
Localizing ubiquityubiquityの国際化
• Writing a parser is hard パーサを別々に書くのは面倒• Principles and Parameters approach
(=原理とパラメータ) 方式• a universal parser + individual
language settings 汎用パーサ+各言語の設定
parser
parser
花子にケーキを送って
花子に 送ってケーキを
parser
花子に 送ってケーキを
parser
VNN
花子に 送ってケーキを
parser
VNNgoal object
花子に 送ってケーキを
parser
VNNgoal object
V ( goal, object )
Specify arguments by semantic role
CmdUtils.CreateCommand({names:["email","mail"],arguments:[{role:"object",nountype:text},{role:"goal",nountype:contact}],...
Localizing ubiquity
Specify arguments by semantic role
Localizing ubiquity
CmdUtils.CreateCommand({names:["email","mail"],arguments:[{role:"object",nountype:text},{role:"goal",nountype:contact}],...
意味的役割 (semantic roles) を使用
CmdUtils.CreateCommand({names:["メール","送信"],arguments:[{role:"object",nountype:text},{role:"goal",nountype:contact}],...
ubiquityの国際化
ubiquity 0.2with Parser 2
CatalàDansk
EnglishFrançaisItaliano
日本語PortuguêsSvenska中文
< your language here* >
ubiquity 0.2with Parser 2
* mitcho.com/blog/how-to/adding-your-language-to-ubiquity-parser-2/
CC-BY-NC-SA: flickr.com/photos/gsimmonsonca/3285952133/
Get involved!
ubiquity.mozilla.com
wiki.mozilla.org/Labs/Ubiquity
wiki.mozilla.org/Labs/Ubiquity/i18n
ubiquity.mozilla.com
ubiquityubiquity.mozilla.com
ubiquity
It’s your web あなたのウェブ...
ubiquity.mozilla.com
ubiquity
It’s your web あなたのウェブ...
your tools あなたのツール...
ubiquity.mozilla.com
ubiquity
It’s your web あなたのウェブ...
your tools あなたのツール...
your rules あなたのルール...
ubiquity.mozilla.com
ubiquity
It’s your web あなたのウェブ...
your tools あなたのツール...
your rules あなたのルール...
and now, your language 今 あなたの言葉で
ubiquity.mozilla.com
Thank you!
mitchoMichael 芳貴 Erlewine by-nc
mitcho.com
@mitchoyoshitaka