<commit_before><h1>关键词列表</h1>

<table class="table table-hover">
  <thead>
    <tr>
      <th>关键词</th>
      <th>开始时间</th>
      <th>结束时间</th>
      <th colspan="5"></th>
    </tr>
  </thead>

  <tbody>
    <% @keywords.each do |keyword| %>
      <tr>
        <td><%= keyword.content %></td>
        <td><%= st(keyword.starttime) %></td>
        <td><%= st(keyword.endtime) %></td>
        <td><%= link_to '微博搜索结果', keyword %></td>
        <td><%= link_to '热门微博(传播路径)', action: :weibo, id: keyword %></td>
        <td><%= link_to '百度新闻', action: :weibo, id: keyword %></td>
        <td><%= link_to '品牌媒体关注', action: :weibo, id: keyword %></td>
        <td><%= link_to '删除', keyword, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Keyword', new_keyword_path %><commit_msg>added<commit_after><h1>关键词列表</h1>

<table class="table table-hover">
  <thead>
    <tr>
      <th>关键词</th>
      <th>开始时间</th>
      <th>结束时间</th>
      <th colspan="5"></th>
    </tr>
  </thead>

  <tbody>
    <% @keywords.each do |keyword| %>
      <tr>
        <td><%= keyword.content %>(<%= keyword.weibos.count %>)</td>
        <td><%= st(keyword.starttime) %></td>
        <td><%= st(keyword.endtime) %></td>
        <td><%= link_to '微博搜索结果', keyword %></td>
        <td><%= link_to '热门微博(传播路径)', action: :weibo, id: keyword %></td>
        <td><%= link_to '百度新闻', action: :weibo, id: keyword %></td>
        <td><%= link_to '品牌媒体关注', action: :weibo, id: keyword %></td>
        <td><%= link_to '删除', keyword, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Keyword', new_keyword_path %>
{'fraction_non_alphanumeric': 0.24696356275303644, 'fraction_numerical': 0.003470213996529786, 'mean_word_length': 2.642105263157895, 'pattern_counts': {'":': 0, '<': 100, '<?xml version=': 0, '>': 100, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3846881', 'n_tokens_mistral': 767, 'n_tokens_neox': 769, 'n_words': 155}