COMPUTER LANGUAGE - PowerPoint PPT Presentation

About This Presentation
Title:

COMPUTER LANGUAGE

Description:

NEWSPAPER AD: Our bikinis are exciting; they are simply the tops. (Fromkin Rodman Hyams 403) ... This is refered to as the 'Vulcan Nerve Pinch' from Star Trek. ... – PowerPoint PPT presentation

Number of Views:140
Avg rating:3.0/5.0
Slides: 57
Provided by: publi5
Category:

less

Transcript and Presenter's Notes

Title: COMPUTER LANGUAGE


1
COMPUTER LANGUAGE
  • by Don L. F. Nilsen
  • and Alleen Pace Nilsen

2
Verbal Literacyvs. Number Literacy
3
BOTTOM-UP AND TOP-DOWN PROCESSING
  • Bottom-up processing relates to decoding. You
    start with the actual sounds, letters, morphemes,
    etc. and figure out the words, phrases, clauses,
    sentences, paragraphs, etc.
  • Top-down processing is based on reasoning. You
    make a generalization and see how well the
    sounds, letters, morphemes, etc. support your
    generalization.
  • (Fromkin Rodman Hyams 369)

4
  • Top-down reasoning is powerful, but it can be
    dangerous if it is not accompanied by bottom-up
    reasoning.
  • For example, Otto Jesperson assumed that men were
    better thinkers than women.
  • He conducted an experiment in which men and women
    read a story and were given a quiz.

5
  • The women responded more quickly and more
    accurately than the men, which was not what
    Jacobson had expected.
  • So he concluded that womens minds have vacant
    chambers that mens minds dont have.
  • This allowed Jacobson to account for his evidence
    while at the same time not disproving his
    original hypothesis that men were better thinkers
    than women.

6
COMPUTER WORDS AND METAPHORS
  • COMPUTER WORDS bits, bytes, code police,
    cyberspace, future shock, hackers, hard copy,
    menu, third wave, user-friendly
  • COMPUTER METAPHORS 42, bug, cookies, GIGO, great
    runes, heavy wizardry, Lotus Software, Melvyl
    (California Library System), a sagan, snail mail,
    Sorcerers Apprentice mode, Trojan Horse, USLT,
    vulcan nerve pinch, web, YABA compatible

7
CONCORDANCE
  • A Concordance checks for word frequency and word
    associations.
  • Word associations are determined by providing a
    window of three words (more or less) on each side
    of the targeted word.
  • (Fromkin Rodman Hyams 379)

8
ELIZA
  • ELIZA is a program designed to pass the turing
    test. If a person communicating with ELIZA
    cannot tell whether or not ELIZA is a human, then
    ELIZA passes the turing test.
  • ELIZA claims to be a psychiatrist talking to a
    patient. ELIZA, like a psychiatrist, is
    attempting to get rather than give information

9
  • PATIENT Men are all alike.
  • ELIZA In what way?
  • PATIENT Theyre always bugging me about
    something or other.
  • ELIZA Can you think of a specific example?
  • PATIENT Well, my boyfriend made me come here.
  • ELIZA Your boyfriend made you come here?
  • PATIENT He says Im depressed much of the time.
  • ELIZA I am sorry to hear that you are depressed.
  • (Fromkin Rodman Hyams 389)

10
  • Victor Raskin fooled ELIZA by saying, I dont
    like my mother and I dont want to talk about
    her.
  • ELIZA responded, Tell me more about your mother.
  • (Nilsen Nilsen Combs 199)

11
CIRCUIT FIX-IT SHOP
  • Twenty-five years after ELIZA, a program named
    Circuit Fix-It Shop was developed
  • COMPUTER This is the circuit fix-it shop. How
    may I help you?
  • TECHNICIAN I need to fix the RS111 circuit.
  • COMPUTER I am familiar with that circuit. The
    LED is supposed to be displaying alternatively
    blinking one and seven.
  • TECHNICIAN Where is the LED?

12
  • COMPUTER In the middle right of the blue region
    is the LED.
  • TECHNICIAN No light.
  • COMPUTER What is the switch at when the LED is
    off?
  • TECHNICIAN The switch is down.
  • COMPUTER You put up the switch.
  • (Fromkin Rodman Hyams 390)

13
MORE SOPHISTICATED PROGRAMS
  • Today more sophisticated programs are needed.
    One such program is the little Paperclip guy that
    answers questions in Microsoft Word.
  • Another sophisticated program is Script Model
    Grammar designed by Roger Schank and Robert
    Abelson and modified by linguist Victor Raskin
    and others at Purdue University and elsewhere.

