Those breeds of dogs, it's easy to teach them anything. It's neglect that leads to bark a lot.
So you'd teach them to speak and be quiet on command, and what is and isn't ok to bark at when you're home etc, and I'm sure it would be all good. It's the people who don't train their dogs who end up with problems. And with such intelligent dogs - like I said, barking is fun and they will find their own fun if their owners don't do it for them.