<commit_before><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/print.xsl" ?>
<?xml-stylesheet type="text/css" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.css"
        title="Easy editing stylesheet" ?>
<!--
English Grammar and Typo Rules for LanguageTool
See tagset.txt for the meaning of the POS tags
Copyright (C) 2001-2015 <NAME> (http://www.danielnaber.de),
  <NAME> and the LanguageTool contributors

Portions of rules are converted from After The Deadline grammar checker, 
available at http://open.afterthedeadline.com/, licensed under
GNU GPL.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
USA
-->

<!DOCTYPE rules [
    <!ENTITY weekdays "Monday|Wednesday|T(ue|hur)sday|Friday|S(atur|un)day">
    <!ENTITY abbrevWeekdays "Mon?|Tue?|Wed?|Thu?|Fri?|Sat?|Sun?">
    <!ENTITY months "January|February|March|April|May|Ju(ne|ly)|August|September|October|November|December">
    <!ENTITY abbrevMonths "Jan|Feb|Mar|Apr|Ju[ln]|Aug|Sept?|Oct|Nov|Dec">
    <!ENTITY languages "Akan|Amharic|Arabic|Assamese|Awadhi|Azerbaijani|Balochi|Bangla|Belarusian|Bengali|Bhojpuri|Burmese|Cantonese|Cebuano|Chewa|Chhattisgarhi|Chittagonian|Czech|Deccan|Dhundhari|Dutch|English|Filipino|French|Fula|Gaelic|German|Greek|Gujarati|Hakka|Haryanvi|Hausa|Hiligaynon|Hindi|Hmong|Hunanese|Hungarian|Igbo|Ilocano|Ilonggo|Indonesian|Italian|Ja[pv]anese|Jin|Kannada|Kazakh|Khmer|Kinyarwanda|Kirundi|Konkani|Korean|Kurdish|Madurese|Magahi|Maithili|Malagasy|Malay(alam)?|Malaysian|Mandarin|Marathi|Marwari|Mossi|Nepali|Odia|Oriya|Oromo|Pashto|Persian|Polish|Portuguese|Punjabi|Quechua|Romanian|Russian|Saraiki|Serbo-Croatian|Shona|Sindhi|Sinhalese|Somali|Spanish|Sundanese|Swedish|Sylheti|Tagalog|Tamil|Telugu|Thai|Turk(ish|men)|Ukrainian|Urdu|Uyghur|Uzbek|Vietnamese|Visayan|Wu|Xhosa|Xiang|Yoruba|Yue|Zhuang|Zulu"><!-- Most are from https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers -->
]>

<rules lang="en" xsi:noNamespaceSchemaLocation="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- ====================================================================== -->
    <!-- Grammar -->
    <!-- ====================================================================== -->
    <category id="GRAMMAR" name="Grammar" type="grammar">

        <rulegroup id="AGREEMENT_SENT_START" name="Possible agreement error: plural noun + singular verb">
            <rule>
                <pattern>
                    <or>
                        <token postag="SENT_START"/>
                        <token regexp="yes">what|which|who|whose|where|when|whether|how</token>
                    </or>
                    <token postag="DT"/>
                    <token postag="NNS"><exception postag="NN|NN:.*" postag_regexp="yes"/></token>
                    <marker>
                        <token postag="VBZ"><exception>is</exception></token>
                    </marker>
                </pattern>

                <message>You should probably use <suggestion><match no="4" postag="VBP"/></suggestion>.</message>
                <example correction="bark">The dogs <marker>barks</marker> loudly.</example>
                <example correction="bark">He asked whether the dogs <marker>barks</marker> loudly.</example>
            </rule>
            <rule>
                <pattern>
                    <marker>
                        <!--<or>-->
                            <token>is</token>
                            <!--<token>are</token>-->
                        <!--</or>-->
                    </marker>
                </pattern>
                <message>You should probably use <suggestion><match no="1" postag="VB"></match></suggestion>.</message>
                <example correction="be">This <marker>is</marker>.</example>
                <!--<example>This be.</example>-->
            </rule>
        </rulegroup>

    </category>
</rules><commit_msg>small meaningless changes. pretty-formatted xml.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/print.xsl" ?>
<?xml-stylesheet type="text/css" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.css"
        title="Easy editing stylesheet" ?>
<!--
English Grammar and Typo Rules for LanguageTool
See tagset.txt for the meaning of the POS tags
Copyright (C) 2001-2015 <NAME> (http://www.danielnaber.de),
  <NAME> and the LanguageTool contributors

Portions of rules are converted from After The Deadline grammar checker, 
available at http://open.afterthedeadline.com/, licensed under
GNU GPL.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
USA
-->

<!DOCTYPE rules [
    <!ENTITY weekdays "Monday|Wednesday|T(ue|hur)sday|Friday|S(atur|un)day">
    <!ENTITY abbrevWeekdays "Mon?|Tue?|Wed?|Thu?|Fri?|Sat?|Sun?">
    <!ENTITY months "January|February|March|April|May|Ju(ne|ly)|August|September|October|November|December">
    <!ENTITY abbrevMonths "Jan|Feb|Mar|Apr|Ju[ln]|Aug|Sept?|Oct|Nov|Dec">
    <!ENTITY languages "Akan|Amharic|Arabic|Assamese|Awadhi|Azerbaijani|Balochi|Bangla|Belarusian|Bengali|Bhojpuri|Burmese|Cantonese|Cebuano|Chewa|Chhattisgarhi|Chittagonian|Czech|Deccan|Dhundhari|Dutch|English|Filipino|French|Fula|Gaelic|German|Greek|Gujarati|Hakka|Haryanvi|Hausa|Hiligaynon|Hindi|Hmong|Hunanese|Hungarian|Igbo|Ilocano|Ilonggo|Indonesian|Italian|Ja[pv]anese|Jin|Kannada|Kazakh|Khmer|Kinyarwanda|Kirundi|Konkani|Korean|Kurdish|Madurese|Magahi|Maithili|Malagasy|Malay(alam)?|Malaysian|Mandarin|Marathi|Marwari|Mossi|Nepali|Odia|Oriya|Oromo|Pashto|Persian|Polish|Portuguese|Punjabi|Quechua|Romanian|Russian|Saraiki|Serbo-Croatian|Shona|Sindhi|Sinhalese|Somali|Spanish|Sundanese|Swedish|Sylheti|Tagalog|Tamil|Telugu|Thai|Turk(ish|men)|Ukrainian|Urdu|Uyghur|Uzbek|Vietnamese|Visayan|Wu|Xhosa|Xiang|Yoruba|Yue|Zhuang|Zulu"><!-- Most are from https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers -->
]>

<rules lang="en" xsi:noNamespaceSchemaLocation="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- ====================================================================== -->
    <!-- Grammar -->
    <!-- ====================================================================== -->
    <category id="GRAMMAR" name="Grammar" type="grammar">

        <rulegroup id="AGREEMENT_SENT_START" name="Possible agreement error: plural noun + singular verb">
            <rule>
                <pattern>
                    <or>
                        <token postag="SENT_START"/>
                        <token regexp="yes">what|which|who|whose|where|when|whether|how</token>
                    </or>
                    <token postag="DT"/>
                    <token postag="NNS"><exception postag="NN|NN:.*" postag_regexp="yes"/></token>
                    <marker>
                        <token postag="VBZ"><exception>is</exception></token>
                    </marker>
                </pattern>
                <message>You should probably use <suggestion><match no="4" postag="VBP"/></suggestion>.</message>
                <example correction="bark">The dogs <marker>barks</marker> loudly.</example>
                <example correction="bark">He asked whether the dogs <marker>barks</marker> loudly.</example>
            </rule>
            <rule>
                <pattern>
                    <marker>
                        <or>
                            <token>is</token>
                            <token>are</token>
                        </or>
                    </marker>
                </pattern>
                <message>You should probably use <suggestion><match no="1" postag="VB"/></suggestion>.</message>
                <example correction="be">This <marker>is</marker>.</example>
                <example>This be.</example>
            </rule>
        </rulegroup>
    </category>
</rules>
{'fraction_non_alphanumeric': 0.1740175585284281, 'fraction_numerical': 0.006479933110367893, 'mean_word_length': 3.2303271441202477, 'pattern_counts': {'":': 0, '<': 162, '<?xml version=': 2, '>': 162, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 9}, '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': '3025374', 'n_tokens_mistral': 3188, 'n_tokens_neox': 2862, 'n_words': 555}