Patent attributes
A user using a messaging application may be in conversations with multiple people and may inadvertently send a message intended for a first person to a second person. The user may be warned before making such mistakes by processing the text of an entered message and/or the text of the conversations with a mathematical model. A match score may be computed that indicates the match between the entered message and the conversation in which it was entered. Where the match score indicates a possible mistake, a warning may be presented to the user. In some implementations, a match score may be computed using a conversation encoding vector and a message encoding vector. In some implementations, a match score may be computed by processing a sequence of tokens for the conversation and the entered message that includes special token separators.