Learning similarity functions for topic detection in online reputation monitoring | Synapse