Sylgram encoding for text similarity