<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_name_dictionary_extractor(name_trie):
 """Method for creating default name dictionary extractor"""


    return DictionaryExtractor()\
        .set_trie(name_trie)\
        .set_pre_filter(VALID_TOKEN_RE.match)\
        .set_pre_process(lambda x: x.lower())\
        .set_metadata({'extractor': 'dig_name_dictionary_extractor'})