<commit_before><!DOCTYPE html>
<html>
<head>
  <meta name="author" content="<NAME>">
  <meta name="description" content="The Sentiment Analyzer provides users with feedback
  regarding the sentiment of sample text that they input.">
  <link rel="stylesheet" href="css/foundation.min.css">
  <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  <link rel="shortcut icon" href="img/smiley.ico" type="image/favicon.ico">
  <meta charset="utf-8">
  <title>Sentiment Analyzer</title>
</head>
<body>
  <div class="grid-container">
    <div class="grid-x">
      <div class="cell">
        <h1><a href="index.html"><img class="logo" src="img/sentiment_app_logo.png" alt="Sentiment Analyzer Logo"></a></h1>
      </div>
    </div>
    <div class="top-bar" id="responsive-menu">
      <div class="top-bar-left">
        <ul class="dropdown menu" data-dropdown-menu>
          <li><a href="index.html">Home</a></li>
          <li><a href="about.html">About</a></li>
        </ul>
      </div>
    </div>
    <div class="grid-x">
      <div class="cell">

        <h2>About</h2>
        <h3>Background</h3>
        <p>The Sentiment Analyzer compares the text input to the AFINN list. The AFINN list is a collection of words and phrases that have been rated with integer values ranging from negative five to positive five. It can be found here: <a href="http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6010">AFINN</a>.  Each word or phrase from the input that is found in the AFINN list is assigned an integer value. The Sentiment Analyzer sums the values to calculate a sentiment rating for each sentence and for the overall text. 
        </p>
        <h3>Interpreting Results</h3>
        <p>Example 1:  "The cheers filled the room."<br>
          This text returns a numeric value of 2, which is a positive sentiment.<br><br>
          Example 2:  "Life is to be lived, not controlled; and humanity is won by continuing to play in face of certain defeat."<br>
          This text returns a numeric value of 4, which is a positive sentiment.  The value of 4 is considered more positive than the value of 2 seen in Example 1. 
          <br><br>
          Example 3:  "There was an accident last night."<br>
          This text returns a numeric value of –2, which is a negative sentiment.<br><br>
          Example 4:  "The investigators accidentally destroyed the evidence."<br>
          This text returns a numeric value of –5, which is a negative sentiment.  The value of –5 is considered more negative than the value of –2 seen in Example 3.<br><br>
          Example 5:  "The crowd accidentally applauded at the show."  <br>
          This text returns a numeric value of 0, which is considered a neutral sentiment.  <br>
        </p>
      </div>
      <div class="grid-x">
        <div class="cell">
          <p>©Copyright 2017 by The Sentimental Group. All rights reserved.</p>
        </div>
      </div>

      <script src="js/jquery.min.js"></script>
      <script src="js/analyze.js"></script>
      <script src="js/foundation.min.js"></script>
    </div>

  </body>
  </html><commit_msg>Update about.html<commit_after><!DOCTYPE html>
<html>
<head>
  <meta name="author" content="<NAME>">
  <meta name="description" content="The Sentiment Analyzer provides users with feedback
  regarding the sentiment of sample text that they input.">
  <link rel="stylesheet" href="css/foundation.min.css">
  <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  <link rel="shortcut icon" href="img/smiley.ico" type="image/favicon.ico">
  <meta charset="utf-8">
  <title>Sentiment Analyzer</title>
</head>
<body>
  <div class="grid-container">
    <div class="grid-x">
      <div class="cell">
        <h1><a href="index.html"><img class="logo" src="img/sentiment_app_logo.png" alt="Sentiment Analyzer Logo"></a></h1>
      </div>
    </div>
    <div class="top-bar" id="responsive-menu">
      <div class="top-bar-left">
        <ul class="dropdown menu" data-dropdown-menu>
          <li><a href="index.html">Home</a></li>
          <li><a href="about.html">About</a></li>
        </ul>
      </div>
    </div>
    <div class="grid-x">
      <div class="cell">

        <h2>About</h2>
        <h3>Background</h3>
        <p>The Sentiment Analyzer application compares the user’s text input to an existing list of words and phrases, which were assigned a numeric sentiment value.  If words or phrases from the input are found in the list, they receive the associated numeric value from the list.  If the words are not in the list, they do not receive a value.  All of the values for each sentence are summed to determine a sentiment value for each line.  For input of multiple lines separated by a return, the overall sentiment value is calculated by averaging the values of all words and phrases from the input that were found in the list.
        </p>
        <h3>Interpreting Results</h3>
        <p>Example 1:  "The cheers filled the room."<br>
          This text returns a numeric value of 2, which is a positive sentiment.<br><br>
          Example 2:  "Life is to be lived, not controlled; and humanity is won by continuing to play in face of certain defeat."<br>
          This text returns a numeric value of 4, which is a positive sentiment.  The value of 4 is considered more positive than the value of 2 seen in Example 1. 
          <br><br>
          Example 3:  "There was an accident last night."<br>
          This text returns a numeric value of –2, which is a negative sentiment.<br><br>
          Example 4:  "The investigators accidentally destroyed the evidence."<br>
          This text returns a numeric value of –5, which is a negative sentiment.  The value of –5 is considered more negative than the value of –2 seen in Example 3.<br><br>
          Example 5:  "The crowd accidentally applauded at the show."  <br>
          This text returns a numeric value of 0, which is considered a neutral sentiment.  <br>
        </p>
        <h3>For More Information</h3>
        <p>The list of words and phrases used as part of the Sentiment Analyzer is known as the <a href="http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6010">AFINN</a> list.  The AFINN list is a collection of words, phrases, and emojis that have been rated with integer values ranging from negative five to positive five.
        </p>
      </div>
      <div class="grid-x">
        <div class="cell">
          <p>©Copyright 2017 by The Sentimental Group. All rights reserved.</p>
        </div>
      </div>

      <script src="js/jquery.min.js"></script>
      <script src="js/analyze.js"></script>
      <script src="js/foundation.min.js"></script>
    </div>

  </body>
  </html>
{'fraction_non_alphanumeric': 0.11988737403675163, 'fraction_numerical': 0.01037344398340249, 'mean_word_length': 2.9840613931523023, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 171, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '64326', 'n_tokens_mistral': 2074, 'n_tokens_neox': 1958, 'n_words': 768}