<?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" ?>
<!--
American English Grammar and Typo Rules for LanguageTool
See tagset.txt for the meaning of the POS tags
Copyright (C) 2012 Marcin Miłkowski (http://www.languagetool.org)

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
-->
<!--suppress CheckTagEmptyBody -->
<rules lang="en-US" xsi:noNamespaceSchemaLocation="../../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- ====================================================================== -->
    <!-- Possible typos -->
    <!-- ====================================================================== -->
    <category id="US_SPECIFIC_TYPOS" name="Possible Typo" type="misspelling">
          <rule id="ANY_MORE" name="any more (anymore)">
              <pattern>
                  <marker>
                     <token>any</token>
                     <token>more</token>
                  </marker>
                  <token><exception regexp="yes">of|than</exception><exception postag="NN.*" postag_regexp="yes"/></token>
              </pattern>
              <message>Did you mean <suggestion>\1\2</suggestion>?</message>
              <url>http://www.whichenglish.com/Better-English-Grammar/Online-Usage-Letter-A.html</url>
              <short>Possible typo</short>
              <example correction="anymore">I couldn't find my way around in it <marker>any more</marker>.</example>
          </rule>
    </category>

    <category id="BRITISH_ENGLISH" name="British English phrases" type="locale-violation">
        <rule id="GROUND_FIRST_FLOOR" name="ground floor/first floor">
            <pattern>
                <marker>
                    <token>ground</token>
                </marker>
                <token regexp="yes">floors?</token>
            </pattern>
            <message>This word is British English. Did you mean <suggestion>first</suggestion>?</message>
            <url>http://www.learnenglish.de/mistakes/USvsBrEnglish.html</url>
            <example correction="first">The room is on the <marker>ground</marker> floor.</example>
            <example correction="first">Historic Buildings: insulating solid <marker>ground</marker> floors.</example>
            <example>The room is on the <marker>first</marker> floor.</example>
        </rule>
    </category>

</rules>