<?xml version="1.0" encoding="UTF-8"?>
<rules targetLang="pl" xsi:noNamespaceSchemaLocation="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/bitext.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <category name="negation">
        <rule lang="pl" id="there_is" name="There is -> Istnieje">
            <pattern>
                <source lang="en">
                    <token>there</token>
                    <token>is</token>
                    <token><exception regexp="yes">no|nothing|nobody</exception></token>
                </source>
                <target>
                    <marker>
                        <token>nie</token>
                        <token regexp="yes">ma|jest</token>
                    </marker>
                    <token/>
                </target>
            </pattern>
            <message>Czy chodziło o <suggestion>istnieje</suggestion>?</message>
            <example type="correct">
                <srcExample>There is a dog.</srcExample>
                <trgExample>Jest pies.</trgExample>
            </example>
            <example type="incorrect">
                <srcExample><marker>There is a</marker> dog.</srcExample>
                <trgExample><marker>Nie ma</marker> psa.</trgExample>
            </example>
        </rule>
    </category>
</rules>