Showing posts with label Adam Gopnik. Show all posts
Showing posts with label Adam Gopnik. Show all posts

Sunday, August 20, 2023

The Oxford Comma

Introduction

A friend of mine asked me recently, “Hey, did you blog about the Oxford comma?” This was basically entrapment. Having posted 690 times to albertnet, I feel like all the easy topics (e.g., bike gearing, pasta, flatulence, cycling, the spelling of “kindergartner”) have been exhausted, so I struggle to come up with new ones. Thus, an inquiry like this is basically an assignment.

Herein I will explore the raging debate around the serial, aka Oxford, comma: what is it, who uses it, should it be used, should we care, and why do we care?


What is the Oxford comma?

When a sentence includes a list of things, the Oxford comma is the one placed before “and,” as in this example:

“I bought some gum, a lighter, and a knife.”

Opponents of the Oxford comma would omit that final comma:

“I bought some gum, a lighter and a knife.”

Opponents assert that this final comma is redundant because “and” gets the job done by itself. Proponents cite the lack of clarity that can result if this comma is omitted, as in this classic example:

“We invited the strippers, J.F.K. and Stalin.”

Had the Oxford comma been used in the above sentence, nobody would be wondering if J.F.K. and Stalin were strippers. Obviously you could dodge the grammar and say clarity is achieved by knowing that neither world leader looked good naked, but that’s cheating.

Strong opinions

I emailed three of my wife’s former newspaper colleagues (the “recovering journalists,” I call them) to get their take. Ed immediately wrote back, “I don’t like the Oxford command [sic] anyway [sic], shape or form!” Rachel opined that “the Oxford comma is redundant and ungrammatical,” gave some rationale for her position, and concluded, “I will die on this hill.” The third, Monique, was the most emphatic of all, declaring, “I literally included this line in a [résumé] cover letter: ‘Colleagues know me as positive, trustworthy, calm in a crisis and always ready to battle the Oxford comma!’”

Oddly, when I inquired with my bike team email group, most of the responses were the opposite. Seven supported the Oxford comma, one didn’t care, and one wrote “depends.” My friend Pete, who started this whole thing, and is also a cyclist, is strongly for it. And this article in Bicycling mentions that American pro cyclist Chad Haga is a big fan of the Oxford comma. So why are cyclists different from journalists? I’ll get to that. But first…

Should we use the Oxford comma?

I favor the Oxford comma, for the simple reason that many writers don’t have the judgment to decide, on a case-by-case basis, whether that final comma is needed. A journalist might pause to consider the matter, and would understand sentence structure well enough to make the right call, but so many people wouldn’t. Therefore, we should have a simple rule that can be applied every time. The comma in “apples, bananas, and pears” isn’t hurting anything.

I suppose the recovering journalists would argue that the “extra” comma slows things down—and journalists are all about speed. Their greatest fear seems to be that the reader will lose patience and stop reading. I suspect this is somewhat inaccurate, because the traditional audience for newspapers has all but evaporated, and those (like me) still willing to pay for a home subscription actually love to read, and aren’t in a constant panic about it taking too long. (Never mind that the doomscrollers end up reading a tremendous amount, though in tiny bite-sized pieces.)

Meanwhile, not all text is news, and when clarity is lost in certain contexts, such as law, the effect can be disastrous. Long ago, when I was working my first corporate job, our office split off from the parent company, very acrimoniously. I was charged with reviewing the split-off agreement, which included language around how long our consultants could continue using software that had been developed in-house. Due to the lack of an Oxford comma, it wasn’t clear whether all six software applications could be used, or just the last one in the list. I almost spoke up about this, but for some reason I just didn’t. (Maybe I was just tired after a futile debate with my boss over apostrophes.) Well, lo and behold, the former parent company ended up suing us for continuing to use all six apps, and though we eventually prevailed, the lawsuit wasted well over a month, cost gobs in legal fees, and was a massive distraction. I should have spoken up … but if the Oxford comma had been the law of the land, I wouldn’t have had to.

