CSC/ECE 517 Spring 2018- Project E1820 Review-Comment Tone Analysis Report: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Background Information==
==Introduction==
===Team===
Peter Shore (pnshore)
Vishy Makthal (vmaktha)
Cameron Nelson (cenelso3)
Robert Montgomery (rjmontgo)


The basis of this project was to cleanup the table in ''view_review_scores_popup_.html.rb''. Currently, the table is very simple and unorganized, reducing its readability. There a incomplete table borders, mis-aligned cells, and html tags littered throughout the text. In addition, tabs were added to separate each review round. Another feature that was added was tone analysis of the comments. A colored tone analysis is retrieved from the Peer Logic web service [http://peerlogic.csc.ncsu.edu/sentiment/developer], and displayed accordingly. This view was implemented as a pop up as well, showing a tile char visualization depicting points of review on the y-axis, and a color analysis of their review on the x-axis.
===Background Information===
 
====Expertiza====
Filler text for now.
 
====Tone Analysis====
Tone analysis is a tool that is used to measure the sentiment or tone of a sentence. This is useful for determining if
 
 
Peer logic is going to be used to implement tone analysis throughout this project. The peer logic web service is able to provide colored HTML text based on the tone by sending a POST request of a JSON {“review”: “review comments….”} to an API endpoint[http://peerlogic.csc.ncsu.edu/sentiment/visualize_sentiment]. The JSON data that is returned will be used to determine coloration of the cells that are displayed in the popup views as well as in the table. For reference, Peer logic assigns green to a positive tone, yellow to a moderate tone, and red to a negative tone.
 
====Problem Statement====
The basis of this project was to clean up the table in ''view_review_scores_popup_.html.rb''. Currently, the table is very simple and unorganized, reducing its readability. There are incomplete table borders, misaligned cells, and HTML tags littered throughout the text. In addition, tabs were added to separate each review round. Another feature that was added was tone analysis of the comments. A colored tone analysis is retrieved from the Peer Logic web service [http://peerlogic.csc.ncsu.edu/sentiment/developer] and displayed accordingly. This view was implemented as a pop up as well, showing a tile char visualization depicting points of review on the y-axis, and a color analysis of their review on the x-axis.






===Tone Analysis===


Peer logic is going to be used to implement tone analysis throughout this project. The peer logic web service is able to provide colored html text based on the tone by sending a POST request of a JSON {“review”: “review comments….”} to an API endpoint[http://peerlogic.csc.ncsu.edu/sentiment/visualize_sentiment]. The JSON data that is returned will be used to determine coloration of the cells that are displayed in the popup views as well as in the table. For reference, Peer logic assigns green to a positive tone, yellow to a moderate tone, and red to a negative tone.




Line 24: Line 39:


[[File:1820_UML.png]]
[[File:1820_UML.png]]
We decided to use the Github Wiki Pages to display our design. You can find it here
The basic layout for our two views are shown below.
''The designed layout of the review_scores_popup.html.erb file. A major change will be the colorized tone analysis for the comments.''
''The designed layout of the answer_tagging_report.html.erb file''

Revision as of 00:29, 14 April 2018

Introduction

Team

Peter Shore (pnshore) Vishy Makthal (vmaktha) Cameron Nelson (cenelso3) Robert Montgomery (rjmontgo)

Background Information

Expertiza

Filler text for now.

Tone Analysis

Tone analysis is a tool that is used to measure the sentiment or tone of a sentence. This is useful for determining if


Peer logic is going to be used to implement tone analysis throughout this project. The peer logic web service is able to provide colored HTML text based on the tone by sending a POST request of a JSON {“review”: “review comments….”} to an API endpoint[1]. The JSON data that is returned will be used to determine coloration of the cells that are displayed in the popup views as well as in the table. For reference, Peer logic assigns green to a positive tone, yellow to a moderate tone, and red to a negative tone.

Problem Statement

The basis of this project was to clean up the table in view_review_scores_popup_.html.rb. Currently, the table is very simple and unorganized, reducing its readability. There are incomplete table borders, misaligned cells, and HTML tags littered throughout the text. In addition, tabs were added to separate each review round. Another feature that was added was tone analysis of the comments. A colored tone analysis is retrieved from the Peer Logic web service [2] and displayed accordingly. This view was implemented as a pop up as well, showing a tile char visualization depicting points of review on the y-axis, and a color analysis of their review on the x-axis.




Files Modified

view/popup/view_review_scores_popup.html.erb

view/review_mapping/_answer_tagging_report.html.erb


Design Documents

The UML diagram regarding the scope of our project is included below. Overall, an existing view will be modified, and a new one will be created. Both of these views are associated with the popup_controller, which, as a result, will also be modified accordingly.