The Implementation of Cosine Similarity to Calculate Text Relevance between Two Documents | Synapse