Here are the tasks needed to be done,
1. Get the input message to the user.
2. Post the message to my 3 severs.
Server 1 will return as json value like this,
{
"tokenization": ["Will", "dems", "and", "fake", "news", "ever", "learn", "!", "LOL"],
"punctuation_removal": ["Will", "dems", "and", "fake", "news", "ever", "learn", "LOL"],
"acronym_normalization": ["Will", "dems", "and", "fake", "news", "ever", "learn", "Laughed", "Out", "Loudly"],
"stopwords_removal": [ "dems", "fake", "news", "ever", "learn", "Laughed", "Out", "Loudly"],
"pos_tagging": [["dems", "NNS"], ["so on", "kkj"]],
"lemmatization": ["dem", "laugh"],
"sentiment": 0.0026
}
Put the key as the heading and the values in a beautiful table, Note this sentiment and pos_tagging have different table format.
sentiment key has no table, instead you display the values in big font. where as in pos_tagging is list of lists
list[0] will be in column1 and list[1] will be in column2
Server 2 will return a JSON value like this,
{
"12-08-2018" : 12,
"14-08-2018": 14
}
Visulaize it in the table using Javascript , x-axis as date and y-axis as value
Finally the third server will return something like this,
{
"status" : "verified",
"result" = [{"[login to view URL]", "heading", "paragraph"}]
}
This should be like google result.
First display:
STATUS: verified or other value it displays
next like google result, heading and below the heading the paragraph when the heading is clicked the link(appropriate key) should be opened in the new tab of the browser.
THAT is ALL I need, A simple json parsing and visulization in a single page
THIS IS A SIMPLE TASK SO I NEED BEAUTIFUL DESIGN.