<commit_before><%@page import="org.languagetool.*" %>
<%@page import="org.hibernate.*" %>

<html>
    <head>
        <title>${language} <g:message code="ltc.home.title"/></title>
		<meta name="layout" content="main" />
		<g:javascript library="prototype" />
    </head>
    <body>

        <div class="body">

        <g:render template="/languageSelection"/>

        <div class="dialog">
            
            <p style="margin-bottom: 15px"><g:message code="ltc.home.intro"/></p>

            <h2><g:link controller="wikiCheck"><g:message code="ltc.wiki.check"/></g:link></h2>


            <br />
            <h2><g:message code="ltc.run.languagetool"/></h2>

            <div class="mainPart">

            <g:form method="post">
                <input type="hidden" name="lang" value="${params.lang?.encodeAsHTML()}"/>
            
                <g:textArea name="text" value="${textToCheck}" rows="5" cols="80" />
                <br />
                <g:actionSubmit action="checkText" value="${message(code:'ltc.home.check.text')}"/>
                
            </g:form>
            
            <g:if test="${!session.user}">
            	<g:message code="ltc.login.to.configure"/>
            </g:if>
            
            </div>


            <br />
            <h2><g:link controller="rule" action="list" params="[lang: params.lang?.encodeAsHTML()]"><g:message code="ltc.browse.rules"/></g:link></h2>
            
            <div class="mainPart">
            	<g:message code="ltc.browse.explain"/>
            </div>


            <br />
            <h2><g:message code="ltc.check.results"/></h2>
            
            <div class="mainPart">
            
            <p><g:message code="ltc.check.explain"/></p>
            
            <p><g:message code="ltc.check.random.selection"/></p>
            
            <br/>
            <g:render template="/corpusMatches"/>
            
            </div>

            <br />

            <div class="lthomepage">
            	<g:message code="ltc.home.links"/>
            </div>
                   
        </div>

        </div>
        
    </body>
</html><commit_msg>comment out the text check box - this is now on the homepage (and in a much nicer implementation)<commit_after><%@page import="org.languagetool.*" %>
<%@page import="org.hibernate.*" %>

<html>
    <head>
        <title>${language} <g:message code="ltc.home.title"/></title>
		<meta name="layout" content="main" />
		<g:javascript library="prototype" />
    </head>
    <body>

        <div class="body">

        <g:render template="/languageSelection"/>

        <div class="dialog">
            
            <p style="margin-bottom: 15px"><g:message code="ltc.home.intro"/></p>

            <!--
            <br />
            <h2><g:message code="ltc.run.languagetool"/></h2>

            <div class="mainPart">

            <g:form method="post">
                <input type="hidden" name="lang" value="${params.lang?.encodeAsHTML()}"/>
            
                <g:textArea name="text" value="${textToCheck}" rows="5" cols="80" />
                <br />
                <g:actionSubmit action="checkText" value="${message(code:'ltc.home.check.text')}"/>
                
            </g:form>
            
            <g:if test="${!session.user}">
            	<g:message code="ltc.login.to.configure"/>
            </g:if>
            
            </div>
            -->


            <br />
            <h2><g:link controller="rule" action="list" params="[lang: params.lang?.encodeAsHTML()]"><g:message code="ltc.browse.rules"/></g:link></h2>
            
            <div class="mainPart">
            	<g:message code="ltc.browse.explain"/>
            </div>


            <br />
            <h2><g:link controller="wikiCheck"><g:message code="ltc.wiki.check"/></g:link></h2>


            <br />
            <h2><g:message code="ltc.check.results"/></h2>
            
            <div class="mainPart">
            
            <p><g:message code="ltc.check.explain"/></p>
            
            <p><g:message code="ltc.check.random.selection"/></p>
            
            <br/>
            <g:render template="/corpusMatches"/>
            
            </div>

            <br />

            <div class="lthomepage">
            	<g:message code="ltc.home.links"/>
            </div>
                   
        </div>

        </div>
        
    </body>
</html>
{'fraction_non_alphanumeric': 0.18606224627875506, 'fraction_numerical': 0.005863779882724403, 'mean_word_length': 1.5213189312109152, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, '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': '1767777', 'n_tokens_mistral': 1399, 'n_tokens_neox': 1333, 'n_words': 199}