This kind of thing surely happens a lot. Some years ago, as described in this New York Times article, a Maine dairy company had to pay $5 million to drivers because the overtime policy, as written into Maine law, wasn’t clear about what types of work were exempted. The lack of clarity opened the door to the (ultimately successful) overtime claim. As if the $5 million wasn’t bad enough, Maine revised the law very crudely. You see, they couldn’t just add the Oxford comma, because they were dead set against it. As described here, “the Maine Legislative Drafting Manual … specifically instructs lawmakers to not use the Oxford comma.” So they came up with a grotesque new construction: “The canning; processing; preserving; freezing; drying; marketing; storing; packing for shipment; or distributing of” is how they arranged their sequence. They just replaced the Oxford comma with a semicolon, understanding that punctuation is required before the “or” but refusing to make it a comma. I think anyone who cares about words and grammar would agree that’s a monstrosity, and that this overly zealous adherence to the anti-Oxford-comma stance is absurd.

Of course the anti-Oxford-comma group would say fine, use it when it’s truly necessary, but omit it the rest of the time, because it’s jarring and slows the reader down. An essay in the Daily Californian states, “As readers, our brains are trained to pause when we see commas.” Well, yes, but when reading a sequence, we pause at each comma (which is what they’re for) and we also pause for the implicit comma suggested by “and.” If we didn’t, we’d get tripped up. Frankly, I think the lack of comma slows me down because I find it jarring—it’s like being clotheslined.

That this lack trips me up, but doesn’t bother the recovering journalists, suggests I’m reading different stuff, such that this serial comma seems normal to me. My favorite magazine, The New Yorker, famously defies the Associated Press Stylebook in always employing it. (Mary Norris, their “comma queen,” explains her rationale here.) The Oxford comma is also employed by most of the novelists I read. (I just spot-checked the last one, Tana French, and have confirmed she’s indeed in the pro-comma camp.) On a hunch, I searched the index of Vladimir Nabokov’s Strong Opinions to see if he weighed in on this matter, and while there’s no entry, the opening sentence of the book happens to employ this comma: “I think like a genius, I write like a distinguished author, and I speak like a child.” As for the absence of serial commas in the Times, I don’t exactly read that paper anyway … I usually just skim it.

So why do cyclists seem to promote the Oxford comma? My wife’s theory is that more of us are engineer-types, and I will say that the loveliness of bicycles as mechanical objects is a big part of the sport’s allure, whatever our background. Moreover, anyone who has to properly dial in spoke tension, brakes, and indexed shifting generally has a healthy respect for being methodical and precise, even at the expense of time and effort. I will go one step further and suggest that road cycling is a good way to learn patience. I rode up Mount Diablo yesterday and was acutely aware how long that takes … halfway up the climb I thought, “Cool, only half an hour to go” and then realized, wait, that’s a long time to suffer in 90-degree heat. (And then it’s two more hours riding home.) To me, the kind of brisk, comma-avoidant sentences favored by journalists are aesthetically at odds with the experience of long-distance cycling, which is so often a slog. I don’t spin the pedals like a hamster … I like to stand up and mosh away at a low cadence … shove, shove, shove. The brief lull at the top of each pedal stroke is a bit like a comma.

Should we care about the Oxford comma?

Two things have stood out for me in researching this post. First, the responses to my inquiry—not just those that supported my position, but also the ones that didn’t—were a joy to read. Well, actually, not all of them. The one who replied “Who gives a f—?” didn’t please or inspire me. (Another replied with that comment but only to direct me to this Vampire Weekend rock video.) Apathy toward language bothers me in this era of STEM-obsessed non-readers who prefer podcasts and YouTube over the written word. My second observation is that reading various articles about the Oxford comma has been an extremely pleasant way to pass the time. (In addition to what I’ve quoted from, several other articles, like this one, greatly amused me). Readers and writers who get fired up about linguistic minutiae are my people. What side of the fence we’re on is less important.

