def _is_number_matching_desc(national_number, number_desc):
    if number_desc is None:
        return False
    national_re = re.compile(number_desc.national_number_pattern or U_EMPTY_STRING)
    return (_is_number_possible_for_desc(national_number, number_desc) and
            fullmatch(national_re, national_number))
extracts a dictionary of keywords
dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py/_is_number_matching_desc--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/preppy.py/extractKeywords