def __init__(self, config, logger = None):
        Analyser_Osmosis.__init__(self, config, logger)

        # Check langues for country are writen with alphabets
        self.alphabet = 'language' in config.options and languages.languages_are_alphabets(config.options['language'])
        if self.alphabet:
            self.classs[1] = {"item":"5050", "level": 2, "tag": ["name", "fix:survey"], "desc": T_(u"Soundex test") } # FIXME "menu":"test soundex"
    def __init__(self, config, logger = None):
        Analyser_Osmosis.__init__(self, config, logger)

        # Check langues for country are writen with alphabets
        self.alphabet = 'language' in config.options and languages.languages_are_alphabets(config.options['language'])

        if self.alphabet:
            self.classs_change[1] = {"item":"5080", "level": 1, "tag": ["highway", "name"], "desc": T_(u"Close similar name") }
    def __init__(self, config, logger = None):
        Analyser_Osmosis.__init__(self, config, logger)

        # Check langues for country are writen with alphabets
        self.alphabet = 'language' in config.options and languages.languages_are_alphabets(config.options['language'])

        if self.alphabet:
            self.classs_change[1] = self.def_class(item = 5080, level = 1, tags = ['highway', 'name'],
                title = T_('Close similar name'))
Ejemplo n.º 4
0
    def __init__(self, config, logger=None):
        Analyser_Osmosis.__init__(self, config, logger)

        # Check langues for country are writen with alphabets
        self.alphabet = 'language' in config.options and languages.languages_are_alphabets(
            config.options['language'])

        if self.alphabet:
            self.classs_change[1] = {
                "item": "5080",
                "level": 1,
                "tag": ["highway", "name"],
                "desc": T_(u"Close similar name")
            }