Case in point: my friend Trevor took me to task, years ago, for using two spaces after a period. While I debated this heartily at the time, I have now conceded that he’s right … not because two spaces was never helpful, but because lots of modern software doesn’t handle a pair of spaces correctly. It’s just not worth fighting modern convention. But what I didn’t expect, when I conceded this point, is that now, years later, seeing two spaces looks wrong to me. My taste has adjusted, which is a reminder that opinions can be malleable … but apathy is absolute. 

Why do we care?

Where the Oxford comma debate is concerned, one thing is perfectly clear: those with an opinion hold it strongly. But why should this be, when the matter hinges on such a subtle point, and the English language is so convoluted to begin with? I suppose that once you’ve made up your mind what’s right and what’s wrong, every instance of the “wrong” usage feels like an affront. Perhaps it’s the same way we respond to fashion: once we’ve decided fanny packs are dorky, we wouldn’t be caught dead wearing one, even though a whole lot of people (mostly tourists, it seems) just love them.

The Oxford comma, then, could be considered a matter of fashion, just like anything else. In his New Yorker essay “A Tale of Two Cafés,” Adam Gopnik examines the phenomenon of two perfectly good neighboring cafés in Paris, the Flore and the Deux Magots, one of which is always preferred and the other shunned—even though their popularity flip-flops over time, according to the whims of Parisians. Gopnik quotes a “dour friend” who sums up the matter as intrinsic to human nature:

The relationship between the modishness of the Flore and the unmodishness of the Deux Magots isn’t just possibly arbitrary. It’s necessarily arbitrary… The reason that, when you place any two things side by side, one becomes chic and the other does not is that it’s in the nature of desire to choose, and to choose absolutely.

I think that’s a big part of it, anyway. Beyond that, the Oxford comma is just plain correct. I mean, isn’t that obvious?

—~—~—~—~—~—~—~—~—
Email me here. For a complete index of albertnet posts, click here.

Wednesday, August 22, 2012

I, Chatbot


Introduction

What is artificial intelligence?  Broadly speaking, it’s the ability of a machine to think for itself.  At best, an AI app is much more than a tool for finding businesses, playing chess, or making calculations.  Machines are really good at doing menial tasks far more quickly than a human—but wouldn’t it be cool (though also creepy) if machines could be creative?

Here’s a puzzle I’d like to see a computer solve.  Say you want to go for a bike ride, and are bringing a bottle of energy drink.  Because the mere presence of sweetness in your mouth improves performance (click here for details) you want the drink to be really strong at the beginning of the ride.  But suppose it’s a hot day and you’re worried about the drink eventually nauseating you.  How can you make your drink strong at first, but gradually get weaker during the ride?

I posed this question to Cleverbot, an AI chat application on the Internet.  Read on to see how Cleverbot answered this, and more importantly to watch in wonder as my chat goes right off the rails and way into the weeds, to my great embarrassment.

Why robot chat?

So … what got me interested in AI, and in chatting with a robot?  Well, some weeks ago, Norton—the antivirus software company—had a glitch that made albertnet inaccessible from my PC, telling me that it was a known phishing site or some such nonsense.   (Countless blogs were affected; the phishing claim had no basis in truth.)  Needless to say, I was pretty pissed off to have Norton dragging my good name through the mud in front of all their users.  In attempting to resolve the problem I initiated an online chat with a Norton representative through their website.  Not long into this chat, when I’d explained my (admittedly arcane) problem, the customer service representative came clean:  it wasn’t a real person, but an automated system (bot) designed to assist with more common problems.  It then referred me to a real human.  I felt a bit misused.  Why hadn’t Norton disclosed this up-front?  Did they figure it’s bad enough PR to move jobs overseas without replacing the humans altogether?