14
SAM SCRIPT APPLIER MECHANISM
  • Of course sentences need to be parsed in
    Artificial Intelligence. But constituents larger
    than a sentence must be parsed as well.
  • One of the devices for doing this discourse
    parsing is the Script Applier Mechanism devised
    by Roger Schank and Robert Abelson and modified
    for humor and language play by Victor Raskin and
    others.

15
  • Note that a play or a movie has a script for the
    actors to follow.
  • The script in Artificial Intelligence is the
    same, but it is much simpler. It is a mundane
    script.
  • The Restaurant Script, for example involves a
    customer, a server, a cashier, etc.

16
  • Props in the Restaurant Script include the
    restaurant, the table, the menu, the food, the
    check, the payment, the tip, etc.
  • The sequence of actions is as follows
  • 1. Customer goes to restaurant.
  • 2. Customer goes to table.
  • 3. Server brings menu.
  • 4. Customer orders food.
  • 5. Server brings food.
  • 6. Customer eats food.
  • 7. Server brings check.
  • 8. Customer leaves tip for server.
  • 9. Customer gives payment to cashier.
  • 10. Customer leaves restaurant.
  • (Hendrix and Sacerdote 654)
  • (Nilsen Nilsen Combs 199)

17
  • There are two exciting things about the Script
    Applier Mechanism. First, it will be able to
    spot anything that is missing, added, or out of
    place in the sequence of events and ask, Whats
    up.
  • Second, it is able to handle two scripts at the
    same time, so that it is capable of dealing with
    jokes, language play, satire, irony, sarcasm,
    parody, paradox and double entendre in general.

18
PARSING PROBLEMS
  • GARDEN PATH
  • The horse raced past the barn fell.
  • After the child visited the doctor prescribed a
    course of injections.
  • The doctor said the patient will die yesterday.
  • (Fromkin Rodman Hyams 365, 373)
  • EMBEDDING Never imagine yourself not to be
    otherwise than what it might appear to othersto
    be otherwise.
  • (Lewis Carrolls Alices Adventures in
    Wonderland)
  • (Fromkin Rodman Hyams 365)

19
RIGHT-BRANCHING VS. EMBEDDING
  • RIGHT BRANCHING This is the dog that worried the
    cat that killed the rat that ate the malt that
    lay in the house that Jack built.
  • EMBEDDING Jack built the house that the malt
    that the rat that the cat that the dog worried
    killed ate lay in.
  • NOTE Multiple embedding is OK for a computer, but
    not OK for the human brain.
  • (Fromkin Rodman Hyams 373-374)

20
  • ANOMALOUS WORDS A sniggle blick is procking a
    slar.
  • (Fromkin Rodman Hyams 368)
  • METANALYSIS (incorrect phrase breaking)
  • grade A vs. grey day
  • night rate vs. nitrate
  • (Fromkin Rodman Hyams 370)
  • NOTE English adder and apron were borrowed
    incorrectly from the French expressions un
    nadder and un naperon respectively

21
  • AMBIGUOUS SYNTAX IN NEWSPAPER HEADLINES
  • Teacher Strikes Idle Kids
  • Enraged Cow Injures Farmer with Ax
  • Killer Sentenced to Die for Second Time in 10
    Years
  • Stolen Painting Found by Tree
  • (Fromkin Rodman Hyams 372)

22
REAL-WORLD KNOWLEDGE
  • Explain why the following sentences are ambiguous
    to a computer but not to a human
  • A cheesecake was on the table. It was delicious
    and was soon eaten.
  • SIGN IN A CHURCH For those of you who have
    children and dont know it, we have a nursery
    downstairs.
  • NEWSPAPER AD Our bikinis are exciting they are
    simply the tops.
  • (Fromkin Rodman Hyams 403)

23
  • ANTISMOKING CAMPAIGN SLOGAN Its time we make
    smoking history.
  • Do you know the time?
  • Concerned with spreading violence, the president
    called a press conference.
  • The ladies of the church have cast off clothing
    of every kind and they may be seen in the church
    basement Friday.
  • (Fromkin Rodman Hyams 403)

24
AMBIGUOUS NEWSPAPER HEADLINES
  • Red Tape Holds Up New Bridge
  • Kids Make Nutritious Snacks
  • Sex Education Delayed, Teachers Request Training
  • (Fromkin Rodman Hyams 403)

