Friday, February 13, 2015

TESOL presentation

I will be presenting at the TESOL International 2015 Electronic Village Classics in Toronto. 

Presentation Title: For Better or Worse: Grammar technology and the language learner
Presentation Description: This presentation shows the technology that students are using to learn and write, so that practitioners can adjust accordingly
Day and Time: Friday, March 27 2:30-3:20 PM
Computer Station: MAC 4
All invited!

Labels: , , , , , , ,

Thursday, February 12, 2015

GT app

So today in class we were talking about technological innovations in our field, and I happened to mention that in language learning, the big one was the new Google Translate app, which you could hold up to anyone who is speaking any language and it would translate it into any other language. Now by "any" I mean the top thirteen, and right away my colleague who was really interested in Mongolian was asking whether it had Mongolian, but of course the GT guys have barely started with Mongolian, let alone Kazakh, Hopi, Tongan, or Jamaican Creole.

After a few minutes a woman admitted that she had it, and she even showed her phone. Sure enough, there was an app on it and I spoke "Hello how are you" into it, and it translated it into Arabic. I took her word for it that it was reasonably good Arabic, not perfect, she said. By now students from the next class were entering and we were under pressure to leave; all this happened when class was essentially over. But when one student said, "of course it'll do 'How are you,' but what about anything else?"....so I tried "Open your book to page 143 and write ten sentences" in a kind of reflex ESL-teacher mode. She again translated it into Arabic. It worked, she said. Not perfect, but it worked. An Iranian student vowed that she would download it immediately and see how it worked for her.

I didn't catch the name of the app. I also saw the list of available languages, which included Moldavian (???)...I have a fellow teacher from Moldova who insisted that wasn't her...but I reserved judgment on that because I'm well aware there could be a Moldavian and it could be among the top thirteen. Some people are obviously left out; in my class, I have Sri Lankans, Bengalis, a Brazilian Portuguese speaker (who was gone)...a few more. More on this later. This is what I want to know.

1. Obviously it's ok if you hold the phone right up to someone's mouth and they speak loudly and clearly right into it. But at what point does this fall apart? The back of a small class where people are whispering? A crowded cafe? Where is it most useful and least useful?

2. Obviously the skill involved in using it is a kind of grammar de-scrambler...it's possible that the computer is quite effective at figuring out the words it has just heard. Also it reportedly can figure out which language it's listening to, though I saw her specify, Eng. to Arabic. So - can you set it on figure out the language? Does it make mistakes with the words? If so which ones? How much descrambling do you have to do?

3. How fun is it to use? Do you enjoy it? Or do you have to hide it from the average teacher?

Labels: , ,

Wednesday, March 06, 2013

The vodka is good, but the meat is rotten (part 2)

When you translated, by machine, from English to Russian, "the spirit is willing, but the flesh is weak," then, turn around and translate the same expression back into English, you would get "the vodka is good, but the meat is rotten." This was used for many years to demonstrate that machine translation would never pick up the nuances of metaphorical meaning.

Metaphorical meaning is in fact a hard part of machine translation, but perhaps not as hard as you would imagine. It is not impossible, for example, to notice that most of the time, when the four words the+spirit+is+weak appear together, there is generally a metaphorical meaning. It is not impossible to identify that meaning. It is not impossible to get the computer to just deliver the metaphorical meaning upon command.

A whole supply of metaphoric expressions work this way; for example, "off the hook", "up the creek without a paddle," or "at loggerheads with each other". The computer looks foolish if it tries to translate one word at a time; you might lose that metaphoric meaning altogether. It becomes humorous to try to find metaphors in the jumbled productions that machine translate gives you. Songs, which are full of metaphor, are the worst; try crunching a few of them through a machine translator.

So this brings to mind several process that inevitably follow from this weakness. First, somebody has to go through the language, word for word, expression by expression, and make it so the computer can identify metaphoric ones with reasonable accuracy. Some, for example the one with the creek and the paddle, appear in pieces, or with different word combinations. Some, such as "off the hook" could have been written, originally, in absolute seriousness, with no metaphoric meaning whatsoever. The machine has a problem here, which is to make a statistical guess at the likelihood that you have a metaphoric meaning. But fortunately, machines are good at statistical guesses. A concordancer can give you the last 1000 times anyone used "at loggerheads with each other" and tell you with certainty how many of these actually had to do with sea turtles. Of course, the best metaphors are suggestive, and mean only what they say, but suggest other things, or don't, depending on the feeling of the writer. You could accuse me, for example, of making the title of this post metaphoric. And I could deny it. How is the computer supposed to know if I, the writer, don't know? Or lie?

