Jul-09-2022, 04:06 PM
(Jul-09-2022, 03:39 PM)Frankduc Wrote: the voice is saying "le fruit a été ajouté dans le panier" if its fraise or pomme word and saying "le légume a été ajouté au panier" if its a vegetable.This is not what the code does. The code says "le fruit a été ajouté dans le panier" for every hotword that is found in the text and it says "le légume a été ajouté au panier" for every hotword that is not found in the text. The code does not know about fruits and vegetables.