Comparison of text information from information sources based on the cosine similarity algorithm | Synapse