Live data from Hacker News

How Alexa knows “peanut butter” is one shopping-list item, not two

developer.amazon.com

111–120 of 147 posts

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#111

Earlier quoted context omitted.

Alexa, please tell me about the... Attorneys general Senators elect Ahhhhhhh!

The difference is that these are phrases with adjectives, not nouns being used adjectivally.

"Attorney generals" is a noun phrase (admittedly of questionable adjectivity). "Attorneys general" is a blind idiot translation of a phrase in a language with different grammatical rules (Latin, IIRC).

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#112
How the model is adversarial? Also the best configuration is already found 2 year back in an ACL paper http://www.aclweb.org/anthology/N/N16/N16-1030.pdf. Is not it cheating when you claim somebody else result as your own. The industry is full of fraudster now a days.

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#115
post #31

Earlier quoted context omitted.

Examples? I seem to constantly get nothing from simple grammar questions. :(

I use a Google Home, not Alexa, but I ask it oddly-worded things all the time. Here's two from the past week that worked: "Can you see if Reply All has a new episode and if so play it?" "Can I still use these green peppers I got two weeks ago?"

That first one sounds promising. I'll have to see if I can adapt it.

My devices are basically just gateways to audible, radio, and general timers. I have begun using the announcement features, but it is amusing to see the kids basically having announcement wars.

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#116

Earlier quoted context omitted.

The difference is that these are phrases with adjectives, not nouns being used adjectivally.

"Attorney generals" is a noun phrase (admittedly of questionable adjectivity). "Attorneys general" is a blind idiot translation of a phrase in a language with different grammatical rules (Latin, IIRC).

"Attorney" is a noun. "General" as used here is an adjective. It's unusual in that the adjective follows the noun without a hyphen, but it's common enough, and it's where prepositional phrases are seen, like "Big man on campus" and "powers that be".

Did ancient Romans have attorneys general?

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#117
post #62

In text parsing, this whole machine learning would be implemented as "ignore white space as delimiter" ( that's how I implemented it on one of my projects) Ps. I'm aware this will not be a popular comment

Sentences spoken aloud don't have commas.

You don't need commas to do that in text parsing either. Newlines, for example, will do.

When spoken, a shopping list is not a sentence. There's a small pause and/or different emphasis on the start of each item that can be learned (humans, for one, can discern it).

"Eggs milk peanut-butter" sounds different than "Eggs milk peanut butter".

(Besides it can easily learn that peanut, singular, is not a thing people order: it's either "peanuts" or "peanut-butter" etc).

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#118
post #104

Earlier quoted context omitted.

Assuming most cultures have "coffee cream" in their common vernacular seems risky. I've never heard of it.

This. I'd assume it's like "creamer" which is a fake milk substitute from USA I think? But, it could be coffee flavoured cream; or "coffee creams" which are biscuits in the UK, or maybe some sort of confection? Yeah, I should just look it up ...

"coffee cream" AKA "half and half" in much of the US or "half cream" in the UK

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#119
post #76
post #66

Earlier quoted context omitted.

Yes, they do. There's evidence to suggest that punctuation marks were devised as pronunciation guides, indicating how to inflect and when to pause, rather than syntactic markers in their own right. Commas in particular indicate a distinctive inflection and short pause in speaking; such would be detectable by Alexa especially if it uses a neural net or similar to analyze human speech.

That was not the point of what I said at all. It Could interpret the vocal cues, yes. As far as I know this is still not a solved problem for speech to text, and results going the other way and trying to guess punctuation is still more reliable. Back to what I really was getting at: I'm pretty sure the person I replied to was suggesting Alexa could just split(',') and call it a day. With text, yes. With voices this w…

>As far as I know this is still not a solved problem for speech to text

Understanding pauses/inflection changes doesn't have to be a "solved problem" to work for cases such as discerning common shopping list style items.

With voices this would be irritatingly unreliable. Everyone talks differently and sometimes people stumble weirdly.

That's an argument against discerning "milk" from "silk" or "coke" from "cork", but that's still managed satisfactorily enough.

Re: How Alexa knows “peanut butter” is one shopping-list item, not two

#120
post #95

Amazon is pulling ahead. Siri still adds 'All man milk' to my shopping list instead of almond milk.

Lately Siri gives me an error when setting the timer. But upon inspection has actually set the timer correctly. It's equally infuriating and comical.
Post reply on HN