![Page 1: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/1.jpg)
ubiquity:command the web with language言葉で操作するweb
mitchoMichael 芳貴 Erlewine
@ Tokyo 2.0, June 2009
![Page 2: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/2.jpg)
![Page 3: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/3.jpg)
ubiquity
![Page 4: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/4.jpg)
ubiquity
Q1. why natural language?どうして自然言語?
![Page 5: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/5.jpg)
ubiquity
Q1. why natural language?どうして自然言語?
Q2. how natural language?どう自然言語に対応するか?
![Page 6: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/6.jpg)
Q1. why natural language?どうして自然言語?
![Page 7: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/7.jpg)
Q1. why natural language?どうして自然言語?
![Page 8: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/8.jpg)
Q1. why natural language?どうして自然言語?
A1. for a better interfaceより良いインターフェースの為に
![Page 9: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/9.jpg)
![Page 10: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/10.jpg)
The web is offering more and morefunctionality and API’s...
...but how do you use them?
![Page 11: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/11.jpg)
増え続ける機能とAPI...
...どう活用するべきか?
![Page 12: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/12.jpg)
CC-BY-SA: flickr.com/photos/daveduarte/2678853923/
![Page 13: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/13.jpg)
CC-BY: flickr.com/photos/striatic/1629254/
![Page 14: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/14.jpg)
![Page 15: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/15.jpg)
?
![Page 16: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/16.jpg)
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.”
![Page 17: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/17.jpg)
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.”
![Page 18: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/18.jpg)
CC-BY-SA: flickr.com/photos/seanosh/3307290530/
エイザ・ラスキンが語るテキスト入力 インターフェイス
「...しかしこれはCUI自体の問題ではなく、
既存のCUIが分かりにくいだけかもしれない。
コマンドが覚えやすく、構文も寛容であれば、テキストインターフェイスも再検討の余地があるであろう。」
![Page 19: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/19.jpg)
CC-BY-SA: flickr.com/photos/seanosh/3307290530/
エイザ・ラスキンが語るテキスト入力 インターフェイス
「...しかしこれはCUI自体の問題ではなく、
既存のCUIが分かりにくいだけかもしれない。
コマンドが覚えやすく、構文も寛容であれば、テキストインターフェイスも再検討の余地があるであろう。」
![Page 20: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/20.jpg)
A natural language interface
自然言語インターフェース
therefore...
![Page 21: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/21.jpg)
ubiquityubiquity.mozilla.com
![Page 22: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/22.jpg)
![Page 23: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/23.jpg)
without ubiquity
ubiquityがない時
![Page 24: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/24.jpg)
without ubiquity
ubiquityがない時
![Page 25: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/25.jpg)
![Page 26: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/26.jpg)
![Page 27: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/27.jpg)
![Page 28: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/28.jpg)
without ubiquity
ubiquityがない時
![Page 29: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/29.jpg)
without ubiquity
ubiquityがない時
![Page 30: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/30.jpg)
![Page 31: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/31.jpg)
![Page 32: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/32.jpg)
![Page 33: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/33.jpg)
without ubiquity
ubiquityがない時
![Page 34: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/34.jpg)
without ubiquity
?ubiquityがない時
![Page 35: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/35.jpg)
![Page 36: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/36.jpg)
goal:
how?
![Page 37: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/37.jpg)
goal:accomplish more on the web
how?
![Page 38: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/38.jpg)
goal:accomplish more on the web
how?connect the web with language
![Page 39: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/39.jpg)
目的:ウェブをより有益に、より使いやすく
方法:言葉を使った自然なインターフェース
![Page 40: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/40.jpg)
![Page 41: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/41.jpg)
verbs*
*JavaScript
![Page 42: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/42.jpg)
Q1. why natural language?どうして自然言語?
A1. for a better interfaceより良いインターフェースの為に
![Page 43: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/43.jpg)
Q2. how natural language?どう自然言語に対応するか?
![Page 44: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/44.jpg)
Q2. how natural language?どう自然言語に対応するか?
![Page 45: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/45.jpg)
Q2. how natural language?どう自然言語に対応するか?
A2. a linguistically informed parser言語学的発想を生かしたパーサ
![Page 46: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/46.jpg)
Localizing ubiquityubiquityの国際化
• Bring this interface to the world この革命を世界に!
![Page 47: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/47.jpg)
Localizing ubiquityubiquityの国際化
![Page 48: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/48.jpg)
Localizing ubiquityubiquityの国際化
• Writing a parser is hard パーサを別々に書くのは面倒
![Page 49: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/49.jpg)
Localizing ubiquityubiquityの国際化
• Writing a parser is hard パーサを別々に書くのは面倒• Principles and Parameters approach
(=原理とパラメータ) 方式
![Page 50: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/50.jpg)
Localizing ubiquityubiquityの国際化
• Writing a parser is hard パーサを別々に書くのは面倒• Principles and Parameters approach
(=原理とパラメータ) 方式• a universal parser + individual
language settings 汎用パーサ+各言語の設定
![Page 51: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/51.jpg)
parser
![Page 52: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/52.jpg)
parser
花子にケーキを送って
![Page 53: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/53.jpg)
花子に 送ってケーキを
parser
![Page 54: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/54.jpg)
花子に 送ってケーキを
parser
VNN
![Page 55: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/55.jpg)
花子に 送ってケーキを
parser
VNNgoal object
![Page 56: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/56.jpg)
花子に 送ってケーキを
parser
VNNgoal object
V ( goal, object )
![Page 57: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/57.jpg)
![Page 58: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/58.jpg)
![Page 59: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/59.jpg)
![Page 60: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/60.jpg)
Specify arguments by semantic role
CmdUtils.CreateCommand({names:["email","mail"],arguments:[{role:"object",nountype:text},{role:"goal",nountype:contact}],...
Localizing ubiquity
![Page 61: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/61.jpg)
Specify arguments by semantic role
Localizing ubiquity
CmdUtils.CreateCommand({names:["email","mail"],arguments:[{role:"object",nountype:text},{role:"goal",nountype:contact}],...
![Page 62: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/62.jpg)
意味的役割 (semantic roles) を使用
CmdUtils.CreateCommand({names:["メール","送信"],arguments:[{role:"object",nountype:text},{role:"goal",nountype:contact}],...
ubiquityの国際化
![Page 63: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/63.jpg)
ubiquity 0.2with Parser 2
![Page 64: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/64.jpg)
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/
![Page 65: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/65.jpg)
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
![Page 66: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/66.jpg)
ubiquity.mozilla.com
![Page 67: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/67.jpg)
ubiquityubiquity.mozilla.com
![Page 68: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/68.jpg)
ubiquity
It’s your web あなたのウェブ...
ubiquity.mozilla.com
![Page 69: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/69.jpg)
ubiquity
It’s your web あなたのウェブ...
your tools あなたのツール...
ubiquity.mozilla.com
![Page 70: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/70.jpg)
ubiquity
It’s your web あなたのウェブ...
your tools あなたのツール...
your rules あなたのルール...
ubiquity.mozilla.com
![Page 71: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/71.jpg)
ubiquity
It’s your web あなたのウェブ...
your tools あなたのツール...
your rules あなたのルール...
and now, your language 今 あなたの言葉で
ubiquity.mozilla.com
![Page 72: Ubiquity: Command the Web with Language 言葉で操作するWeb](https://reader033.vdocuments.site/reader033/viewer/2022052906/558e29a91a28ab3d048b458e/html5/thumbnails/72.jpg)
Thank you!
mitchoMichael 芳貴 Erlewine by-nc
mitcho.com
@mitchoyoshitaka