i'm pretty sure they're trained to reconize tastes/smells so they know whether or not aperson has an illegal substance on them... i think they are even required to taste a bit... but if not, the smell of weed isn't too much diffrent from the smell.... since like 70% of taste is based off smell anyways.