anchor.diff:          </p>
           <%=
             pie_chart({
  -            'simple words'  => @analysis.simple_words_count,
  +            "simple words"  => @analysis.simple_words_count,
               'complex words' => @analysis.complex_words_count
             }, colors: [Document.hex_color, "#FF6977"])
           %>
  
positive.code:   <%# TODO: Order these cards by % %>
    <%# TODO: Darken/lighten card based on % %>
    <div class="col s12 m3">
      <div class="card blue">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:adjective) %>%
            </div>
            Adjectives
          </span>
        </div>
      </div>
    </div>
    <div class="col s12 m3">
      <div class="card blue lighten-1">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:noun) %>%
            </div>
            Nouns
          </span>
        </div>
      </div>
    </div>
    <div class="col s12 m3">
      <div class="card blue lighten-2">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:verb) %>%
            </div>
            Verbs
          </span>
        </div>
      </div>
    </div>
    <div class="col s12 m3">
      <div class="card blue lighten-3">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:pronoun) %>%
            </div>
            Pronouns
          </span>
        </div>
      </div>
    </div>
    <div class="col s12 m3">
      <div class="card blue lighten-3">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:proper_noun) %>%
            </div>
            Proper nouns
          </span>
        </div>
      </div>
    </div>
    <div class="col s12 m3">
      <div class="card blue lighten-3">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:conjunction) %>%
            </div>
            Conjunctions
          </span>
        </div>
      </div>
    </div>
    <div class="col s12 m3">
      <div class="card blue lighten-2">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:adverb) %>%
            </div>
            Adverbs
          </span>
        </div>
      </div>
    </div>
    <div class="col s12 m3">
      <div class="card blue lighten-1">
        <div class="card-content white-text center">
          <span class="card-title">
            <div class="white-text">
              <%= @analysis.pos_percentage(:interrogative) %>%
            </div>
            Interrogatives
          </span>
        </div>
      </div>
    </div>
  
negative.code:       </div>
      </div>
    </div>
  
    <div class="col s12">
      <div class="card">
        <div class="card-content">
          <div class="card-title">Averaged structure ratios</div>
          <table>
            <tr>
              <th></th>
              <th>... per word</th>
              <th>... per sentence</th>
              <th>... per paragraph</th>
            </tr>
            <tr>
              <th>Letters...</th>
              <td><%= (@analysis.character_count.to_f / @analysis.word_count).round(4) %></td>
              <td><%= (@analysis.character_count.to_f / @analysis.sentence_count).round(4) %></td>
              <td><%= (@analysis.character_count.to_f / @analysis.paragraph_count).round(4) %></td>
            </tr>
            <tr>
              <th>Words...</th>
              <td><%= (@analysis.word_count.to_f / @analysis.word_count).round(4) %></td>
              <td><%= (@analysis.word_count.to_f / @analysis.sentence_count).round(4) %></td>
              <td><%= (@analysis.word_count.to_f / @analysis.paragraph_count).round(4) %></td>
            </tr>
            <tr>
              <th>Simple words...</th>
              <td><%= (@analysis.simple_words_count.to_f / @analysis.word_count).round(4) %></td>
              <td><%= (@analysis.simple_words_count.to_f / @analysis.sentence_count).round(4) %></td>
              <td><%= (@analysis.simple_words_count.to_f / @analysis.paragraph_count).round(4) %></td>
            </tr>
            <tr>
              <th>Complex words...</th>
              <td><%= (@analysis.complex_words_count.to_f / @analysis.word_count).round(4) %></td>
              <td><%= (@analysis.complex_words_count.to_f / @analysis.sentence_count).round(4) %></td>
              <td><%= (@analysis.complex_words_count.to_f / @analysis.paragraph_count).round(4) %></td>
            </tr>
            <tr>
              <th>Sentences...</th>
              <td><%= (@analysis.sentence_count.to_f / @analysis.word_count).round(4) %></td>
              <td><%= (@analysis.sentence_count.to_f / @analysis.sentence_count).round(4) %></td>
              <td><%= (@analysis.sentence_count.to_f / @analysis.paragraph_count).round(4) %></td>
            </tr>
            <tr>
              <th>Paragraphs...</th>
              <td><%= (@analysis.paragraph_count.to_f / @analysis.word_count).round(4) %></td>
              <td><%= (@analysis.paragraph_count.to_f / @analysis.sentence_count).round(4) %></td>
              <td><%= (@analysis.paragraph_count.to_f / @analysis.paragraph_count).round(4) %></td>
            </tr>
          </table>
        </div>
      </div>
    </div>
  </div>
  