25
SEMANTIC PRIMING
  • In the human brain, the word doctor is more
    easily and more completely processed if it is
    preceded by nurse than if it is preceded by
    flower.
  • This is because doctor and nurse are located
    in the same part of the mental lexicon.
  • (Fromkin Rodman Hyams 371)
  • This same feature could easily be built into
    Artificial Intelligence.

26
SPEECH RECOGNITION SPEECH SYNTHESIS
  • Computational phonetics and phonology has two
    concerns. The first is with programmng computers
    to analyze the speech signal into its component
    phones and phonemes.
  • The second is to send the proper signals to an
    electronic speaker so that it enunciates the
    phones of the language and combines them into
    morphemes and words.
  • The first of these is speech recognition the
    second is speech synthesis.
  • (Fromkin Rodman Hyams 384)

27
  • Machines whichimitate human speech, are the
    most difficult to construct, so many are the
    agencies engaged in uttering even a single
    wordso many are the inflections and variations
    of tone and articulation, that the mechanician
    finds his ingenuity taxed to the utmost to
    imitate them.
  • (Fromkin Rodman Hyams 385)

28
  • TO SYNTHESIZE SPEECH
  • 1. Start with a tone at the same frequency as
    vibrating vocal cords (higher if a womans or
    childs voice is being synthesized, lower for a
    mans)
  • 2. Emphasize the harmonics corresponding to the
    formants required for a particular vowel, liquid,
    or nasal quality.
  • 3. Add hissing or buzzing for fricatives.
  • 4. Add nasal resonances for nasal sounds.
  • 5. Temporarily cut off sound to produce stops and
    affricates.
  • (Fromkin Rodman Hyams 386)
  • A Sound Spectrogram will give an indication of
    some of the variables of analyzing or
    synthesizing speech

29
SOUND SPECTROGRAM(Fromkin Rodman Hyams 366)
30
SPELL CHECKER
  • I have a spelling checker.
  • It came with my PC.
  • It plane lee marks four my revue
  • Miss steaks aye can knot sea.
  • (Fromkin Rodman Hyams 381)
  • Explain why the spell checker is not working in
    the poem above.

31
THEORIES AND MODELS
  • In The Physicists Conception of Nature, Manfred
    Eigen said, A theory has only the alternative of
    being right or wrong. A model has a third
    possibility it may be right, but irrelevant.
  • (Fromkin Rodman Hyams 397)
  • Explain why a theory for Artificial Intelligence
    must be rigorous and at the same time allow for
    language play. In AI, are rigor and language
    play compatible concepts or not?

32
TRANSLATION
  • Translation is more than word-for-word
    replacement. Often there is no equivalent word
    in the target language, and the order of words
    may differ, as in translating from an SVO
    language like English to an SOV language like
    Japanese. There is also difficulty in
    translating idioms, metaphors, jargon, and so
    on.
  • (Fromkin Rodman Hyams 382)

33
  • Machine translation is often impeded by lexical
    and syntactic ambiguities, structural disparities
    between the two languages, morphological
    complexities, and other cross-linguistic
    differences.
  • (Fromkin Rodman Hyams 382)
  • In the following examples consider what
    information must be taken into consideration for
    better machine translation

34
  • BUCHAREST HOTEL The lift is being fixed for the
    next day. During that time we regret that you
    will be unbearable.
  • SWISS NUNNERY HOSPITAL The nuns harbor all
    diseases and have no respect for religion.
  • GERMAN HOTEL All the water has been passed by
    the manager.
  • ZURICH HOTEL Because of the impropriety of
    entertaining guest of the opposite sex in the
    bedroom, it is suggested that the lobby be used
    for this purpose.
  • TURKEY The government bans the smoking of
    children.
  • (Fromkin Rodman Hyams 382)

35
  • Having Fun with Computer Terminology

36
1024
  • When Alan Schoenfeld of the University of
    California at Berkeley attended a conference on
    Artificial Intelligence, he was given Hotel Room
    Number 1024.
  • Wow! he said.
  • 1024 is 2 to the tenth power. It is a kilobyte.
  • (Nilsen Nilsen 98)

37
ACRONYMS
  • Acronyms are so common in computer terminology
    that programmers make fun of them.
  • TLA stands for Three Letter Acronym.
  • YABA stands for Yet Another Bloody Acronym.
  • YABA Compatible means that the initials can be
    pronounced easily are are not obscene.
  • (Nilsen Nilsen 99)

