How Alexa knows “peanut butter” is one shopping-list item, not two
61–70 of 147 posts
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#62In 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
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#63What happened if I said "peanuts, butter". I expect two items, but will Alexa give one?
No one ever gets a single "peanut". So unless you mush mouth the "S", the reasonable expectation for both your cohabitator and the robot is to bring peanuts and butter. A better question is "coconut, milk" versus "coconut milk".
Sure, but if you were dictating to a human that would still be an easy one for them to get wrong, depending on how long you paused.
I find this interesting with phone numbers. In some countries you hear people say "thirty three sixty two" and they mean 303602
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#64I'm pretty sure you could do this in a standard LALR(1) grammar and give [peanut butter] precedence over [peanut] [butter].
This would require that you have an exhaustive list of priorities typed out in a grammar, for each language. Word embeddings is a more semi-supervised learning. There is no way grammars could cover all the cases in a scalable way.
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#65Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#66In 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.
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#67Earlier quoted context omitted.
No one ever gets a single "peanut". So unless you mush mouth the "S", the reasonable expectation for both your cohabitator and the robot is to bring peanuts and butter. A better question is "coconut, milk" versus "coconut milk".
> A better question is "coconut, milk" versus "coconut milk". Sure, but if you were dictating to a human that would still be an easy one for them to get wrong, depending on how long you paused. I find this interesting with phone numbers. In some countries you hear people say "thirty three sixty two" and they mean 303602
As for the phone number, that's why anyone in a serious occupation (aviation, military, etc) treat each digit as is stand-alone.
Three-zero-three-six-zero-two.
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#68Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#69This, yet again shows just how far the computer science is from real natural language processing, despite of all "AI" companies' claims. Unless they have all and everything hardcoded, even such natural thing are impossible to process for the "natural" language processing programs. All cloud "AI" and "natural" language processing services should really be called "lots and lots of hardcoded stuff language processing"
State of the art virtual assistants offer little intelligence over a command line interface, except instead of typing the command line in, you say it. Besides that, not much difference; the syntax is rigid and the computer doesn't understand your utterance more intelligently than GCC understands "gcc -o my_prog my_prog.c".
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#70What happened if I said "peanuts, butter". I expect two items, but will Alexa give one?
- Computer engineer
- NOT computers* engineer
- Toothbrush
- NOT teethbrush*
- Foot doctor
- NOT feet* doctor
- Alarm clock
- NOT alarms* clock, even when it supports multiple alarms!
Additionally, there's phrasal intonation. If the intonation and stress decrease throughout the phrase, it's a single item. If the intonation and stress reset for "butter," then it's a new item. - 'PEA ,Nut but ter
- 'PEA nut 'BUT ter