Tardis:What SpellBot actually corrects: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
→‎The list: spellbot update
(third parenthesis, not second)
(→‎The list: spellbot update)
Line 107: Line 107:
<pre style="-ms-border-radius:1%;-moz-border-radius:1%;-webkit-border-radius:1%;-o-border-radius:1%;border-radius:1%">
<pre style="-ms-border-radius:1%;-moz-border-radius:1%;-webkit-border-radius:1%;-o-border-radius:1%;border-radius:1%">


#SPELLBOT version 1.0
== Code ==
<pre>
 
#BritSpell version 1.05
#Enforces BrEng spelling, with exceptions
#Enforces BrEng spelling, with exceptions
#relevant to the Doctor Who universe  
#relevant to the Doctor Who universe  
Line 113: Line 116:
#released under CC-BY-SA 3.0 license  
#released under CC-BY-SA 3.0 license  
#by User:CzechOut
#by User:CzechOut
#1 November 2011
#Originally published: 1 November 2011
#Current version: 21 February 2014


fixes['spelling'] = {
fixes['spelling'] = {
Line 191: Line 195:
         (r'([Cc])esarean(.?)',r'\1aesarean\2'),
         (r'([Cc])esarean(.?)',r'\1aesarean\2'),
         (r'([Cc])aliber(.?)',r'\1alibre\2'),
         (r'([Cc])aliber(.?)',r'\1alibre\2'),
         (r'([Cc])aliper(.?)',r'\1calliper\2'),
         (r'([Cc])aliper(.?)',r'\1alliper\2'),
         (r'([Cc])alisthenics',r'\1allisthenics'),
         (r'([Cc])alisthenics',r'\1allisthenics'),
         (r'([Cc])analiz(.?)',r'\1analis\2'),
         (r'([Cc])analiz(.?)',r'\1analis\2'),
Line 241: Line 245:
         (r'([Cc])ollectiviz(.?)',r'\1ollectivis\2'),
         (r'([Cc])ollectiviz(.?)',r'\1ollectivis\2'),
         (r'([Cc])oloniz(.?)',r'\1olonis\2'),
         (r'([Cc])oloniz(.?)',r'\1olonis\2'),
         (r'( +)([Cc])olor( +)',r'\1\2olour\3'),
         (r'([Cc])olor(.?)',r'\1olour\2'),
         (r'(.?)([Cc])olored',r'\1\2oloured'),
         (r'(.?)([Cc])olored',r'\1\2oloured'),
         (r'(.?)([Cc])oloring',r'\1\2olouring'),
         (r'(.?)([Cc])oloring',r'\1\2olouring'),
Line 316: Line 320:
         (r'([Ee])ndeavor(.?)',r'\1ndeavour\2'),
         (r'([Ee])ndeavor(.?)',r'\1ndeavour\2'),
         (r'(.?)([Ee])nergiz(.?)',r'\1\2nergis\3'),
         (r'(.?)([Ee])nergiz(.?)',r'\1\2nergis\3'),
         (r'([Ee])nroll(.?)',r'\1nrol\2'),
         (r'([Ee])nroll( +)',r'\1nroll\2'),
        (r'([Ee])nrolls( +)',r'\1nrols\2'),
        (r'([Ee])nrollment( +)',r'\1nrolment\2'),
         (r'([Ee])nthrall( +)',r'\1nthral\2'), #only enthrall is one l
         (r'([Ee])nthrall( +)',r'\1nthral\2'), #only enthrall is one l
         (r'([Ee])paulet( +)',r'\1paulette\2'),
         (r'([Ee])paulet( +)',r'\1paulette\2'),
Line 567: Line 573:
         (r'([Ss])candaliz(.?)',r'\1candalis\2'),
         (r'([Ss])candaliz(.?)',r'\1candalis\2'),
         (r'([Ss])keptic(.?)',r'\1ceptic\2'),
         (r'([Ss])keptic(.?)',r'\1ceptic\2'),
         (r'([Ss])cepter(.?)',r'\1sceptre\2'),
         (r'([Ss])cepter(.?)',r'\1ceptre\2'),
         (r'([Ss])crutiniz(.?)',r'\1crutinis\2'),
         (r'([Ss])crutiniz(.?)',r'\1crutinis\2'),
         (r'([Ss])eculariz(.?)',r'\1ecularis\2'),
         (r'([Ss])eculariz(.?)',r'\1ecularis\2'),
Line 684: Line 690:
             'comment',
             'comment',
             'center',
             'center',
            'color',
            'captiontextcolor',
            'gallery'
             ],
             ],
         'category': [
         'category': [
Line 703: Line 712:
             'geometer',
             'geometer',
             'geometers',
             'geometers',
            'Geometer',
             'rateometer',
             'rateometer',
             'rateometers',
             'rateometers',
             'Rateometer',
             'Rateometer',
             'Rateometers',
             'Rateometers',
            'Hydrokinometer',
            'hydrokinometer',
             'interferometer',
             'interferometer',
             'EMF meter',
             'EMF meter',
Line 712: Line 724:
             'altimeter',
             'altimeter',
             'altimeters',
             'altimeters',
            'year meter',
            'yearometer',
            'Limiters',
            'Limitres',
             'parameters',
             'parameters',
             'Graystark',
             'Graystark',
             'perimeter',
             'perimeter',
             'pretension',
             'pretension',
            '{{color',
            '(color)',
            'Dougray',
            'arboretum',
            'Arboretum',
            '{{ColorIntLink',
            'Broadway Dance Center',
             'Good Neighbors',
             'Good Neighbors',
             'stingray',
             'stingray',
             'stingrays',
             'stingrays',
            'Valoran',
            'Pearl Harbor',
             'anagram',
             'anagram',
             'Anagram',
             'Anagram',
Line 776: Line 801:
             'align= center',
             'align= center',
             'align =center',
             'align =center',
            'position=center',
             '<center>',
             '<center>',
             '</center>',
             '</center>',
Line 782: Line 808:
             'themonster',
             'themonster',
             'arboreal',
             'arboreal',
             'Moldova',
             'Moldova', #Doesn't make an exception and I don't know why
                  ' Moldova', #this DOES work.  very weird.
             'Fun at the Funeral Parlor',
             'Fun at the Funeral Parlor',
             'humorous',
             'humorous',
Line 789: Line 816:
             'appalling',
             'appalling',
             'appalled',
             'appalled',
            'Splendorosa',
             'Demeter',
             'Demeter',
             'cemetery',
             'cemetery',
Line 801: Line 829:
             'chemotherapy',
             'chemotherapy',
             'Chemothreapy',
             'Chemothreapy',
            'Colorado',
            'previsualization',
             'Scarborough',
             'Scarborough',
             'Akoshemon',
             'Akoshemon',
Line 822: Line 852:
             'Taplow',
             'Taplow',
             'Fyodor',
             'Fyodor',
             'Synthesizing Starfields', #doesn't appear to work
             'Target Practice',
             'Pearl Harbor',
            'target practice',
            'Synthesizing_Starfields', #doesn't appear to work
                  ' Synthesizing Starfields', #this does work
             'Pearl_Harbor',
             'Mercury Theater',
             'Mercury Theater',
             'Event Synthesizer',
             'Event Synthesizer',
            'Emergency Program One',
            'bgcolor',
            'shield-o-gram',
            'dayofthemoon',
             'blasphemous', #dunno why this is being triggered as blasphaemous
             'blasphemous', #dunno why this is being triggered as blasphaemous
             'grams operator', #not sure this is a real word, but it appears on DMP
             'grams operator', #not sure this is a real word, but it appears on DMP
Line 831: Line 868:
         }
         }
     }
     }
</pre>
</pre>
[[Category:Spelling]]
[[Category:Spelling]]
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.