ubiquity: command the web with language 言葉で操作するweb

72
ubiquity: command the web with language 言葉で操作するweb mitcho Michael 芳貴 Erlewine @ Tokyo 2.0, June 2009

Upload: michael-yoshitaka-erlewine

Post on 27-Jun-2015

3.347 views

Category:

Technology


1 download

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

Page 1: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity:command the web with language言葉で操作するweb

mitchoMichael 芳貴 Erlewine

@ Tokyo 2.0, June 2009

Page 2: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 3: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity

Page 4: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity

Q1. why natural language?どうして自然言語?

Page 5: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity

Q1. why natural language?どうして自然言語?

Q2. how natural language?どう自然言語に対応するか?

Page 6: Ubiquity: Command the Web with Language 言葉で操作するWeb

Q1. why natural language?どうして自然言語?

Page 7: Ubiquity: Command the Web with Language 言葉で操作するWeb

Q1. why natural language?どうして自然言語?

Page 8: Ubiquity: Command the Web with Language 言葉で操作するWeb

Q1. why natural language?どうして自然言語?

A1. for a better interfaceより良いインターフェースの為に

Page 9: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 10: Ubiquity: Command the Web with Language 言葉で操作するWeb

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

増え続ける機能とAPI...

...どう活用するべきか?

Page 12: Ubiquity: Command the Web with Language 言葉で操作するWeb

CC-BY-SA: flickr.com/photos/daveduarte/2678853923/

Page 13: Ubiquity: Command the Web with Language 言葉で操作するWeb

CC-BY: flickr.com/photos/striatic/1629254/

Page 14: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 15: Ubiquity: Command the Web with Language 言葉で操作するWeb

?

Page 16: Ubiquity: Command the Web with Language 言葉で操作するWeb

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

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

CC-BY-SA: flickr.com/photos/seanosh/3307290530/

エイザ・ラスキンが語るテキスト入力 インターフェイス

「...しかしこれはCUI自体の問題ではなく、

既存のCUIが分かりにくいだけかもしれない。

コマンドが覚えやすく、構文も寛容であれば、テキストインターフェイスも再検討の余地があるであろう。」

Page 19: Ubiquity: Command the Web with Language 言葉で操作するWeb

CC-BY-SA: flickr.com/photos/seanosh/3307290530/

エイザ・ラスキンが語るテキスト入力 インターフェイス

「...しかしこれはCUI自体の問題ではなく、

既存のCUIが分かりにくいだけかもしれない。

コマンドが覚えやすく、構文も寛容であれば、テキストインターフェイスも再検討の余地があるであろう。」

Page 20: Ubiquity: Command the Web with Language 言葉で操作するWeb

A natural language interface

自然言語インターフェース

therefore...

Page 21: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquityubiquity.mozilla.com

Page 22: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 23: Ubiquity: Command the Web with Language 言葉で操作するWeb

without ubiquity

ubiquityがない時

Page 24: Ubiquity: Command the Web with Language 言葉で操作するWeb

without ubiquity

ubiquityがない時

Page 25: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 26: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 27: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 28: Ubiquity: Command the Web with Language 言葉で操作するWeb

without ubiquity

ubiquityがない時

Page 29: Ubiquity: Command the Web with Language 言葉で操作するWeb

without ubiquity

ubiquityがない時

Page 30: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 31: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 32: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 33: Ubiquity: Command the Web with Language 言葉で操作するWeb

without ubiquity

ubiquityがない時

Page 34: Ubiquity: Command the Web with Language 言葉で操作するWeb

without ubiquity

?ubiquityがない時

Page 35: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 36: Ubiquity: Command the Web with Language 言葉で操作するWeb

goal:

how?

Page 37: Ubiquity: Command the Web with Language 言葉で操作するWeb

goal:accomplish more on the web

how?

Page 38: Ubiquity: Command the Web with Language 言葉で操作するWeb

goal:accomplish more on the web

how?connect the web with language

Page 39: Ubiquity: Command the Web with Language 言葉で操作するWeb

目的:ウェブをより有益に、より使いやすく

方法:言葉を使った自然なインターフェース

Page 40: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 41: Ubiquity: Command the Web with Language 言葉で操作するWeb

verbs*

*JavaScript

Page 42: Ubiquity: Command the Web with Language 言葉で操作するWeb

Q1. why natural language?どうして自然言語?

A1. for a better interfaceより良いインターフェースの為に

Page 43: Ubiquity: Command the Web with Language 言葉で操作するWeb

Q2. how natural language?どう自然言語に対応するか?

Page 44: Ubiquity: Command the Web with Language 言葉で操作するWeb

Q2. how natural language?どう自然言語に対応するか?

Page 45: Ubiquity: Command the Web with Language 言葉で操作するWeb

Q2. how natural language?どう自然言語に対応するか?

A2. a linguistically informed parser言語学的発想を生かしたパーサ

Page 46: Ubiquity: Command the Web with Language 言葉で操作するWeb

Localizing ubiquityubiquityの国際化

• Bring this interface to the world この革命を世界に!

Page 47: Ubiquity: Command the Web with Language 言葉で操作するWeb

Localizing ubiquityubiquityの国際化

Page 48: Ubiquity: Command the Web with Language 言葉で操作するWeb

Localizing ubiquityubiquityの国際化

• Writing a parser is hard パーサを別々に書くのは面倒

Page 49: Ubiquity: Command the Web with Language 言葉で操作するWeb

Localizing ubiquityubiquityの国際化

• Writing a parser is hard パーサを別々に書くのは面倒• Principles and Parameters approach

(=原理とパラメータ) 方式

Page 50: Ubiquity: Command the Web with Language 言葉で操作するWeb

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

parser

Page 52: Ubiquity: Command the Web with Language 言葉で操作するWeb

parser

花子にケーキを送って

Page 53: Ubiquity: Command the Web with Language 言葉で操作するWeb

花子に 送ってケーキを

parser

Page 54: Ubiquity: Command the Web with Language 言葉で操作するWeb

花子に 送ってケーキを

parser

VNN

Page 55: Ubiquity: Command the Web with Language 言葉で操作するWeb

花子に 送ってケーキを

parser

VNNgoal object

Page 56: Ubiquity: Command the Web with Language 言葉で操作するWeb

花子に 送ってケーキを

parser

VNNgoal object

V ( goal, object )

Page 57: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 58: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 59: Ubiquity: Command the Web with Language 言葉で操作するWeb
Page 60: Ubiquity: Command the Web with Language 言葉で操作するWeb

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

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

意味的役割 (semantic roles) を使用

CmdUtils.CreateCommand({names:["メール","送信"],arguments:[{role:"object",nountype:text},{role:"goal",nountype:contact}],...

ubiquityの国際化

Page 63: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity 0.2with Parser 2

Page 64: Ubiquity: Command the Web with Language 言葉で操作するWeb

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

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

ubiquity.mozilla.com

Page 67: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquityubiquity.mozilla.com

Page 68: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity

It’s your web あなたのウェブ...

ubiquity.mozilla.com

Page 69: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity

It’s your web あなたのウェブ...

your tools あなたのツール...

ubiquity.mozilla.com

Page 70: Ubiquity: Command the Web with Language 言葉で操作するWeb

ubiquity

It’s your web あなたのウェブ...

your tools あなたのツール...

your rules あなたのルール...

ubiquity.mozilla.com

Page 71: Ubiquity: Command the Web with Language 言葉で操作するWeb

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

Thank you!

mitchoMichael 芳貴 Erlewine by-nc

mitcho.com

@mitchoyoshitaka