Arcana Coelestia #5227
5227. 'And the chief of the cupbearers spoke to Pharaoh' means thought formed by the sensory power subject to the understanding part of the mind. This is clear from the meaning of 'speaking' as thinking, dealt with in 2271, 2287, 2619; and from the representation of 'the chief of the cupbearers' as the sensory power subject to the understanding part, dealt with in 5077, 5082. As to what thought formed by a power of the senses may be, see 5141.
Arcana Coelestia #2271
2271. That 'he spoke to Him yet again' means thought is clear from the meaning in the internal sense of 'speaking'. Speaking or speech is nothing else than that which flows from thought; and because things that are internal are meant by those that are external - such as understanding by 'seeing', the understanding by 'the eye', obedience by 'the ear', and so on - so thinking is meant by 'speaking'.