@classmethod
def get_analyzer(cls, keyword):
    """Get the good analyzer for the keyword.

    keyword: str

    return: str analyzer

    """
    if cls.FORCE_ANALYZER:
        return cls.FORCE_ANALYZER
    analyzer = u'romaji_analyzer'
    result = cls.analyze(keyword.lower(), analyzer)
    result2 = cls.analyze(keyword.lower(), 'no_punctuation_analyzer')
    if result.lower() == result2.lower():
        return analyzer
    result_phone = cls.analyze(keyword.lower(),
        'my_phone_number_search_analyzer')
    if len(result_phone) > 0 and len(keyword) >= len(result_phone) + 2:
        return u'my_phone_number_search_analyzer'
    if not (' ' in keyword and u'\u3000' in keyword):
        return u'keyword'
    analyzer = u'keyword'
    kanji_parts = cls.clean_keyword(keyword, 'japanese')
    if kanji_parts:
        analyzer = u'my_analyzer'
    return analyzer