38
CHAT GROUPS
  • Linguist Susan Herring at the University of
    Texas, Arlington studied the humor in chat
    groups. Her results were as follows
  • imaginary situations 20 percent
  • a mock persona 14 percent
  • teasing 13 percent
  • irony 6 percent
  • name play 5 percent
  • silliness 4 percent
  • real situations 3 percent
  • riddles 2 percent
  • pretended misunderstandings 2 percent
  • puns 1 percent
  • (Nilsen Nilsen 167)

39
EMOTICONS
  • In conversation we can show our emotions, but on
    the internet this is difficult, so we use
    emoticons
  • -) Smilling
  • -)))))))))) Really Smiling
  • -) Winking
  • - Kissing
  • I-0 Yawning
  • - Tongue-Tied
  • - Crying
  • -/ Undecided
  • -II Angry
  • (Nilsen Nilsen 100)

40
SCIENCE FICTION AND FANTASY
  • Many computer terms come from Science Fiction and
    Fantasy
  • A huge network packet is a Godzillagram from
    Godzilla
  • Teenage hackers are Munchkins from The Wizard
    of Oz
  • A mischievlous program is called a wabbit from
    Elmer Fudds You wascawwy wabbit.
  • A program that repeats itself indefinitely is
    said to be in Sorcerers Apprentice Mode from
    Fantasia
  • The meaning of life, truth, and everything is
    42 from a computer in Douglas Adams novel.
  • (Nilsen Nilsen 99)

41
  • When someone goes onto the internet to get
    information that is easily available from the
    library the Cyber Police might say, USLT. This
    means Use the Source, Luke! from Starwars.
  • Another word from Starwars is an Obi-Wan Error.
    This comes from the name Obi-Wan Kenobi and
    refers to an off-by-one code, as in 2001 A
    Space Odyssey where the computer is named HAL.
    This comes from IBM but is the three letters
    before I, B, and M.
  • (Nilsen Nilsen 99)

42
  • In computer terminology a soft boot refers to the
    hitting of Control, Alternate and Delete at
    the same time.
  • This is refered to as the Vulcan Nerve Pinch
    from Star Trek.
  • Droid from Android has become a suffix in
    such words as trendroids, who follow trends,
    and sales droids which promise customers things
    that can be delivered or are useless.
  • The code police and net police are named
    after the thought police in George Orwells
    1984.

43
SIGNATURES
  • People like to create enigmatic and puzzing
    signatures. One user named Eddie follows his
    signature with Ceci nest pas une signature.
  • This is an allusion to a painting of a pipe by
    René Magritte with the disclaimer, Ceci nest
    pas une pipe.
  • (Nilsen Nilsen 166)

44
TEXT MESSAGING
  • Since numbers and letters require more than a
    single stroke on cell phones, acronyms are often
    used
  • AFAIK As far as I know
  • BTW By the way
  • CUL or CUL8R See you later
  • GIGO Garbage In Garbage Out
  • GFR Grime File Reaper
  • LOL Lots of Laughs
  • OIC Oh, I see

45
  • POS Parent Over Shoulder
  • ROTF Rolling on the Floor
  • ROTFLMAO Rolling on the Floor Laughing My Ass
    Off
  • RUOK Are you OK?
  • TIA Thanks in Advance
  • WYSIWYG What you See Is What You Get
  • and
  • BCNU Be Seein you
  • (Nilsen Nilsen 99)

46
TWENTE, NETHERLANDS
  • Every year there is an annual workshop on
    Language Technology at the University of Twente.
  • In 1996 this workshop was devoted to Automatic
    Interpretation and Generation of Verbal Humor.
  • The papers at this conference had such titles as

47
  • Why do People Use Irony?
  • Password Swordfish Verbal Humour in the
    Interface.
  • Computer Implementation of the General Theory of
    Verbal Humor.
  • Humor Theory beyond Jokes.
  • Speculations on Story Puns.
  • Relevance Theory and Humorous Interpretations.
  • What Sort of a Speech Act is the Joke?
  • A Neural Resolution of the Incongruity-Resoulutio
    n Theory of Humor
  • Humorous Analogy Modeling the Devils
    Dictionary.
  • Why Is a Riddle Not Like a Metaphor? and
  • An Attempt at Natural Humor from a Natural
    Language Robot.
  • (Nilsen and Nilsen 98)

48
VIRUS JOKES
  • ATT Virus Every three minutes it tells you
    what great service you are getting.
  • MCI Virus Every three minutes it reminds you
    that youre paying too much for the ATT virus.

