toward a universal text input method for the ubiquitous … · 2011. 11. 13. · sentence-based...

72
Toward a universal text input method for the Ubiquitous Computing Age Toshiyuki Masui Keio University [email protected] http://pitecan.com/ http://3memo.com/masui/wtim November 13, 2011

Upload: others

Post on 23-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Toward a universal text input methodfor the

Ubiquitous Computing Age

Toshiyuki MasuiKeio University

[email protected]://pitecan.com/

http://3memo.com/masui/wtim

November 13, 2011

Page 2: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Self introduction

Working on user interface technologies @ Keio Univ, Japan.Worked at various companies and organizations

Fujitsu, Sharp, Sony, AIST, Apple,Developed various text input systems

For Japanese mobile phonesFor iPhone

Page 3: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Today's talk

My experience on developing Japanese text input systems

Page 4: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

“POBox” on Japanese Android

Page 5: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Masui's Activities

Developing various UI systemsRunning useful Web servicesWriting papers、magazine articles、Web articlesDeveloping techniques for ubiquitous computing

Page 6: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Research topics

Predictive user interfaceInformation visualizationInformation retrievalText input systemsCommunication systemsUbicomp deviesAuthentication systemsNatural language processing

Page 7: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Masui's Web services

PracticalNot research-oriented

Useful for Masui's activitiesHopefully useful for everybody

Page 8: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Masui's Web services

Communication systemsHondana.org, QuickML, Gyazz, Gyamm

AuthenticationQuiz-based authentication

UtilitiesGyazo, 3Memo, Feed-TV

Visualization / Information retrievalAkimboFinder, PhotoBrowser, Lexierra, LensBar,SmoothSnap, Gyaim

Page 9: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Gyazo - Instant image catpture + upload

Page 10: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

LensBar - Zooming information retrieval

Easy to find a word in a dictionary

Page 11: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Research trends on text input

Small devicesMobile environmentUsing few keys

Page 12: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Papers on text input

New papers published every yearSame group of people writing papers

2 papers at UISTReal innovation is rare

Page 13: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

1Line Keyboard

Frank Chun Yat Li, UIST2011

Page 14: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

H4-Writer

Scott MacKenzie, UIST2011

Page 15: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

EdgeWrite

J. O. Wobbrock, UIST2003 / CHI2006

Page 16: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

LURD-Writer

Torsten Felzer, ASSETS 2006

Page 17: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Swype

Video

Page 18: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

ShapeWriter

Page 19: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Problems

Who uses them?Are authors really using their systems?Are they really “eating their own dog food?”

Page 20: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

In my case...

Using my own IME everywhere / every dayon Macon Android phoneon iPhone/iPadon Old mobile phoneon Windows

Page 21: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Universal Design (UD)

Designing one system for everybodyPeople with dexterityOld peopleSmall childrenPeople with handicaps

Page 22: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

UD Princeples (Ronald Mace)

Equitable useFlexibility in useSimple and intuitivePerceptible informationTolerance for errorLow physical effortSize and space for approach and use

Page 23: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Input systems should be universallydesigned

Same IM for everybody, every situationPeople with one/two hands

Same IM for various environmentsFor PCs and phonesFor different languages

Page 24: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

UD in text input

For everybody, everywhereBased on a simple flexible techniqueWorks for various languagesWorks for non-languages

Page 25: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Restrictions in the UbiComp environment

Slow inputInaccurate inputSingle-handedSmall number of keysSmall display

Page 26: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Current Japanese text input systems

Very complicatedMany buttons and function keysMany conversion modes

Different interface for different devicesPC vs. mobile phonesNo shared dictionary

Difficult to customize

Page 27: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Why is it complicated?

30+ years of confusionIntegration of old interface

Integration with applicationApplication context should be consideredKeystroke conflicts

Sentence-based conversion (連文節変換)Sentence-based text input using NL techniquesVery popular, but full of problems

Page 28: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Sentence-based Japanese IM (SBIM)

Convert phonems into a Japanese textLong years of NL research historySometimes works great

"atsuinabe" (hot pan) => 熱い鍋"atsuihi" (hot day) => 暑い日"atsuihon" (thick book) => 厚い本

Page 29: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Problems of SBIM (1)

Spelling errors not allowedDifficult to use without a good reliable keyboard

Page 30: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Problems of SBIM (2)

Many keystrokes required"toukyoumade" for "東京まで(to Tokyo)""tky" should be enough for "東京"

Page 31: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Problems of SBIM (3)

Error correction inevitable"kyouhaishaniitta"

"kyou haisha ni itta" (I saw a dentist today)"kyouha isha ni itta" (I saw a doctor today)

Can't tell which is correct, unless the system knows where IwentAn interface required to tell where the gap is

Page 32: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Problems of SBIM (4)

