Skip to content

Commit

Permalink
[ca] New rules, update replace.txt catalan.info
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Dec 22, 2013
1 parent 2d0dcfd commit 87e83a8
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ fsa.dict.speller.ignore-diacritics=true
fsa.dict.speller.convert-case=true

fsa.dict.speller.equivalent-chars=b v,v b,o u,u o,a e,e a,s \u00E7,\u00E7 s
fsa.dict.speller.replacement-pairs=l l\u00b7l,l\u00b7l l,ga gue,assa asa,asa assa,\u00E7 ss,ss \u00E7,sse ce,ce sse,ssi ci,ci ssi,ch x,ch tx,\u00F1 ny,nn n,nn n,ll tll,ce cce,ci cci,k qu,qu k,is itz,matitz matis,cu qu,nf mf,np mp,mb nv,eixc esc,eixc isc,eixq isq,eixq esq
fsa.dict.speller.replacement-pairs=l l\u00b7l,l\u00b7l l,ga gue,assa asa,asa assa,\u00E7 ss,ss \u00E7,sse ce,ce sse,ssi ci,ci ssi,ch x,ch tx,ch ix,\u00F1 ny,nn n,nn n,ll tll,ce cce,ci cci,k qu,qu k,is itz,matitz matis,cu qu,nf mf,np mp,mb nv,eixc esc,eixc isc,eixq isq,eixq esq,cal qual
Original file line number Diff line number Diff line change
Expand Up @@ -13238,6 +13238,35 @@ $Id$
</rulegroup>
</category>
<category name="Expressions incorrectes" type="grammar">
<rule id="DUN_TEMPS_A_AQUESTA_PART" name="d'un temps *a aquesta part/ençà">
<pattern>
<token>d'</token>
<token regexp="yes" inflected="yes">un|algun</token>
<token min="0" inflected="yes">quant</token>
<token regexp="yes" inflected="yes">temps|dia|setmana|mes|any|dècada</token>
<marker>
<token>a</token>
<token>aquesta</token>
<token>part</token>
</marker>
</pattern>
<message>Expressió incorrecta</message>
<suggestion>ençà</suggestion>
<example type="incorrect">d'un temps <marker>a aquesta part</marker></example>
<example type="incorrect">d'uns quants dies <marker>a aquesta part</marker></example>
<example type="correct">d'un temps ençà</example>
</rule>
<rule id="SI_A_CAS" name="si a cas">
<pattern>
<token>si</token>
<token>a</token>
<token>cas</token>
</pattern>
<message>Expressió incorrecta</message>
<suggestion>si de cas</suggestion>
<example type="incorrect"><marker>si a cas</marker></example>
<example type="correct">si de cas</example>
</rule>
<rule id="ESTAR_DELS_NERVIS" name="estar dels nervis">
<pattern>
<marker>
Expand Down Expand Up @@ -22633,6 +22662,18 @@ $Id$
</category>
<category name="C6) Evita paraules incloses només en alguns diccionaris" default="on" type="style">
<!-- verbs valencians: caquejar -->
<rule id="TACANYERIA" name="tacanyeria">
<pattern>
<token inflected="yes">tacanyeria</token>
</pattern>
<message>Paraula només admesa per alguns diccionaris.</message>
<suggestion><match no="1" postag="(NCF.*)" postag_regexp="yes" postag_replace="$1">gasiveria</match></suggestion>
<suggestion><match no="1" postag="(NCF.*)" postag_regexp="yes" postag_replace="$1">mesquinesa</match></suggestion>
<suggestion><match no="1" postag="(NCF.*)" postag_regexp="yes" postag_replace="$1">garreperia</match></suggestion>
<suggestion><match no="1" postag="(NCF.*)" postag_regexp="yes" postag_replace="$1">avarícia</match></suggestion>
<example type="incorrect" correction="gasiveries|mesquineses|garreperies|avarícies"><marker>tacanyeries</marker></example>
<example type="correct">gasiveria</example>
</rule>
<rule id="XAVACANERIA" name="xavacaneria, xavacanada, grosseria">
<pattern>
<token inflected="yes" regexp="yes">xavacaneria|xavacanada|grosseria</token>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,32 @@ botellones|botellons=festes alcohòliques
botellon|botellón=festa alcohòlica
brillantesa=brillantor
bueno=bé|bo
cabalgata=cavalcada
cabalgates=cavalcades
cabildo=capítol|ajuntament|junta|consell
cabildos=capítols|ajuntaments|juntes|consells
caciquil=caciquista
caciquils=caciquistes
cadera=maluc|costat|anca
caderes=malucs|costats|anques
calambre=rampa
calambres=rampes
calderilla=xavalla|menuts|moneda engrunada
calentador=escalfador|calefactor
calentadors=escalfadors|calefactors
calissa=calcària
calisses=calcàries
callejero=guia de carrers|viari
callejeros=guies de carrers|viaris
cansanci=cansament
cansancis=cansaments
carajillo=cigaló|rebentat|cafè amb gotes
carajillos=cigalons|rebentats|cafès amb gotes
carent=mancat|mancada|freturós|freturosa
carents=mancats|mancades|freturosos|freturoses
carinyo=estimat|estimada|rei|reina|amor|amor meu|vida|afecte|estima|estimació|afecció
cata=tast|sondatge|prospecció|tall|exploració|prova|assaig
cates=tasts|sondatges|prospeccions|talls|exploracions|proves|assaigs
cercanies=voltants|encontorns|rodalia
chapucera=potinera|sapastra|barroera|bunyolera
chapuceras=potineres|sapastres|barroeres|bunyoleres
Expand Down Expand Up @@ -719,6 +736,12 @@ sèquits=seguicis
sèria=seriosa|sèrie
sèrio=seriós
sèrios=seriosos
tabic=envà|barandat|paret|tempanell|cloenda|paredó
tabics=envans|barandats|parets|tempanells|cloendes|paredons
taco=tac|bloc|renec|paraulota|embolic|garbuix|tacó
tacos=tacs|blocs|renecs|paraulotes|embolics|garbuixos
taladradora|taladro=perforadora|trepant|màquina de foradar
taladradores|taladros=perforadores|trepants|màquines de foradar
tamany=mida|grandària|format|dimensió|proporció|volum
tamanys=mides|grandàries|formats|dimensions|proporcions|volums
texte=text|teste
Expand Down

0 comments on commit 87e83a8

Please sign in to comment.