def METHOD_NAME(self, mention_data, use_translation=True, use_ner=False):
    if use_translation:
        mention_data = self.translate(mention_data)
    if not self.one_pass:  # Use separate NER instead
        mention_data = self.ner_tag(mention_data)
    else:  # check input format
        mention_data = self.process_data(mention_data)
    # run main function
    result_matrix = self.nel.METHOD_NAME(mention_data)
    # parse topk result to entity id&label
    inferred = prase_inference(self.entity_dict, result_matrix, mention_data, one_pass_format=self.one_pass)
    return inferred