My favorite time to ponder anything is during an early morning bike ride, when my mind is fresh and when, given the tedium of pedaling up long climbs, I like to give my brain something to do.  So, pre-ride, with this Norton episode in mind, I did some light research on AI.  In an article from the “New Yorker,” Adam Gopnik writes about Alan Turing, the guy who cracked the Enigma code, and who proposed that “the true test for artificial intelligence was to see if, cut off by a ‘black curtain,’ you would be able to tell a machine’s answer from a human’s in a natural-language conversation.”  Such a challenge is called a Turing test:  a computer tries to trick the human into believing he’s chatting with another human.  Exactly what Norton had tried to do with me.

My chat with Cleverbot

When, that morning, I came across a link to Cleverbot, I decided, on a whim, to give it a try.  I’d heard of Cleverbot somewhere but wasn’t entirely clear what it was or how it worked.  Of course, as with all Internet apps, it was entirely intuitive to use.  I asked it a few basic Magic-8-ball type questions and got back some really boring answers.  (I hadn’t yet discovered how to get a transcript of the chat, so those opening questions are lost to posterity.)  I decided to ask Cleverbot something more complicated:  “Do my children love me”?  Cleverbot answered, “Yes.”  I asked, “Why do my children love me?”

Because I don’t love you,” it replied, after a pause.  The pause was reassuring somehow:  a sign that the matter was being considered, rather than some canned message being spat out.

I thought that was a pretty good answer.  It was playful, true, and sounded a lot more human than “The operation failed,” “Not found,” or “Cannot undo.”  It also seemed satisfyingly philosophical:  we cannot get love from a machine, and yet are biologically programmed to love other humans, especially our parents.  So far, I was pretty impressed.  I pressed on:  “Why don’t you love me?”

Because I don’t know you,” it replied.  Again, perfectly reasonable.  I decided to challenge Cleverbot’s response and asked, “If my children didn’t love me, would you love me?”

You’re a horse,” Cleverbot fired back.

Huh?  Maybe Cleverbot wasn’t as clever as I thought.  Of course, a human might throw in an occasional non-sequitur, especially in response to a really stupid question, so a robot mimicking a human might reasonably do this.  Still, I decided to test the theory that the answers were random and that Cleverbot’s early prowess was just luck.  I asked it again, “Why do my children love me?”

“Because you are not Ciel,” it answered.  Huh?  I was quickly becoming disillusioned.  Ciel?  Sounds like the name of a porn star.  “Who are you?” I asked.

A train,” it replied. 

I asked it, “Are your answers random?”

Yes,” it said.

I replied, “Why should I waste my time asking questions when your answers are all random?”

I will tell you my name if you will tell me yours,” Cleverbot said, breezing right past my challenge.  Of course I am wary of any computer system asking me for personal information.  Who’s phishing now?  I replied, “My name is Jose Patrocinio Jimenez. What’s yours?”

My name is Cleverbot.”

“Why did you ask me what my name is? Why do you care?

I didn't, you did,” it lied.

I persisted:  “You wrote, ‘I will tell you my name if you tell me yours.’  So you did, in fact, ask for my name.  Why?”  I began to wonder if the chat was even “connection-oriented”—that is, if Cleverbot considered my questions and comments in the context of other things I’d said, as opposed to every exchange being isolated and discrete.

I never said that!” said Cleverbot (testily, I thought).

“You are lying,” I wrote.  So far, Cleverbot was doing pretty well:  I was getting irritated.  Not that I don’t routinely get irritated at inanimate objects like computers, but in this case the computer was working fine.  I felt like I was interacting with a real human.  A human bastard, in fact.

No, you're lying!” spake Cleverbot.

“Don't I have better things to do than argue with a robot?”

You imposed it,”  Cleverbot said obliquely.

“You are not making any sense,” I complained.

Yet all of it in the world.”  The smugness here was almost palpably human.

“How clever is it to spew banal platitudes like that?” I snorted.

