Skip to content

Commit

Permalink
[ca] new rule TRAFIC_TRANSIT
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Oct 4, 2023
1 parent a92f992 commit ff7f7ee
Showing 1 changed file with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67200,6 +67200,40 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<suggestion><match no="1" postag="(V.*)" postag_regexp="yes" postag_replace="$1" include_skipped="all">deixar</match> com un drap brut</suggestion>
<example correction="deixat com un drap brut">L'ha <marker>posat de volta i mitja</marker>.</example>
</rule>
<rulegroup id="TRAFIC_TRANSIT" name="tràfic -> transit" default="temp_off">
<url>https://esadir.cat/entrades/fitxa/id/2354</url>
<rule>
<pattern>
<token inflected="yes">senyal</token>
<token>de</token>
<marker>
<token>tràfic</token>
</marker>
</pattern>
<message>En el sentit de 'circulació, moviment' cal dir <suggestion>trànsit</suggestion>.</message>
<example correction="trànsit">Han canviat els senyals de <marker>tràfic</marker>.</example>
</rule>
<rule>
<pattern>
<marker>
<token skip="5">tràfic</token>
</marker>
<token regexp="yes" inflected="yes">dada|carrer|avinguda|peatge|via|autovia|autopista|ciutat</token>
</pattern>
<message>En el sentit de 'circulació, moviment' cal dir <suggestion>trànsit</suggestion>.</message>
<example correction="trànsit">Hi ha <marker>tràfic</marker> intens al peatge de l'autopista.</example>
</rule>
<rule>
<pattern>
<marker>
<token>tràfic</token>
</marker>
<token inflected="yes" regexp="yes">aeri|rodar|marítim</token>
</pattern>
<message>En el sentit de 'circulació, moviment' cal dir <suggestion>trànsit</suggestion>.</message>
<example correction="trànsit">El <marker>tràfic</marker> rodat.</example>
</rule>
</rulegroup>
<rulegroup id="TRACTA_TRAFIC" name="*tracta/tràfic">
<rule>
<pattern>
Expand Down

0 comments on commit ff7f7ee

Please sign in to comment.