<commit_before><%@page import="com.vionto.vithesaurus.*" %>  
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>${title}</title>
    </head>
    <body>

          <hr />
    
          <p><g:link controller="wordList"><g:message code="word.list.backlink" /></g:link></p>

          <h2>${headline}</h2>

          <div style="float:right;margin-left:20px">
              <g:render template="/ads/variation_right"/>
          </div>

          <p>${intro}</p>

          <ul>
              <g:each in="${termList}" var="term">
                  <li><g:link action="search" params="${[q: term.word]}"
                      >${term.encodeAsHTML()} <g:render template="/ajaxSearch/metaInfo" model="${[term:term]}"/></g:link>
                      <%
                      int i = 0
                      %>
                      <g:each in="${term.synset.sortedTerms()}" var="synsetTerm">
                          <g:if test="${i < 3 && synsetTerm.word.indexOf(term.word) == -1}">
                              <span class="d">&middot;</span> ${synsetTerm.encodeAsHTML()}
                              <%
                              i++
                              %>
                          </g:if>
                          <g:elseif test="${i == 3}">
                              <span class="d">&middot;</span> ...
                              <%
                              i++
                              %>
                          </g:elseif>
                      </g:each>
                  </li>
              </g:each>
          </ul>

          <div class="paginateButtons">
              <g:paginate total="${matchCount}" id="${params.id}" />
          </div>

    </body>
</html><commit_msg>show 20 entries per page<commit_after><%@page import="com.vionto.vithesaurus.*" %>  
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>${title}</title>
    </head>
    <body>

          <hr />
    
          <p><g:link controller="wordList"><g:message code="word.list.backlink" /></g:link></p>

          <h2>${headline}</h2>

          <div style="float:right;margin-left:20px">
              <g:render template="/ads/variation_right"/>
          </div>

          <p>${intro}</p>

          <ul>
              <g:each in="${termList}" var="term">
                  <li><g:link action="search" params="${[q: term.word]}"
                      >${term.encodeAsHTML()} <g:render template="/ajaxSearch/metaInfo" model="${[term:term]}"/></g:link>
                      <%
                      int i = 0
                      %>
                      <g:each in="${term.synset.sortedTerms()}" var="synsetTerm">
                          <g:if test="${i < 3 && synsetTerm.word.indexOf(term.word) == -1}">
                              <span class="d">&middot;</span> ${synsetTerm.encodeAsHTML()}
                              <%
                              i++
                              %>
                          </g:if>
                          <g:elseif test="${i == 3}">
                              <span class="d">&middot;</span> ...
                              <%
                              i++
                              %>
                          </g:elseif>
                      </g:each>
                  </li>
              </g:each>
          </ul>

          <div class="paginateButtons">
              <g:paginate max="20" total="${matchCount}" id="${params.id}" />
          </div>

    </body>
</html>
{'fraction_non_alphanumeric': 0.17876637554585154, 'fraction_numerical': 0.006004366812227074, 'mean_word_length': 1.1160508083140877, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 101, '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': '1770754', 'n_tokens_mistral': 1067, 'n_tokens_neox': 1021, 'n_words': 150}