Utente:MicoBot/Regex

# -*- coding: iso-8859-1 -*-

fixes = {
   # python replace.py -lang:it -fix:it-mico
   'it-mico': {
       'regex': True,
       'msg': {
              'it':u'MicoBot: Links definizioni e voci micologiche',
             },
       'replacements': [
# Sostituzioni definizioni micologiche
           (u'\[\[([Oo]dore)\]\]', ur'[[Odore (micologia)|\1]]'),
           (u"'''(O|o)dore'''", ur'[[Odore (micologia)|\1dore]]'),
           (u'\[\[([Ss]apore)\]\]', ur'[[Sapore (micologia)|\1]]'),
           (u'\[\[(C|c)arpofor(o|i)\]\]', ur'[[Carpoforo (micologia)|\1arpofor\2]]'),
           (u"'''(S|s)apore'''", ur'[[Sapore (micologia)|\1apore]]'),
           (u'\[\[(S|s)por(a|e)\]\]', ur'[[Spora (micologia)|\1por\2]]'),
           (u'\[\[([Aa]nello)\]\]', ur'[[Anello (micologia)|\1]]'),
           (u'\[\[([Gg]ambo)\]\]', ur'[[Gambo (micologia)|\1]]'),
           (u'\[\[(C|c)appello[^a-z0-9 _]\]\]', ur'[[Cappello (micologia)|\1appello]]'),
           (u'\[\[([Ll]amell[ae])\]\]', ur'[[Lamella (micologia)|\1]]'),
           (u'\[\[(P|p)or(i|o)[^a-z0-9 _]\]\]', ur'[[Poro (micologia)|\1or\2]]'),
           (u'\[\[(T|t)ubul(i|o)\]\]', ur'[[Tubulo (micologia)|\1ubul\2]]'),
           (u'\[\[(B|b)asidi\]\]', ur'[[Basidio|\1asidi]]'),
           (u'\[\[(A|a)schi\]\]', ur'[[Asco|\1schi]]'),
           (u'\[\[(M|m)icorrize\]\]', ur'[[Micorriza|\1icorrize]]'),
           (u'\[\[(Microscopia)\]\]', ur'[[Microscopio (strumento ottico)|\1]]'),
           (u'\[\[Tuber\]\]', ur'[[Tuber (genere)|Tuber]]'),
           (u'\[\[(C|c)istidi\]\]', ur'[[Cistidio|\1istidi]]'),
           (u'\;([Bb]asidio?)\:', ur';[[Basidio|\1]]:'),
           (u'\[\[([Cc]heilocistidio?)\]\]', ur'[[Cistidio|\1]]'),
           (u'\[\[([Gg]loeocistidio?)\]\]', ur'[[Cistidio|\1]]'),
           (u"\[\[(Sapore \(micologia\)\|Sapore)\]\](?!\')", ur"'''[[\1]]'''"),
           (u"\[\[(Odore \(micologia\)\|Odore)\]\](?!\')", ur"'''[[\1]]'''"),
           (u"\=+\s*\[\[(Reazioni chimiche)\]\]\s*\=+", ur"== [[Reazione chimica (micologia)|\1]] =="),

# Fix apostrofi e punteggiatura

           (u'\\bE\'', ur'È'),
           (u"(’|‘|`|´)", u"'"),                           
           (u'(D|d)al greco', ur'\1al [[Lingua greca|greco]]'),
           (u'(D|d)al latino', ur'\1al [[Lingua latina|latino]]'),
           (u'\\bliscie', ur'lisce'),
           (u'\[\[latino\]\]', ur'[[Lingua latina|latino]]'),
           (u'\[\[greco\]\]', ur'[[Lingua greca|greco]]'),

           (u"(?i)\=+\s*vedi anche\s*\=+", u"== Voci correlate =="),
           (u"(?i)\=+\s*articoli correlati\s*\=+", u"== Voci correlate =="),
           (u"(?i)\=+\s*articoli collegati\s*\=+", u"== Voci correlate =="),
           (u"(?i)\=+\s*link\s*\=+", u"== Collegamenti esterni =="),
           (u"(?i)\=+\s*links* esterni\s*\=+", u"== Collegamenti esterni =="),
           (u"(?i)\=+\s*riferimenti esterni\s*\=+", u"== Collegamenti esterni =="),
           (u"(?i)\=+\s*risorse esterne\s*\=+", u"== Collegamenti esterni =="),
           (r"(?i)\=+(\s*)voci correlate\s*\=+", r"==\1Voci correlate\1=="),                                
           (r"(?i)\=+(\s*)collegamenti esterni\s*\=+", r"==\1Collegamenti esterni\1=="),
           (u"(?i)\=+\s*nomi volgari\s*\=+", u"== Nomi comuni =="),
           (u"(?i)\=+\s*può confondersi con:?\s*\=+", u"== Specie simili =="),
           (u"(?i)\=+\s*confondibile con:?\s*\=+", u"== Specie simili =="),
           (u"\[\[[Ii]mage:(.*?)\]\]", ur'[[Immagine:\1]]'),
          ]
  },    

   # python replace.py -lang:it -fix:it-micologi
   'it-micologi': {
       'regex': True,
       'msg': {
              'it':u'MicoBot: Correzione links a botanici e micologi',
             },
       'replacements': [
           (u'\[\[(Corner)\]\]', ur'[[Edred John Henry Corner|\1]]'),
           (u'\[\[(A.DC.)\]\]', ur'[[Alphonse De Candolle|\1]]'),
           (u'\[\[(Alb\.)\]\]', ur'[[Johannes Baptista von Albertini|\1]]'),
           (u'\[\[(Arnould)\]\]', ur'[[Léon \1|\1]]'),
           (u'\[\[(DC.)\]\]', ur'[[Augustin Pyrame de Candolle|\1]]'),
           (u'\[\[(Bataille)\]\]', ur'[[Frédéric Bataille|\1]]'),
           (u'\[\[(Batsch)\]\]', ur'[[August Johann Georg Karl Batsch|\1]]'),
           (u'\[\[(Boud.|Boudier)\]\]', ur'[[Jean Louis Émile Boudier|\1]]'),
           (u'\[\[(Bres.|Bresadola)\]\]', ur'[[Giacomo Bresadola|\1]]'),
           (u'\[\[(Bull.|Bulliard)\]\]', ur'[[Jean Baptiste Bulliard|\1]]'),
           (u'\[\[(Chatin)\]\]', ur'[[Gaspard Adolphe Chatin|\1]]'),
           (u'\[\[(Clem.|Clements)\]\]', ur'[[Frederick Edward Clements|\1]]'),
           (u'\[\[(Cooke)\]\]', ur'[[Mordecai Cubitt Cooke|\1]]'),
           (u'\[\[(Donk)\]\]', ur'[[Marinus Anton Donk|\1]]'),
           (u'\[\[(Dill.)\]\]', ur'[[Johann Jacob Dillenius|\1]]'),
           (u'\[\[(Fr.|Fries)\]\]', ur'[[Elias Magnus Fries|\1]]'),
           (u'\[\[(Fayod)\]\]', ur'[[Victor Fayod|\1]]'),
           (u'\[\[(E.-J. Gilbert)\]\]', ur'[[Edouard-Jean Gilbert|\1]]'),
           (u'\[\[(Génev.|Génevier)\]\]', ur'[[Léon Gaston Génevier|\1]]'),
           (u'\[\[(Gillet)\]\]', ur'[[Claude-Casimir Gillet|\1]]'),
           (u'\[\[(Gray)\]\]', ur'[[Samuel Frederick Gray|\1]]'),
           (u'\[\[(Grev.|Greville)\]\]', ur'[[Robert Kaye Greville|\1]]'),
           (u'\[\[(Hook.|Hooker)\]\]', ur'[[William Jackson Hooker|\1]]'),
           (u'\[\[(Jacq.)\]\]', ur'[[Nicolaus Joseph von Jacquin|\1]]'),
           (u'\[\[(Jülich)\]\]', ur'[[Walter Jülich|\1]]'),
           (u'\[\[(Kallenb.)\]\]', ur'[[Franz Joseph Kallenbach|\1]]'),
           (u'\[\[(P. ?Karst.|P. ?Karsten|P. ?A. ?Karsten)\]\]', ur'[[Peter Adolf Karsten|\1]]'),
           (u'\[\[(Kühner)\]\]', ur'[[Robert Kühner|\1]]'),
           (u'\[\[(P. ?Kumm.|Kummer)\]\]', ur'[[Paul Kummer|\1]]'),
           (u'\[\[(Krombh.|Krombholz)\]\]', ur'[[Julius Vincenz von Krombholz|\1]]'),
           (u'\[\[(Lambotte)\]\]', ur'[[Jean Baptiste Émil Lambotte|\1]]'),
           (u'\[\[(L.|Linneo)\]\]', ur'[[Carl von Linné|\1]]'),
           (u'\[\[(Link)\]\]', ur'[[Johann Heinrich Friedrich Link|\1]]'),
           (u'\[\[(Locq.)\]\]', ur'[[Marcel V. Locquin|\1]]'),
           (u'\[\[(Nees)\]\]', ur'[[Christian Gottfried Daniel Nees von Esenbeck|\1]]'),
           (u'\[\[(Paulet)\]\]', ur'[[Jean Jacques Paulet|\1]]'),
           (u'\[\[(Opat.)\]\]', ur'[[Wilhelm Opatowski|\1]]'),
           (u'\[\[(Maire)\]\]', ur'[[René Charles Joseph Ernest Maire|\1]]'),
           (u'\[\[(M.M. Moser)\]\]', ur'[[Meinhard Michael Moser|\1]]'),
           (u'\[\[(O. ?F. Müll.)\]\]', ur'[[Otto Friedrich Müller|\1]]'),
           (u'\[\[(Murrill)\]\]', ur'[[William Alphonso Murrill|\1]]'),
           (u'\[\[(Pers.|Persoon)\]\]', ur'[[Christian Hendrik Persoon|\1]]'),
           (u'\[\[(Pilát)\]\]', ur'[[Albert Pilát|\1]]'),
           (u'\[\[(Quélet|Quél.)\]\]', ur'[[Lucien Quélet|\1]]'),
           (u'\[\[(Rchb.)\]\]', ur'[[Ludwig Reichenbach|\1]]'),
           (u'\[\[(Romagn.|Romagnesi)\]\]', ur'[[Henri Romagnesi|\1]]'),
           (u'\[\[(Roussel)\]\]', ur'[[Henri François Anne de Roussel|\1]]'),
           (u'\[\[(Sacc.|Saccardo)\]\]', ur'[[Pier Andrea Saccardo|\1]]'),
           (u'\[\[(J. ?Schröt.|Schröter)\]\]', ur'[[Joseph Schröter|\1]]'),
           (u'\[\[(Scop.|Scopoli)\]\]', ur'[[Giovanni Antonio Scopoli|\1]]'),
           (u'\[\[(Schaeff.)\]\]', ur'[[Jacob Christian Schäffer|\1]]'),
           (u'\[\[(Sing.|Singer)\]\]', ur'[[Rolf Singer|\1]]'),
           (u'\[\[(A.H. Sm.)\]\]', ur'[[Alexander Hanchett Smith|\1]]'),
           (u'\[\[(Sowerby)\]\]', ur'[[James Sowerby|\1]]'),
           (u'\[\[(Staude)\]\]', ur'[[Friedrich Staude|\1]]'),
           (u'\[\[([SŠ]utara)\]\]', ur'[[Josef Šutara|\1]]'),
           (u'\[\[(Thiers)\]\]', ur'[[Harry Delbert Thiers|\1]]'),
           (u'\[\[(Velen.|Velenovský)\]\]', ur'[[Josef Velenovský|\1]]'),
           (u'\[\[(Vittad.|Vitt.)\]\]', ur'[[Carlo Vittadini|Vittad.]]'),
           (u'\[\[(Weinm.)\]\]', ur'[[Johann Anton Weinmann|\1]]'),
           (u'\[\[(F.H. Wigg.)\]\]', ur'[[Friedrich Heinrich Wiggers|\1]]'),
           (u'\[\[(With.)\]\]', ur'[[William Withering|\1]]'),
           (u'\[\[(Wulfen)\]\]', ur'[[Franz Xavier von Wulfen|\1]]'),

    # correzioni opere micologiche

           (u'[aA]nnls [mM]ycol\.', ur'Annales Mycologici'),
           (u'[Bb]ull\. [Ss]oc\. [Mm]ycol\. [Ff]r\.', ur'Bulletin de la Société Mycologique de France'),
         (u'[Ee]ncycl\. [Mm]éth\. [bB]ot\.', ur'Encyclopédie Méthodique Botanique'),
           (u'[eE]picr\. [Ss]yst\. [Mm]ycol\.', ur'Epicrisis Systematis Mycologici'),
         (u'[fF]ung\. [bB]avar\. [pP]alat\.', ur'Fungorum qui in Bavaria et Palatinatu circa Ratisbonam nascuntur'),
           (u'[Ff]l\. [mM]ycol\. France', ur'Flore mycologique de la France et des pays limitrophes'),
           (u'[mM]onogr\. [Tt]uberac\.', ur'Monographia Tuberacearum'),
           (u'[mM]onogr\. [hH]ymenomyc\. [sS]uec\.', ur'Monographia Hymenomycetum Sueciae'),
           (u'[Mm][eé]m\. [sS]oc\. [Rr]oy\. [Ss]ci\. Li[èe]ge', ur'Memoire Societe Royale des Sciences de Liege'),
           (u'[Nn]at\. [Aa]rr\. [Bb]rit\. [Pp]l\.', ur'A Natural Arrangement of British Plants'),
           (u'[Nn]aturgetr\. [Aa]bbild\. [Bb]eschr\. [Ss]chwämme', ur'Naturgetreue Abbildungen und Beschreibungen der essbaren, schädlichen und verdächtigen Schwämme'),
           (u'[Ss]p\. [Pp]lantarum', ur'Species Plantarum'),
           (u'[Ss]umma [Vv]eg\. [Ss]cand\.', ur'Summa vegetabilium Scandinaviae'),
           (u'[Ss]yll\. [Ff]ung\.', ur'Sylloge fungorum omnium husque cognitorum'),
           (u'[sS]yn\. meth\. fung\.', ur'Synopsis Methodica Fungorum'),
           (u'[sS]ynops\. [Mm]eth\. [Ff]ung\.', ur'Synopsis Methodica Fungorum'),
           (u'[sS]yst\. [Mm]ycol\.', ur'Systema mycologicum'),
           (u'[tT]ent\. [Dd]isp\. [Mm]eth\. [Ff]ung\.', ur'Tentamen Dispositionis Methodicae Fungorum'),

         ]
  },     

    'accenti': {
        'regex': True,
        'msg': {
               'it':u'Correzione di alcuni errori comuni contenuti in questa [[Discussioni_Wikipedia:Bot/Sostituzioni/Espressioni_regolari|lista]]',
              },
        'replacements': [
                #congiunzioni (e non) terminanti in -chè
                (u'\\b([Aa])bbenchè\\b', ur'\1bbenché'),
                (u'\\b([aA])cciocchè\\b', ur'\1cciocché'),
                (u'\\b([aA])ffinchè\\b', ur'\1ffinché'),
                (u'\\b([aA])lcunchè\\b', ur'\1lcunché'),
                (u'\\b([aA])llorchè\\b', ur'\1llorché'),
                (u'\\b([aA])ltrochè\\b', ur'\1ltroché'),
                (u'\\b([aA])ncorchè\\b', ur'\1ncorché'),
                (u'\\b([aA])nzichè\\b', ur'\1nziché'),
                (u'\\b([aA])ttesochè\\b', ur'\1ttesoché'),
                (u'\\b([aA])vvegnachè\\b', ur'\1vvegnaché'),
                (u"\\b([aA])vvegnadiochè\\b", ur"\1vvegnadioché"),
                (u"\\b([aA])vvengachè\\b", ur"\1vvengaché"),
                (u"\\b([aA])vvengadiochè\\b", ur"\1vvengadioché"),
                (u'\\b([bB])enchè\\b', ur'\1enché'),
                (u'\\b([cC])hecchè\\b', ur'\1hecché'),
                (u"\\b([cC])iocchè\\b", ur"\1iocché"),
                (u'\\b([cC])omecchè\\b', ur'\1omecché'),
                (u"\\b([cC])onciofossechè\\b", ur"\1onciofosseché"),
                (u'\\b([cC])ontuttochè\\b', ur'\1ontuttoché'),
                (u'\\b([cC])osicchè\\b', ur'\1osicché'),
                (u'\\b([cC])otalchè\\b', ur'\1otalché'),
                (u'\\b([dD])acchè\\b', ur'\1acché'),
                (u'\\b([dD])appoichè\\b', ur'\1appoiché'),
                (u'\\b([dD])imodochè\\b', ur'\1imodoché'),
                (u"\\b([dD])opochè\\b", ur"\1opoché"),
                (u"\\b([dD])opodichè\\b", ur"\1opodiché"),
                (u'\\b([eE])ssendochè\\b', ur'\1ssendoché'),
                (u'\\b([fF])inattantochè\\b', ur'\1inattantoché'),
                (u'\\b([fF])inchè\\b', ur'\1inché'),
                (u'\\b([fF])intantochè\\b', ur'\1intantoché'),
                (u"\\b([fF])inacchè\\b", ur"\1inacché"),
                (u"\\b([fF])inattantochè\\b", ur"\1inattantoché"),
                (u'\\b([fF])uorchè\\b', ur'\1uorché'),
                (u'\\b([gG])iacchè\\b', ur'\1iacché'),
                (u'\\b([gG])ranchè\\b', ur'\1ranché'),
                (u"\\b([gG])iafossechè\\b", ur"\1iafosseché"),
                (u"\\b([gG])iafossecosachè\\b", ur"\1iafossecosaché"),
                (u"\\b([iI])nfinattantochè\\b", ur"\1nfinattantoché"),
                (u'\\b([lL])orchè\\b', ur'\1orché'),
                (u"\\b([iI])nquantochè\\b", ur"\1nquantoché"),
                (u'\\b([mM])acchè\\b', ur'\1acché'),
                (u'\\b([nN])onchè\\b', ur'\1onché'),
                (u"\\b([nN])onsochè\\b", ur"\1onsoché"),
                (u'\\b([oO])ltrechè\\b', ur'\1ltreché'),
                (u"\\b([oO])ndechè\\b", ur"\1ndeché"),
                (u'\\b([pP])erchè\\b', ur'\1erché'),
                (u'\\b([pP])erciocchè\\b', ur'\1erciocché'),
                (u'\\b([pP])erlochè\\b', ur'\1erloché'),
                (u'\\b([pP])erocchè\\b', ur'\1erocché'),
                (u'\\b([pP])oichè\\b', ur'\1oiché'),
                (u"\\b([pP])osciachè\\b", ur"\1osciaché"),
                (u'\\b([pP])ressochè\\b', ur'\1ressoché'),
                (u'\\b([pP])urchè\\b', ur'\1urché'),
                (u"\\b([qQ])uantochè\\b", ur"\1uantoché"),
                (u"\\b([qQ])uasichè\\b", ur"\1uasiché"),
                (u"\\b([sS])econdochè\\b", ur"\1econdoché"),
                (u'\\b([sS])ennonchè\\b', ur'\1ennonché'),
                (u'\\b([sS])enonchè\\b', ur'\1enonché'),
                (u'\\b([sS])icchè\\b', ur'\1icché'),
                (u'\\b([sS])inattantochè\\b', ur'\1inattantoché'),
                (u'\\b([sS])inchè\\b', ur'\1inché'),
                (u'\\b([sS])intantochè\\b', ur'\1intantoché'),
                (u"\\b([sS])tantechè\\b", ur"\1tanteché"),
                (u'\\b([tT])alchè\\b', ur'\1alché'),
                (u"\\b([tT])almentechè\\b", ur"\1almenteché"),
                (u'\\b([tT])antochè\\b', ur'\1antoché'),
                (u"\\b([tT])rannechè\\b", ur"\1ranneché"),
                (u'\\b([tT])uttochè\\b', ur'\1uttoché'),
                #passati remoti
                (u"\\b([aA])bbattè\\b", ur"\1bbatté"),
                (u"\\b([aA])ccedè\\b", ur"\1ccedé"),
                (u"\\b([aA])ddissè\\b", ur"\1ddissé"),
                (u"\\b([aA])dempiè\\b", ur"\1dempié"),
                (u"\\b([aA])nnettè\\b", ur"\1nnetté"),
                (u"\\b([aA])ntiprendè\\b", ur"\1ntiprendé"),
                (u"\\b([aA])ppartenè\\b", ur"\1ppartené"),
                (u"\\b([aA])ppendè\\b", ur"\1ppendé"),
                (u"\\b([aA])pprendè\\b", ur"\1pprendé"),
                (u"\\b([aA])rrendè\\b", ur"\1rrendé"),
                (u"\\b([aA])rrompè\\b", ur"\1rrompé"),
                (u"\\b([aA])ssistè\\b", ur"\1ssisté"),
                (u"\\b([aA])ssolvè\\b", ur"\1ssolvé"),
                (u"\\b([aA])stenè\\b", ur"\1stené"),
                (u"\\b([aA])ttenè\\b", ur"\1ttené"),
                (u"\\b([aA])vvedè\\b", ur"\1vvedé"),
                (u"\\b([bB])attè\\b", ur"\1atté"),
                (u"\\b([cC])edè\\b", ur"\1edé"),
                (u"\\b([cC])ernè\\b", ur"\1erné"),
                (u"\\b([cC])hiedè\\b", ur"\1hiedé"),
                (u"\\b([cC])ombattè\\b", ur"\1ombatté"),
                (u"\\b([cC])ompetè\\b", ur"\1ompeté"),
                (u"\\b([cC])ompiè\\b", ur"\1ompié"),
                (u"\\b([cC])omprendè\\b", ur"\1omprendé"),
                (u"\\b([cC])oncedè\\b", ur"\1oncedé"),
                (u"\\b([cC])oncernè\\b", ur"\1oncerné"),
                (u"\\b([cC])onnettè\\b", ur"\1onnetté"),
                (u"\\b([cC])onsistè\\b", ur"\1onsisté"),
                (u"\\b([cC])ontenè\\b", ur"\1ontené"),
                (u"\\b([cC])ontrobattè\\b", ur"\1ontrobatté"),
                (u"\\b([cC])onvedè\\b", ur"\1onvedé"),
                (u"\\b([cC])onvergè\\b", ur"\1onvergé"),
                (u"\\b([cC])onvivè\\b", ur"\1onvivé"),
                (u"\\b([cC])orrompè\\b", ur"\1orrompé"),
                (u"\\b([cC])redè\\b", ur"\1redé"),
                (u"\\b([dD])ecedè\\b", ur"\1ecedé"),
                (u"\\b([dD])eflettè\\b", ur"\1efletté"),
                (u"\\b([dD])elinquè\\b", ur"\1elinqué"),
                (u"\\b([dD])esistè\\b", ur"\1esisté"),
                (u"\\b([dD])etenè\\b", ur"\1etené"),
                (u"\\b([dD])evolvè\\b", ur"\1evolvé"),
                (u"\\b([dD])ibattè\\b", ur"\1ibatté"),
                (u"\\b([dD])ipendè\\b", ur"\1ipendé"),
                (u"\\b([dD])iprendè\\b", ur"\1iprendé"),
                (u"\\b([dD])irimè\\b", ur"\1irimé"),
                (u"\\b([dD])iscernè\\b", ur"\1iscerné"),
                (u"\\b([dD])isottenè\\b", ur"\1isottené"),
                (u"\\b([dD])isperdè\\b", ur"\1isperdé"),
                (u"\\b([dD])isplendè\\b", ur"\1isplendé"),
                (u"\\b([dD])issolvè\\b", ur"\1issolvé"),
                (u"\\b([dD])issovvennè\\b", ur"\1issovvenné"),
                (u"\\b([dD])istemè\\b", ur"\1istemé"),
                (u"\\b([dD])isvolvè\\b", ur"\1isvolvé"),
                (u"\\b([eE])ccedè\\b", ur"\1ccedé"),
                (u"\\b([eE])lidè\\b", ur"\1lidé"),
                (u"\\b([eE])ludè\\b", ur"\1ludé"),
                (u"\\b([eE])rompè\\b", ur"\1rompé"),
                (u"\\b([eE])sigè\\b", ur"\1sigé"),
                (u"\\b([eE])simè\\b", ur"\1simé"),
                (u"\\b([eE])sistè\\b", ur"\1sisté"),
                (u"\\b([eE])spandè\\b", ur"\1spandé"),
                (u"\\b([eE])stroquè\\b", ur"\1stroqué"),
                (u"\\b([eE])volvè\\b", ur"\1volvé"),
                (u"\\b([fF])endè\\b", ur"\1endé"),
                (u"\\b([fF])ervè\\b", ur"\1ervé"),
                (u"\\b([fF])lettè\\b", ur"\1letté"),
                (u"\\b([fF])rapprendè\\b", ur"\1rapprendé"),
                (u"\\b([fF])remè\\b", ur"\1remé"),
                (u"\\b([gG])enuflettè\\b", ur"\1enufletté"),
                (u"\\b([iI])mbattè\\b", ur"\1mbatté"),
                (u"\\b([iI])mbevè\\b", ur"\1mbevé"),
                (u"\\b([iI])mpiè\\b", ur"\1mpié"),
                (u"\\b([iI])mprendè\\b", ur"\1mprendé"),
                (u"\\b([iI])ncedè\\b", ur"\1ncedé"),
                (u"\\b([iI])ncombè\\b", ur"\1ncombé"),
                (u"\\b([iI])nfremè\\b", ur"\1nfremé"),
                (u"\\b([iI])nsistè\\b", ur"\1nsisté"),
                (u"\\b([iI])ntercedè\\b", ur"\1ntercedé"),
                (u"\\b([iI])nterprendè\\b", ur"\1nterprendé"),
                (u"\\b([iI])nterrompè\\b", ur"\1nterrompé"),
                (u"\\b([iI])ntessè\\b", ur"\1ntessé"),
                (u"\\b([iI])ntraprendè\\b", ur"\1ntraprendé"),
                (u"\\b([iI])ntrarompè\\b", ur"\1ntrarompé"),
                (u"\\b([iI])ntratessè\\b", ur"\1ntratessé"),
                (u"\\b([iI])ntrattenè\\b", ur"\1ntrattené"),
                (u"\\b([iI])ntravedè\\b", ur"\1ntravedé"),
                (u"\\b([iI])ntroflettè\\b", ur"\1ntrofletté"),
                (u"\\b([iI])rrompè\\b", ur"\1rrompé"),
                (u"\\b([mM])antenè\\b", ur"\1antené"),
                (u"\\b([mM])ietè\\b", ur"\1ieté"),
                (u"\\b([oO])ttenè\\b", ur"\1ttené"),
                (u"\\b([pP])endè\\b", ur"\1endé"),
                (u"\\b([pP])erdè\\b", ur"\1erdé"),
                (u"\\b([pP])ersistè\\b", ur"\1ersisté"),
                (u"\\b([pP])iovè\\b", ur"\1iové"),
                (u"\\b([pP])ossedè\\b", ur"\1ossedé"),
                (u"\\b([pP])otè\\b", ur"\1oté"),
                (u"\\b([pP])recedè\\b", ur"\1recedé"),
                (u"\\b([pP])reesistè\\b", ur"\1reesisté"),
                (u"\\b([pP])remè\\b", ur"\1remé"),
                (u"\\b([pP])rendè\\b", ur"\1rendé"),
                (u"\\b([pP])rescindè\\b", ur"\1rescindé"),
                (u"\\b([pP])resiedè\\b", ur"\1resiedé"),
                (u"\\b([pP])revedè\\b", ur"\1revedé"),
                (u"\\b([pP])rocedè\\b", ur"\1rocedé"),
                (u"\\b([pP])ropendè\\b", ur"\1ropendé"),
                (u"\\b([pP])rorompè\\b", ur"\1rorompé"),
                (u"\\b([pP])rovolvè\\b", ur"\1rovolvé"),
                (u"\\b([rR])apprendè\\b", ur"\1apprendé"),
                (u"\\b([rR])attenè\\b", ur"\1attené"),
                (u"\\b([rR])avvedè\\b", ur"\1avvedé"),
                (u"\\b([rR])ecedè\\b", ur"\1ecedé"),
                (u"\\b([rR])edigè\\b", ur"\1edigé"),
                (u"\\b([rR])endè\\b", ur"\1endé"),
                (u"\\b([rR])esistè\\b", ur"\1esisté"),
                (u"\\b([rR])etrocedè\\b", ur"\1etrocedé"),
                (u"\\b([rR])iannettè\\b", ur"\1iannetté"),
                (u"\\b([rR])ibattè\\b", ur"\1ibatté"),
                (u"\\b([rR])icedè\\b", ur"\1icedé"),
                (u"\\b([rR])icevè\\b", ur"\1icevé"),
                (u"\\b([rR])ichiedè\\b", ur"\1ichiedé"),
                (u"\\b([rR])iconnettè\\b", ur"\1iconnetté"),
                (u"\\b([rR])iconverrè\\b", ur"\1iconverré"),
                (u"\\b([rR])icredè\\b", ur"\1icredé"),
                (u"\\b([rR])iedè\\b", ur"\1iedé"),
                (u"\\b([rR])iempiè\\b", ur"\1iempié"),
                (u"\\b([rR])iflettè\\b", ur"\1ifletté"),
                (u"\\b([rR])ingodè\\b", ur"\1ingodé"),
                (u"\\b([rR])ipentè\\b", ur"\1ipenté"),
                (u"\\b([rR])ipetè\\b", ur"\1ipeté"),
                (u"\\b([rR])iprendè\\b", ur"\1iprendé"),
                (u"\\b([rR])isedè\\b", ur"\1isedé"),
                (u"\\b([rR])isiedè\\b", ur"\1isiedé"),
                (u"\\b([rR])isolvè\\b", ur"\1isolvé"),
                (u"\\b([rR])isplendè\\b", ur"\1isplendé"),
                (u"\\b([rR])itenè\\b", ur"\1itené"),
                (u"\\b([rR])ivedè\\b", ur"\1ivedé"),
                (u"\\b([rR])ivendè\\b", ur"\1ivendé"),
                (u"\\b([rR])ivivè\\b", ur"\1ivivé"),
                (u"\\b([rR])ompè\\b", ur"\1ompé"),
                (u"\\b([sS])battè\\b", ur"\1batté"),
                (u"\\b([sS])candè\\b", ur"\1candé"),
                (u"\\b([sS])cernè\\b", ur"\1cerné"),
                (u"\\b([sS])connettè\\b", ur"\1connetté"),
                (u"\\b([sS])ecernè\\b", ur"\1ecerné"),
                (u"\\b([sS])fottè\\b", ur"\1fotté"),
                (u"\\b([sS])occombè\\b", ur"\1occombé"),
                (u"\\b([sS])oprassedè\\b", ur"\1oprassedé"),
                (u"\\b([sS])opravvivè\\b", ur"\1opravvivé"),
                (u"\\b([sS])orprendè\\b", ur"\1orprendé"),
                (u"\\b([sS])ostenè\\b", ur"\1ostené"),
                (u"\\b([sS])pandè\\b", ur"\1pandé"),
                (u"\\b([sS])perdè\\b", ur"\1perdé"),
                (u"\\b([sS])plendè\\b", ur"\1plendé"),
                (u"\\b([sS])premè\\b", ur"\1premé"),
                (u"\\b([sS])ternè\\b", ur"\1terné"),
                (u"\\b([sS])trafottè\\b", ur"\1trafotté"),
                (u"\\b([sS])travedè\\b", ur"\1travedé"),
                (u"\\b([sS])tridè\\b", ur"\1tridé"),
                (u"\\b([tT])emè\\b", ur"\1emé"),
                (u"\\b([tT])enè\\b", ur"\1ené"),
                (u"\\b([tT])essè\\b", ur"\1essé"),
                (u"\\b([tT])ralucè\\b", ur"\1ralucé"),
                (u"\\b([tT])ransigè\\b", ur"\1ransigé"),
                (u"\\b([tT])rattenè\\b", ur"\1rattené"),
                (u"\\b([tT])ravedè\\b", ur"\1ravedé"),
                (u"\\b([vV])edè\\b", ur"\1edé"),
                (u"\\b([vV])endè\\b", ur"\1endé"),
                (u"\\b([vV])ertè\\b", ur"\1erté"),
                #Termini d'origine francese (ed italiani come caffè)
                (u'\\b([aA])ntirè\\b', ur'\1ntiré'),
                (u'\\b([aA])utodafè\\b', ur'\1utodafé'),
                (u'\\b([cC])annetè\\b', ur'\1anneté'),
                (u'\\b([cC])apitonnè\\b', ur'\1apitonné'),
                (u'\\b([cC])lichè\\b', ur'\1liché'),
                (u'\\b([cC])loisonnè\\b', ur'\1loisonné'),
                (u'\\b([cC])onsommè\\b', ur'\1onsommé'),
                (u"\\b([cC])impanzè\\b", ur"\1impanzé"),
                (u'\\b([cC])oupè\\b', ur'\1oupé'),
                (u'\\b([cC])raquelè\\b', ur'\1raquelé'),
                (u'\\b([dD])ecolletè\\b', ur'\1ecolleté'),
                (u'\\b([dD])écolletè\\b', ur'\1écolleté'),
                (u'\\b([dD])efilè\\b', ur'\1efilé'),
                (u'\\b([dD])éfilè\\b', ur'\1éfilé'),
                (u'\\b([dD])egagè\\b', ur'\1egagé'),
                (u'\\b([dD])égagè\\b', ur'\1égagé'),
                (u'\\b([dD])elavè\\b', ur'\1elavé'),
                (u'\\b([dD])élavè\\b', ur'\1élavé'),
                (u'\\b([dD])emodè\\b', ur'\1emodé'),
                (u'\\b([dD])émodè\\b', ur'\1émodé'),
                (u'\\b([dD])eracinè\\b', ur'\1eraciné'),
                (u'\\b([dD])éracinè\\b', ur'\1éraciné'),
                (u'\\b([dD])eshabillè\\b', ur'\1eshabillé'),
                (u'\\b([dD])éshabillè\\b', ur'\1éshabillé'),
                (u'\\b([eE])cartè\\b', ur'\1carté'),
                (u'\\b([eE])nfant gƒtè\\b', ur'\1nfant gƒté'),
                (u'\\b([eE])ngagè\\b', ur'\1ngagé'),
                (u'\\b([fF])lambè\\b', ur'\1lambé'),
                (u'\\b([fF])oncè\\b', ur'\1oncé'),
                (u'\\b([fF])risè\\b', ur'\1risé'),
                (u'\\b([gG])aufrè\\b', ur'\1aufré'),
                (u'\\b([gG])lacè\\b', ur'\1lacé'),
                (u"\\b([gG])ranmercè\\b", ur"\1ranmercé"),
                (u'\\b([hH])abituè\\b', ur'\1abitué'),
                (u'\\b([hH])ôtel meublè\\b', ur'\1ôtel meublé'),
                (u'\\b([iI])mprimè\\b', ur'\1mprimé'),
                (u'\\b([iI])nterrè\\b', ur'\1nterré'),
                (u'\\b([kK])aritè\\b', ur'\1arité'),
                (u'\\b([mM])arron glacè\\b', ur'\1arron glacé'),
                (u'\\b([mM])atelassè\\b', ur'\1atelassé'),
                (u'\\bmercè\\b', ur'mercé'),
                (u'\\b([mM])erzè\\b', ur'\1erzé'),
                (u'\\b([mM])eublè\\b', ur'\1eublé'),
                (u'\\b([mM])oirè\\b', ur'\1oiré'),
                (u'\\b([mM])oulinè\\b', ur'\1ouliné'),
                (u'\\b([nN])egligè\\b', ur'\1egligé'),
                (u'\\b([nN])égligè\\b', ur'\1égligé'),
                (u"\\b([nN])ontiscordardimè\\b", ur"\1ontiscordardimé"),
                (u'\\b([pP])ancarrè\\b', ur'\1ancarré'),
                (u'\\b([pP])âtè\\b', ur'\1âté'),
                (u'\\b([sS])aint-honorè\\b', ur'\1aint-honoré'),
                (u'\\b([sS])cimpanz[eè]\\b', ur'\1cimpanzé'),
                (u'\\b([sS])eparè\\b', ur'\1eparé'),
                (u'\\b([sS])oufflè\\b', ur'\1oufflé'),
                (u'\\b([tT])amurè\\b', ur'\1amuré'),
                (u'\\b([tT])rentatrè\\b', ur'\1rentatré'),
                (u'\\b([tT])ruffè\\b', ur'\1ruffé'),
                (u'\\b([vV])arietè\\b', ur'\1arieté'),
                (u'\\b([vV])ariétè\\b', ur'\1ariété'),
                (u'\\b([vV])icerè\\b', ur'\1iceré'),
                (u'\\b([vV])entitrè\\b', ur'\1entitré'),
                (u'\\b([aA])himé\\b', ur'\1himè'),
                (u'\\b([aA])mmazzacaffé\\b', ur'\1mmazzacaffè'),
                (u'\\b([aA])ppié\\b', ur'\1ppiè'),
                (u'\\b([bB])igné\\b', ur'\1ignè'),
                (u'\\b([bB])uffé\\b', ur'\1uffè'),
                (u'\\b([cC])abaré\\b', ur'\1abarè'),
                (u'\\b([cC])abriolé\\b', ur'\1abriolè'),
                (u'\\b([cC])anapé\\b', ur'\1anapè'),
                (u'\\b([cC])arcadé\\b', ur'\1arcadè'),
                (u'\\b([cC])hedivé\\b', ur'\1hedivè'),
                (u'\\b([cC])ioé\\b', ur'\1ioè'),
                (u'\\b([cC])occodé\\b', ur'\1occodè'),
                (u'\\b([cC])ontrobuffé\\b', ur'\1ontrobuffè'),
                (u'\\b([cC])orvé\\b', ur'\1orvè'),
                (u'\\b([cC])roscé\\b', ur'\1roscè'),
                (u'\\b([cC])upé\\b', ur'\1upè'),
                (u'\\b([dD])appié\\b', ur'\1appiè'),
                (u'\\b([dD])osacaffé\\b', ur'\1osacaffè'),
                (u'\\b([eE])uhoé\\b', ur'\1uhoè'),
                (u'\\b([fF])orfé\\b', ur'\1orfè'),
                (u'\\b([kK])arkadé\\b', ur'\1arkadè'),
                (u'\\b([kK])edivé\\b', ur'\1edivè'),
                (u'\\b([lL])acché\\b', ur'\1acchè'),
                (u'\\b([mM])acinacaffé\\b', ur'\1acinacaffè'),
                (u'\\b([mM])acramé\\b', ur'\1acramè'),
                (u'\\b([mM])ordoré\\b', ur'\1ordorè'),
                (u'\\b([mM])usmé\\b', ur'\1usmè'),
                (u'\\b([nN])arghilé\\b', ur'\1arghilè'),
                (u'\\b([pP])arché\\b', ur'\1archè'),
                (u'\\b([pP])uré\\b', ur'\1urè'),
                (u'\\b([rR])adiorelé\\b', ur'\1adiorelè'),
                (u'\\b([rR])amié\\b', ur'\1amiè'),
                (u'\\b([sS])ufflé\\b', ur'\1ufflè'),
                (u'\\b([tT])oppé\\b', ur'\1oppè'),
                (u'\\b([tT])ostacaffé\\b', ur'\1ostacaffè'),
                (u'\\b([tT])uppé\\b', ur'\1uppè'),
                (u'\\b([vV])ahiné\\b', ur'\1ahinè'),
                (u'\\bGiosué\\b', ur'Giosuè'),
                (u'\\bMosé\\b', ur'Mosè'),
            ]
    },
}