49
  • Paul Revere Virus This revolutionary virus does
    not horse around. It warns you of impending hard
    disk attackonce if by LAN, twice if by Cgt.
  • New World Order Virus Probably harmless, but it
    makes a lot of people really mad just thinking
    about it.
  • (Nilsen Nilsen 177)

50
!KURT VONNEGUT ON THE INTERNET
  • In August of 1997 a piece appeared on the
    Internet by Kurt Vonnegut.
  • When Vonneguts wife was given a copy of the
    article she was so pleased with her clever
    husband that she forwarded a copy to their
    children.
  • Vonnegut said that it was funny and wise and
    charming, but he said he never wrote it.

51
  • !!
  • The article had actually been published by Mary
    Schmich in the Chicago Tribune and then picked up
    and redistributed by a computer hacker.
  • Ian Fisher of The New York Times said that as
    long as readers thought the piece was Vonneguts,
    they viewed the Internet as a wonderful tool that
    could keep people in touch with each other.
  • But when they learned it was a hoax, their
    perception of the internet changed. The internet
    was now an unreliable hotbed of hoaxes and
    wild-eyed conspiracies.
  • Probably both opinions are true.
  • (Nilsen Nilsen 168)

52
!!!YOUTUBE
  • http//youtube.com/watch?v2Fe110Miz8

53
  • Web Site
  • Encyclopedia of 20th Century American Humor.
    http//www.greenwood.com/catalog/OXHUMOR.aspx

54
  • References 1.
  • Clark, Virginia, Paul Eschholz, and Alfred Rosa.
    Language Readings in Language and Culture, 6th
    Edition. New York, NY St. Martins Press, 1998.
  • English, Katharine, ed. Most Popular Web Sites
    The Best of the Net from A2Z. Indianapolis, IN
    Lycos Press, 1996.
  • Fromkin, Victoria, Robert Rodman, and Nina Hyams.
    Language Processing Humans and Computers. An
    Introduction to Language, 8th Edition. Boston,
    MA Thomson Wadsworth, 2007, 363-408.
  • Gralla, Preston. How the Internet Works.
    Emoryville, CA Ziff-Daivs Press, 1997.
  • Hendrix, Gary G., and Earl D. Sacerdoti.
    Natural-Languag Processing The Field in
    Perspective. in Language Introductory Readings,
    4th edition. Eds. Virginia P. Clark, Paul A.
    Eslchholz and Alfred F. Rosa. New York, NY St.
    Martins, 1985.
  • Hulstijn, J., and A. Nijholt eds. Twente Workshop
    on Language Technology 12 Automatic
    Interpretation and Generation of Verbal Humor.
    Twente, Netherlands Univ of Twente Dept of
    Computer Science, 1996.

55
  • References 2
  • Nilsen, Alleen Pace, and Don L. F. Nilsen.
    Computer Humor, and Internet Influences.
    Encyclopedia of 20th Century American Humor.
    Westport, CT Greenwood, 2000, 97-100 and
    165-168.
  • Nilsen, Don L. F., Alleen Pace Nilsen, and Nathan
    H. Combs. Teaching a Computer to Speculate.
    Computers and the Humanities. 22 (1988) 193-201.
  • Nilsen, Kelvin, and Alleen Pace Nilsen. Literary
    Metaphors and Other Linguistic Innovations in
    Computer Language (Clark, 166-176).
  • Raskin, Victor. Semantic Mechanisms of Humor.
    Boston, MA Reider/Kluwer, 1985.

56
  • References 3
  • Raymond, Eric S. The New Hackers Dictionary, 2nd
    Edition. Cambridge, MA MIT Press, 1993.
  • Roberts, Steven K. Artificial Intelligence. in
    Writing and Reading Across the Curriculum, 2nd
    Edition. Laurence Behrens and Leonard J. Rosen.
    Boston, MA Litle, Brown, 1985, 214-222.
  • Rosch, Eleanor. On the Internal Structure of
    Perceptual and Semantic Categories. in Cognitive
    Development and the Acquisition of Language. Ed.
    T. Moore. New york, NY Academic Press, 1973.
  • Schank, Roger C., and Robert Abelson. Scripts,
    Plans, Goals, and Understanding An Inquiry Into
    Human Knowledge Structures. Hillsdale, NJ
    Lawrence Erlbaum, 1977.
  • Siegel, David. Creating Killer Web Sites.
    Indianapolis, IN Hayden Books, 1996.
Write a Comment
User Comments (0)
About PowerShow.com