step 1: get ner
(self, input_dict, mode)
| 222 | f.write("\n") |
| 223 | |
| 224 | def step_get_ner_results(self, input_dict, mode): |
| 225 | """step 1: get ner""" |
| 226 | input_dict["ner_results"] = self.ner.run(input_dict["query"], self.dataset) |
| 227 | if mode == "debug": |
| 228 | print(input_dict["init_table_infos"]) |
| 229 | print(input_dict["query"]) |
| 230 | if mode == "debug": |
| 231 | print("---------------step 1: ner_results are---------------------") |
| 232 | print(input_dict["ner_results"]) |
| 233 | return input_dict |
| 234 | |
| 235 | def get_features_by_llm_concurrent(self, query, init_table_infos, limitation, metric, main_metric, lang_mode): |
| 236 | results = [] |