All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.languagetool.rules.ru.bitext.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<rules targetLang="ru" 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 id="NEG" name="negation">
        <rule lang="ru" id="there_is" name="There is -> Это">
            <pattern>
                <source lang="en">
                    <token>there</token>
                    <token>is</token>
                    <token><exception regexp="yes">no|nothing|nobody</exception></token>
                </source>
                <target>
                    <marker>
                        <token>нет</token>
                    </marker>
                    <token/>
                </target>
            </pattern>
            <message>Было ли это <suggestion>там</suggestion>?</message>
            <example type="correct">
                <srcExample>There is a dog.</srcExample>
                <trgExample>Это собака.</trgExample>
            </example>
            <example type="incorrect">
                <srcExample><marker>There is a</marker> dog.</srcExample>
                <trgExample><marker>Нет</marker> собаки.</trgExample>
            </example>
        </rule>
    </category>
</rules>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy