Uses 3rd party app Gephi to visualise how certain words in a news article are related to each other. It also visualises the importance of a certain word in a news article by its relative size and colour. If a word has high importance, it is larger and is red in colour. If the word is less relevant, or has a smaller impact on the article, it is smaller in size and yellow in colour.
Execute the Java code in the src folder.
The output of the Java code is a CSV file.
This file is then imported to Gephi.
Applying the filters and other parameters available in Gephi, one can visualise the data as per their requirements.