Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[de] add gGEC APs #9508

Merged
merged 4 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75861,6 +75861,32 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<example correction="Vom 7. bis 10."><marker>Vom 7.-10.</marker> März.</example>
</rule>
-->
<rule default="temp_off">
<pattern>
<token>zwischen</token>
<token regexp="yes">[0-9]+</token>
<marker>
<token regexp="yes">-|–</token>
</marker>
<token regexp="yes">[0-9]+</token>
</pattern>
<message>Bitte schreiben Sie 'und' bei vorhergehendem 'zwischen' aus.</message>
<suggestion>und</suggestion>
<example correction="und">Bei bekanntem Normaldruckhydrozephalus zeigte sich im Verlauf (im Zeitraum zwischen 2019 <marker>–</marker> 2021) in der bildgebenden Diagnostik keine Befundverschlechterung.</example>
</rule>
<rule default="temp_off">
<pattern>
<token>zwischen</token>
<token postag="SUB.*|EIG.*" postag_regexp="yes"/>
<marker>
<token regexp="yes">(-|–)</token>
</marker>
<token postag="SUB.*|EIG.*" postag_regexp="yes"/>
</pattern>
<message>Bitte schreiben Sie 'und' bei vorhergehendem 'zwischen' aus.</message>
<suggestion>und</suggestion>
<example correction="und">Das liegt irgendwo zwischen Dortmund <marker>–</marker> Düsseldorf.</example>
</rule>
</rulegroup>
<!-- false positive bei Zitaten -->
<rulegroup default="temp_off" id="ANFUEHRUNG_KOMPOSITA" name="Komposita mit Anführungszeichen statt Bindestrichen, z.B. „Geht nicht“-Einstellung">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,28 @@ To ignore a remote rule match, set the <marker> so that it exactly covers the te
</rule>
</rulegroup>

<rulegroup id="AI_DE_GGEC_REPLACEMENT_OTHER" name="">
<rule><!--1-->
<pattern>
<token regexp="yes">[a-zäöü]*</token>
<token regexp="yes">[⁰¹²³⁴⁵⁶⁷⁸⁹]*</token>
</pattern>
<example correction="">Die Majcoat 200 SOB bekommst du durch den Lieferwertrabatt und bei Bestellung über den Webshop mit -5% zu 2,79 €/<marker>m²</marker>.</example>
</rule>
<rule><!--2-->
<pattern>
<token regexp="yes" case_sensitive="yes">[A-Z]*[₀₁₂₃₄₅₆₇₈₉]*</token>
</pattern>
<example correction="">Diese Formel enthält <marker>CO₂</marker>.</example>
</rule>
<rule><!--3-->
<pattern>
<token regexp="yes" case_sensitive="yes">[A-Z][A-Z]+</token>
</pattern>
<example correction="">Mit Ablauf des Vertrages erlischt das Recht des <marker>SPONSORS</marker> die Identifikation des Athleten zu verwenden</example>
</rule>
</rulegroup>

<rulegroup id="AI_DE_GGEC_REPLACEMENT_NOUN" name="">
<rule><!--1-->
<pattern>
Expand Down