Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

28
JUST SAY IT! using language to communicate with the computer Hrvoje Simic, CROZ

Transcript of Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

Page 1: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

JUST SAY IT!using language to communicate with the computer

Hrvoje Simic, CROZ

Page 2: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 3: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 4: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 5: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 6: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

RECOGNITION IS EASY; RECALL IS HARDOriginal motivation for GUI

Recognise the Copy icon vs Recall the syntax of „cp” command

BUT:Sometimes, words come naturalLanguage is an intuitive way to express complex ideas

Page 7: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 8: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 9: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

WHAT DO WE USE KEYBOARDS FOR?Data entryKeyboard shortcutsText search

Page 10: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 11: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 12: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

VERBAL COMMUNICATION (USING LANGUAGE)Written or spokenNatural or artificialPrecise or tolerant

Page 13: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 14: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

5 => 5:00 10 => 0:10 10h => 10:00 5min => 0:05 90 => 1:30 2,5h => 2:30 5.25 => 5:15 25% => 2:00

Page 15: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 16: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 17: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 18: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 19: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 20: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

def input = repsep( statement, ";" ) def statement = startStmt | stopStmt | ftStmt | enterStmt def enterStmt = (dateRefs?) ~ repsep( log, "," ) def dateRefs = repsep( dateRef, "," ) <~ ":" def dateRef = dateRange | singleDay | weekPhrase def dateRange = singleDay ~ "-" ~ singleDay def singleDay = absoluteDate | relativeDay | weekDay def relativeDay = today | yesterday | dby | tomorrow | dat def weekDay = (relPrefix?) ~ weekName def weekPhrase = relPrefix <~ ("tjedan"|"week") def relPrefix = ("prošli"|"prošla"|"last"|"^") ^^^ -1 | ("ovaj"|"ova"|"this") ^^^ 0 | ("sljedeći"|"sljedeća"|"next") ^^^ 1

Page 21: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić
Page 22: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

iznos = <number>

valuta = {

EUR: € euro

HRK: kn hrk kuna

USD: $ dolar usd

}

vrsta_računa = {

T: tekući

G: žiro

D: devizni

}

== BuyCurrency ==

kupi <iznos/amount> <valuta/currency>

kupi <valuta/currency> <iznos/amount>

kupi <valuta/currency> iznos <iznos/amount>

<iznos/amount> <valuta/currency> kupi

iznos <iznos/amount> <valuta/currency> kupi

== ExchangeRate ==

tečaj <valuta/currency>

<valuta/currency> tečaj

trenutni tečaj <valuta/currency>

== ShowBalance ==

stanje <vrsta_računa/acctype>

stanje <vrsta_računa/acctype> računa

<vrsta_računa/acctype>

<vrsta_računa/acctype> stanje

<vrsta_računa/acctype> račun stanje

<vrsta_računa/acctype> račun

Page 23: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

Voice Verbal Voice GUI ???

Page 24: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

EVEN MORE CHANNELS!Command line ;-)SMSChatWeb ServicesCopy-paste!Script!

Page 25: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

VERBAL UI RESOURCESParsers for formal grammars

Information-dense entryDomain-specific languages

Support for natural languagesStemming Ignoring „stopwords”

Expression completion based on templatesVoice-to-text

Page 26: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

FUTURE OF VERBAL UIImproved Natural language processing support for:GrammarSynonims, antonyms, adjectivesOntologies

Proper artificial intelligence „understands” sentences

Page 27: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

WHY VERBAL UI?Use it where you need expresivness

Communicate more with less effortCommunicate with people using their language

Use it for speed and accessabilityComplement GUI

They each have their own strenghts

Page 28: Javantura v3 - Just say it – using language to communicate with the computer – Hrvoje Šimić

THANK YOU!

Feel free to contact me: [email protected]