Works for a single languageNo dialect allowede.g. "I couldn't eat it"

Tokyo: "taberaremasendeshita"=> "食べられませんでした"Kyoto/Osaka: "kuehenkatten"=> "食えへんかってん"

Page 33: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Problems of SBIM (5)

Word registration not easyUsers should know grammattical knowledge

Page 34: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Problems of SBIM

No spelling error allowedMany keystrokes requiredError corrections inevitableLanguage-dependentWord registration difficult⇒ Far from universal

Page 35: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Advantages of SBIM

Technically interestingYou can write papers!

Intuitive to novice usersJust enter the pronunciation

Impressive at firstLooks very intelligentAnnoying in the long run

Page 36: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

SBIM

Not universalWas okay in the PC ageNot ideal for UbiComp age

Page 37: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Grand goal of IM

Simple + UniversalUse a simple and flexible technique everywhere

Page 38: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Ideal text input systems

UniversalAll the people use the same system everywhereUse the same system for various situations

one hand / two handsstandard KB / small KB

Use one dictionary for all devices

Page 39: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Ideal text input systems (Cont'd)

IntuitiveIntuition == ExperienceShould not very different from old methods

SimpleMinimum typingSimple UI

Page 40: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Ideal text input systems (Cont'd)

Use resources on the NetSharing dictionaries by peopleUsing database and IR systems on the net

Google searchWikipediaWeb corpus

Page 41: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Ideal text input systems (Cont'd)

Simple customizationSame technique for various languages

Same method for Japanese / Chinese / Korean...No special feature for each languageWorks for dialects and even image input

Page 42: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Techniques for universal text input

IR techniquesGetting data from dictionaries and corpuses

Input predictionPredict next words and phrases

Minimize user interactionUse smart input devices

Page 43: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

IR and IM

Result of IR can be used for IMTrue for any input devices, any languages

Good IR systems can be used as good IMA good image retrieval system is a good image inputsystem

IM dictionary is good for IR

Page 44: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Predictive IF

Eliminate operations by predicting what people will doe.g. "tok" => "Tokyo"

simplest predictionor called 'keyword completion'

Page 45: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Example: Dynamic Macro

If you do something twice, chances are you do it one moretime

Page 46: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Predictive text input

Setup IR query with simple operationsDynamic query of IR resultsList the results as input candidatesUse approximate pattern matching

Get "Mediterranean" from "m d t r n"

Page 47: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Source of the prediction

User's contextUsage historyCorpusSearch history

Page 48: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Masui's input systems

POBoxPalm, mobile phones, Mac, Windows, Emacs

Soft KB + handwriting recognitionFew-key text inputImage inputIM on browsersIM testbed on Mac

Page 49: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox: Predictive Operation Based OneXample

Approximate word searchSimple prediction

"tok" => "Tokyo""Hello" => "World"

Page 50: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Simple word prediction

Corpus: "Hello World"Input: "Hello"Prediction: "World"

Page 51: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox on Palm

Page 52: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox on Japanese mobile phone (2001)

Page 53: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox on Japanese Android phone (2010)

Page 54: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

"Flick input" on iPhone

An implementation of the "T-Cube" system

Page 55: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox on Windows

Page 56: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox on Emacs

Page 57: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox with handwriting recognition

Integration of software KB + handwriting recognition

Page 58: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Half-Qwerty

Page 59: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

One-hand Emacs

Page 60: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

4-key POBox

Page 61: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

T9+menu

Integration of T9-type input and menu

Page 62: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input
Page 63: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

POBox on a browser

Page 64: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Text input system + browsers

IM can be used as a menuSpecial IM for special serviceNo need to prepare IM for each machine

Page 65: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Multi-level flick

Page 66: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Gyaim

A simple IME on Mac600 lines of code in MacRuby + IMKit (Cocoa framework)"IME development made easy"

Page 67: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Findings

Simple IME is usually enoughUsing only simple input methods for yearsSame dictionary / algorithm

NL processing is sometimes very usefulIntegration with more universal methods is important

Page 68: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Unsolved problems

Shared dictionariesWord registraton methodsMore ntegration of IR and IM

Page 69: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Dictionary sharing in the network age

Share high-quality dictionary entriesWhen do people post a dictionary?

Hint: Wikipedia?

Page 70: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Word registration

Usually not easyNobody edits his dictionary

Special registration UI requiredIntegrating search and registration

Page 71: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Integration of IR and IM

Nobody writes texts from scratchFor doctors, lawers, bloggers, ...

Page 72: Toward a universal text input method for the Ubiquitous … · 2011. 11. 13. · Sentence-based Japanese IM (SBIM) ... Soft KB + handwriting recognition Few-key text input Image input

Conclusion

Let's solve all theproblems for the grand

goal!