A method of providing suggested responses 591A-593A to an electronic communication 580A, such as an email or SMS, includes identifying a candidate set of responses based on the content of the electronic communication, selecting a first response of the candidate set for inclusion in a selected set, and generating embeddings for each of the first response and a further response of the candidate set. If the first and further response satisfy a difference criterion based on a comparison between their respective embeddings, then the further response is added to the selected set. Responses in the selected set are provided for display at a user computing device enabling their selection for inclusion in a reply to the electronic communication. Preferably, the embeddings are generated using a neural network response encoder model which includes long short-term memory cells. The first response may be the highest ranked in a ranked candidate set. The difference criterion may be measured by calculating a cosine similarity, dot product or Euclidian distance between the embeddings. The invention aims to provide a range of semantically diverse response suggestions.
Determining semantically diverse responses for providing as suggestions for inclusion in electronic communications