The AI algorithm could potentially alert farmers to negative emotions in pigs, thereby improving their well-being. European scientists have developed an artificial intelligence algorithm capable of interpreting pig sounds, aiming to create a tool that can help farmers improve animal welfare.