def check(text):
    """Suggest the preferred forms.

    source:     Garner's Modern American Usage
    source_url: http://bit.ly/1T4alrY
    """
    err = "terms.denizen_labels.garner"
    msg = "'{}' is the preferred denizen label."

    preferences = [

        ["Afrikaner",         ["Afrikaaner"]],
        ["Afrikaner",         ["Afrikander"]],
        ["Alabamian",         ["Alabaman"]],
        ["Albuquerquean",     ["Albuquerquian"]],
        ["Anchorageite",      ["Anchoragite"]],
        ["Angeleno",          ["Los Angelean"]],
        ["Arizonan",          ["Arizonian"]],
        ["Arkansan",          ["Arkansawyer"]],
        ["Belarusian",        ["Belarusan"]],
        ["Caymanian",         ["Cayman Islander"]],
        ["Coloradan",         ["Coloradoan"]],
        ["Fairbanksan",       ["Fairbanksian"]],
        ["Fort Worthian",     ["Fort Worther"]],
        ["Grenadan",          ["Grenadian"]],
        ["Hong Konger",       ["Hong Kongite", "Hong Kongian"]],
        ["Hoosier",           ["Indianan", "Indianian"]],
        ["Illinoisan",        ["Illinoisian"]],
        ["Iowan",             ["Iowegian"]],
        ["Louisianian",       ["Louisianan"]],
        ["Michigander",       ["Michiganite", "Michiganian"]],
        ["Missourian",        ["Missouran"]],
        ["Monegasque",        ["Monacan"]],
        ["Neapolitan",        ["Neopolitan"]],
        ["New Hampshirite",   ["New Hampshireite", "New Hampshireman"]],
        ["New Jerseyan",      ["New Jerseyite"]],
        ["New Orleanian",     ["New Orleansian"]],
        ["Nutmegger",         ["Connecticuter"]],
        ["Oklahoma Cityan",   ["Oklahoma Citian"]],
        ["Oklahoman",         ["Oklahomian"]],
        ["Seattleite",        ["Seattlite"]],
        ["Surinamese",        ["Surinamer"]],
        ["Tallahasseean",     ["Tallahassean"]],
        ["Tennessean",        ["Tennesseean"]],
        ["Tusconan",          ["Tusconian", "Tusconite"]],
        ["Utahn",             ["Utahan"]],
        ["Saudi",             ["Saudi Arabian"]],
    ]

    return preferred_forms_check(text, preferences, err, msg)
def check ( text ) : err = "terms.denizen_labels.garner" msg = "'{}' is the preferred denizen label." preferences = [ [ "Afrikaner" , [ "Afrikaaner" ] ] , [ "Afrikaner" , [ "Afrikander" ] ] , [ "Alabamian" , [ "Alabaman" ] ] , [ "Albuquerquean" , [ "Albuquerquian" ] ] , [ "Anchorageite" , [ "Anchoragite" ] ] , [ "Angeleno" , [ "Los Angelean" ] ] , [ "Arizonan" , [ "Arizonian" ] ] , [ "Arkansan" , [ "Arkansawyer" ] ] , [ "Belarusian" , [ "Belarusan" ] ] , [ "Caymanian" , [ "Cayman Islander" ] ] , [ "Coloradan" , [ "Coloradoan" ] ] , [ "Fairbanksan" , [ "Fairbanksian" ] ] , [ "Fort Worthian" , [ "Fort Worther" ] ] , [ "Grenadan" , [ "Grenadian" ] ] , [ "Hong Konger" , [ "Hong Kongite" , "Hong Kongian" ] ] , [ "Hoosier" , [ "Indianan" , "Indianian" ] ] , [ "Illinoisan" , [ "Illinoisian" ] ] , [ "Iowan" , [ "Iowegian" ] ] , [ "Louisianian" , [ "Louisianan" ] ] , [ "Michigander" , [ "Michiganite" , "Michiganian" ] ] , [ "Missourian" , [ "Missouran" ] ] , [ "Monegasque" , [ "Monacan" ] ] , [ "Neapolitan" , [ "Neopolitan" ] ] , [ "New Hampshirite" , [ "New Hampshireite" , "New Hampshireman" ] ] , [ "New Jerseyan" , [ "New Jerseyite" ] ] , [ "New Orleanian" , [ "New Orleansian" ] ] , [ "Nutmegger" , [ "Connecticuter" ] ] , [ "Oklahoma Cityan" , [ "Oklahoma Citian" ] ] , [ "Oklahoman" , [ "Oklahomian" ] ] , [ "Seattleite" , [ "Seattlite" ] ] , [ "Surinamese" , [ "Surinamer" ] ] , [ "Tallahasseean" , [ "Tallahassean" ] ] , [ "Tennessean" , [ "Tennesseean" ] ] , [ "Tusconan" , [ "Tusconian" , "Tusconite" ] ] , [ "Utahn" , [ "Utahan" ] ] , [ "Saudi" , [ "Saudi Arabian" ] ] , ] return preferred_forms_check ( text , preferences , err , msg )
Suggest the preferred forms.

    source:     Garner's Modern American Usage
    source_url: http://bit.ly/1T4alrY