from module.semantic_parser import build_search_tree from config import * print('开始训练实体搜索树...') build_search_tree(entity_corpus_path, entity_searcher_save_path) print('实体搜索树训练成功...')