Cosine Similarity between two given Texts
Run the program on the terminal as: $ javac CosineSimilarity.java $ java CosineSimilarity.java
Following this, enter two string texts. The program will generate vector mapping table, followed by the cosine similarity score between the texts.