Hacker News new | ask | show | jobs
by hishnash 3063 days ago
i do see a lot of people believing the Alexas system is much better but int he end alaxa is just build up on regex.

that is ok-ish for simple languages like English were the words themselves dont change.

but in many other languages, the words in sentences change depending on their relationship to each other.

eg simple information in English like "the cat is sitting on the bench" is encoding with the order of the words whereas in other languages the information the `cat` is `sitting` on the bench rather than the bench `sitting on the cat` is encoded in how the word `cat` and `sitting` and `bench` (and maybe `on`) change. This change can be rather complex based on lots and lots of factors such as gender of the `cat` and `bench` the type of verb eg `sitting` and the preposition `on` (some languages don't even bother with this since it's added to the verb).

apple's approach is much more upfront work since they do all this natural language logic in every language they support. But for developers who use Sirikit is is much better.

1 comments

I'm sure it's fixed now, but a few months ago right in the middle of the whole "Siri is a completely failure, Alexa is much better" I asked Alexa to "turn all my lights off" and she responds with a very daft "I'm sorry, but you don't have a device called 'All my lights' on your account".

Siri knew how to handle that just fine.