So, there are times that the best the computer can do is point out that this is often used metaphorically or this could be metaphoric. Let the reader decide. Give the reader the whole picture. That's called good, careful reading; getting the whole picture, and deciding yourself. By the way there is another phenomenon that I should point out. Businessmen who use Google Translate, for example, for every trade, get out of the habit of using metaphors. In effect they say, "Well, I would use 'off the hook,' but the computer will butcher that (so to speak), so I'll just say, it's not your responsibility". And so their language and style actually change to fit the medium. Computer-translated language becomes less metaphoric naturally and by necessity.

But back to the main point, which is that what appeared to be a fairly inviolable line (computers will never be able to think metaphorically) turns out to be quite fluid, easy to beat, left behind (in the better programs) in a trail of dust. The better programs are flagging metaphoric expressions and identifying them as such. These programs have other problems, some of which impede meaning, but that isn't one of them.

It brings up the question of what happens when language learners stumble upon these machines, and use them in the process of learning. It's the teachers, by the way, who have trouble recognizing when a given body of jumbled up text has been created, essentially, by a computer dealing either with a student's original work or some other body of writing. Generally nobody has told the student that this is wrong, illegal, or whatever. Generally the teacher looks at the high-level vocabulary (translated directly from native words), the jumbled-up word order, metaphoric gaps, etc., and gets angry. How could a person of such limited awareness (of sentence structure) use such big words? Or, how can I possibly unravel this to figure out what you mean? Once I had a student who, asked to produce an English newspaper article, produced one that had run through the machine from Chinese. I looked at it and knew instantly that it was not standard English. But he genuinely didn't see the problem. One article full of English looked pretty much like the other to him: incomprehensible. He generally produced work similar to what is mentioned above, and he had flunked more than once up to that point, probably having made some teachers quite angry. It was his problem that he was at the cutting edge of the new technology.

I would call these learners false positives in the sense that they show great sophistication in areas where they really don't have the skill. The skill of turning high-level words into computer-generated glosses is a computer skill; often they have that skill, but not the one where you look at a simply misformed sentence and know it's wrong. And sometimes they'll slip each piece through several machines, hoping that more translation can only improve it. Start with google translate, then go through Ginger or Grammarly, and see where you end up. Teachers, unfortunately, are generally too busy to foresee what could have happened, or why they have a student with a paper that he or she can't even read. To the teacher it smacks of plagiarism, cheating, paper-buying. But it's not. The computer is like the purple pen, the fancy paper or the pretty font. It's part of the environment, and it's not labeled with a sign that says, "this tool will discourage your language learning" until we label it that way and actually prohibit it. But even then, even the phones are picking up skills. Why can't we just tell the phones what the problem is?

Labels: , ,

Monday, March 04, 2013

The vodka is good, but the meat is rotten

The title comes from an old joke, based on reality, that a computer could translate words directly, such as "the spirit is willing but the flesh is weak", an old Biblical phrase, but, crunching it through the machine into several languages would amount to disaster, as in this case, where the saying was crunched into Russian and then back again, yielding a quite different phrase, but one which I like nevertheless.

For hundreds of years people have rested comfortably with the idea that computers can translate words directly, but will always do a poor job with suggested meanings, or metaphoric meanings, as is the case above. These people aren't fully aware of the resources at computers' disposal. These days Google Translate (GT) is at the forefront of natural language processing, and this is interesting, because Google at least has enormous resources to provide that help to change the equation. I'm not suggesting that NLP has become perfect, but rather that it's on a steady progression (approaching 1, we could say) upward, and with each step closer to being able to accurately translate a phrase such as the above, there are adjustments we out here will have to make to that capability.

Right off the bat, a person with a sharp eye could spot that any phrase containing this string: "the spirit is willing but the flesh is weak" is probably the common one that we recognize, and has a metaphorical meaning rather than a specific interpretation involving someone's flesh. That person could simply program into any translation program the meaning of such a string. The machine translator could furthermore warn the writer that 99% of the time people use this expression with a certain metaphorical meaning, but it's not out of the realm of possibility that they are referring to specific flesh. This is in fact how we hear such things. We keep track of the averages and try to keep an open mind to the more literal possibilities.

Thus Google Translate becomes closer and closer to being like us, and calculating the probable meanings of expressions in every language including ours. We laugh at the computer's inability to detect sarcasm, metaphor, shades of meaning, etc. We underestimate the vast pools of data that GT technicians can bumble through. We underestimate the fact that, as one of the biggest viable companies in the world, Google can simply ask its employees, "what does this phrase mean to you?" and run with its answer. In fact, it has considerably more resources than simply the ability to translate each word directly into another language. More on this later.

Labels: