by CupOfJava · 7y ago · 0 comments
- 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 terAttorneys general Senators elect
Ahhhhhhh!
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
- a coconut
- [number] coconuts
- shredded coconut
"Coconut" is best matched to that last option, but it's not a natural word choice. (Although it is a natural list entry... do people think of themselves as dictating to Alexa, or as writing the list themselves while happening to use their voice?)
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.
You'd be surprised: https://www.youtube.com/watch?v=HoPFQm9PQ_M
PS. I implemented something similar without machine learning and that's how i did it. With text it's easier though, i suppose in NLU it could have a parameter for "pause time between words" which could also contribute to a different conclusion.