Mozilla Ubiquity の国際化と次世代パーサ

3,789 views

Published on

Mozilla Labs のウェブを言葉でつなげる実験的プロジェクト ubiquity を紹介。国際化、最新パーサデザインについて発表。

第11回Mozilla拡張機能勉強会
2009年3月29日 東京

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,789
On SlideShare
0
From Embeds
0
Number of Embeds
159
Actions
Shares
0
Downloads
9
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Mozilla Ubiquity の国際化と次世代パーサ

  1. 1. mitcho @ 11 Mozilla 2009/03/29
  2. 2. ubiquity
  3. 3. : :
  4. 4. : :
  5. 5. : :
  6. 6. ... ubiquity =
  7. 7. ubiquity
  8. 8. ubiquity Mozilla Labs 2008 8 : : : Enso, QuickSilver, GNOME Do : ubiquibot http://ubiquity.mozilla.com https://wiki.mozilla.org/Labs/Ubiquity/
  9. 9. • ubiquity • ubiquity • • •( )
  10. 10. • • • LINK REL auto discovery •
  11. 11. • • UI (+ ) • •
  12. 12. • • JavaScript (python ) • •
  13. 13. • • • github • <link rel=’commands’/> • herd (= ):
  14. 14. : replace • 0.1.7 : Locked Down Feeds ( ) • • • •
  15. 15. ubiquity • • ubiquity i18n • https://wiki.mozilla.org/Labs/ Ubiquity/i18n • http://groups.google.com/group/ ubiquity-i18n
  16. 16. ubiquity • natural syntax ( ) • • • AppleScript ...
  17. 17. ubiquity • : OK • •
  18. 18. ubiquity • : OK • • • • s/ / /
  19. 19. ubiquity • • Principles and Parameters ( ) •
  20. 20. ubiquity : • • ubiquity (=command bank) • • http://mitcho.com/blog/projects/ ubiquity-i18n-questions-to-ask/
  21. 21. • Parser: The Next Generation • https://wiki.mozilla.org/User:Mitcho/ParserTNG • : http://mitcho.com/code/ubiquity/parser-demo/
  22. 22. • • • • • ( ) • Jono Overlord Verbs
  23. 23. step 1: • : add lunch with Dan to my calendar • : • :
  24. 24. step 2: : (google|googl|goog|goo|...|add|ad|a) : add lunch with Dan to my calendar : {V: add, args: “lunch with Dan to my calendar”}, {V: null, args: “add lunch with Dan to my calendar”}
  25. 25. step 3: (=clitic): : Envoyez le lettre à Pierre! Envoyez-le à Pierre! Envoyez-lui le lettre! Envoyez-le-lui!
  26. 26. step 4: 4.1 : {V: add, args: “lunch with Dan to my calendar”} lunch with Dan to my calendar lunch with Dan to my calendar lunch with Dan to my calendar lunch with Dan to my calendar
  27. 27. step 4: 4.2 : lunch with Dan to my calendar lunch with Dan to my calendar lunch with Dan to my calendar lunch with Dan to my calendar lunch with Dan to my calendar ...
  28. 28. step 4: 4.3 : lunch with Dan to my calendar {verb: ‘add’ args: { object: [‘lunch with Dan’, ‘calendar’], goal: ‘my calendar’ } }
  29. 29. step 4: 4.1 : args: “ ” ...
  30. 30. step 4: 4.2 : ...
  31. 31. step 4: 4.3 : {verb: ‘add’ args: { object: [‘ ’], goal: ‘ ’}}
  32. 32. step 5: noun type noun type ‘Dan’ → { contact: 1, arb: 0.7} : ‘goog’ → { service: 1, arb: 0.7} ’ → { location: 1, arb: 0.7} ‘ ‘ ’ (=score)
  33. 33. step 6: 6.1 6.2 : {verb: ‘add’ args: { object: [‘ ’], goal: ‘ ’}} add.args = { object: arb, goal: service} score = P(‘ ’,’arb’) * P(‘ ’,’service’) * ...
  34. 34. • Parser: The Next Generation • https://wiki.mozilla.org/User:Mitcho/ParserTNG • : http://mitcho.com/code/ubiquity/parser-demo/
  35. 35. mitcho mitcho@mitcho.com http://mitcho.com http://twitter.com/mitchoyoshitaka

×