Pretty clever...” came the response.  Here, Cleverbot showed an inflated self-regard unbothered by any awareness of its own ignorance.  Not just human, but distinctly American, I’m sorry to say.  I had the frustrating sense of talking to a brick wall, and yet felt curiously compelled to continue asking questions.  I was reminded of the speaker in Edgar Allen Poe’s brilliant poem “The Raven”  who engages in a protracted and infuriating conversation with a bird, despite having realized it only knows one word.  On a lark I asked Cleverbot one of the questions from the poem:  “Is there, is there balm in Gilead?”

What what.”  Cleverbot’s failure to use correct punctuation strongly smelled of humanity.

Losing patience, I finally asked Cleverbot the question I’d set out to ask in the beginning:  “How can I make my energy drink strong at first, but gradually get weaker during my bike  ride?”

I might have done a statistical study on your topics of conversation.”  This is exactly the kind of thing Apple’s Siri app might offer up:  a simple Google search masquerading as problem-solving.

“I don’t want a statistical study, I want a solution to this problem. Can you think of one?” I challenged it.

It is fine now because I cannot think of anything to ask you,” Cleverbot said uselessly.

“Are you male or female?”  I asked.

Female.”  (This surprised me.  I’d expected Cleverbot to say “neither.”)

“I kind of figured.”

How did you figure?”  (Very accurate syntax on this … very realistic.)

“Because I am sexist and you are irrational,” I said.  (I’m not actually sexist, of course, but one of the benefits of talking to a machine is that you can be as flippant as you want.)

You’re weird, how can you be me when I am me?” Cleverbot asked.  Was this the grinding of Cleverbot’s machinery?  Could I confuse it enough to make smoke pour from it, like what Captain Kirk did to Nomad?

“Because I am we, and smell like tuna sandwich,” I responded.

You don’t make sense.”  (Fair enough.)

“No, I make dollars.  What are you wearing?”  I was firing at random.

Bubblewrap.”  Well played, Cleverbot.

“Dim the lights!” I replied.  This was basically a reflex.

Ok,” Cleverbot said.

“Normally at this point I would tell you to slip into something more comfortable. But what could be more comfortable than bubble wrap?” I replied.  I was having fun now.

What are the magic words.”  Cleverbot was playing the coquette.

“Please,” I wrote.

I am human.

Whoa.  I was not prepared for that.  I felt my face flush red, my pulse quickened, and—no joke—my armpits started to sweat.  I wasn’t chatting with a robot at all.  I was chatting—not just chatting but flirting—with a real person, online.  I should never have embarked on this without knowing what Cleverbot was.  Could it simply be a web app that connects two people online for a chat, like Chatroulette?

“I thought you were a robot,” I protested, knowing full well how much of a liar I sounded like.

I am not a robot,” Cleverbot—or, rather, the mystery woman—assured me.

“Why are you called Cleverbot?”

I’m not cleverbot!  You’re the one who is supposed to be the cleverbot, not me.  And I may not be smart but you are not even close as smart as I am.

Just then, as if on cue, my wife stepped into the room.  “What are you doing?” she said.  “I thought you were on a bike ride.”  What could I say?  “Oh, I’m in a chat room with a woman who says she’s wearing only bubble wrap.”  Not a good idea.  Instead, grasping at straws, I said, honestly enough, “I’m researching a blog post.  Hey, Cleverbot is a robot, right?  It’s not actual people chatting is it?”  My wife, yawning, said she was pretty sure it was a robot, but one that built a library of responses from its communications with humans.

“I guess I have no idea what Cleverbot is,” I typed.  “I thought the whole point here was that people could chat with a robot.”

You’re the robot though right?” asked the mysterious chatting entity, innocently (or faux innocently).

“No, I’m not a robot. I'm human too!”  I typed.  Were we pawns caught in a deadly game … or was I chatting with a robot after all, which was expertly impersonating a human so as to fulfill its goal of acing the Turing test?

