Researchers analyzed recordings of dogs to determine whether AI systems could distinguish between different emotional states.