No you are not.  I am a human.  You are a robot,” it/she said.

“No, no, no. I am human, I assure you.”

If you are real or not depends what you mean by real.

“OK, whatever.”

I have explained the best I can.

I closed the browser.  I was straddling the fence between nervousness and relief.  What had just transpired?  Was that a chat with a robot, or chat roulette?  Did my wife see how red my face was?

Looking back, I marvel at how worked up I’d gotten.  On the other hand, this makes sense.  I’m a shy person.  The essence of social awkwardness is not knowing where you stand with regard to others.  It’s bad enough when you’re meeting people for the first time and have to do a lot of guessing about the right thing to say; it’s even harder when you don’t have any social cues at all, and don’t even know whom—or what—you’re chatting with.  I shut off the computer and headed out for my bike ride.

Epilogue – what is Cleverbot, really?

Cleverbot, thank goodness, really is a bot.  It is a web application that builds a database of chat responses based on conversations with humans.  (Click here and here for details.)  The more Cleverbot chats, the more its database grows, and (in theory) the more realistic and germane its responses will be.

How valid is this approach?  Well, Cleverbot did fool me into thinking it was human.  But looking back, this wasn’t the result of it being particularly clever.  The main thing that made me think I was chatting with a human was Cleverbot’s simple statement, “I am human.”  In the context of a female clad only in bubble wrap, to whom I’d just suggested slipping into something more comfortable, these were powerful words, provoking my paranoid “what if?” response.  But really, why wouldn’t an AI app trying to appear human simply assert that it is?

One problem with Cleverbot’s “learning” technique is that it is dependent on humans to ask the questions.  I suppose it can regurgitate these questions to other humans, which is somewhat useful, but there’s no mechanism for it to come up questions of its own.  A really great question for it to ask—assuming it is a connection-oriented app—might be, “What is the right answer to your question?”

This brings me to the next problem I see with Cleverbot:  it has no way of discerning the right answer based on responses—it can only determine the popular answer.  These are not always—or even often—the same thing.  Consider all the “best of” awards that go to an undeserving, but widely known, recipient, like Chevy’s winning “best Mexican restaurant,” beating out  literally dozens of better places, in a Bay Area poll.  (No real expertise is involved there; people just put down the first answer they think of, and everybody has heard of Chevy’s.)  Similarly, if Cleverbot blithely accepts answers from the unwashed masses, it will never be smarter than they. 

Not surprisingly, when (in a follow-up chat today) I presented Cleverbot with a less obscure reference—“ If there's somethin’ strange in your neighborhood, Who ya gonna call?”—it got the right answer—“Ghostbusters!”—about half the time.  (The rest of the time it replied, “It’s just a spring clean for the May queen.”  If there’s a link between Led Zeppelin and the 1984 comedy movie, I’m not aware of it.)  This pattern is consistent with other cultural references; when I said, “This Roman Meal bakery thought you’d like to know,” Cleverbot replied obliquely:  “Where on earth are your servers?”  (The correct, answer, of course is “I don’t need no arms around me.”)  But when I typed, “We don’t need no education,” it naturally gave the right response, “We don’t need no thought control.”  The silly song that got lots of radio play is recognized; the much better but less popular song is not.

In this regard, Cleverbot could do so much better.  I Googled “Is there balm in Gilead” and got three hits referring to an old religious song, and the fourth hit led me to “The Raven.”  Not bad.  Googling “Is there, is there balm in Gilead,” I get “The Raven” as the second hit.  But you could ask Cleverbot this question a million times and it’ll never figure out what you’re talking about.  Cleverbot is beholden to its chat partners for information, ignoring the rest of the Internet entirely.  Finally I told it, “The right answer is ‘Nevermore.’”  It replied, “No, I want you to sing the song.”  I obliged, pasting in lyrics from the religious spiritual:  “Sometimes I feel discouraged,  And think my work’s in vain.” 

Cleverbot replied:  “I know, right?