def METHOD_NAME(self, texts, yaml_str=None, topk=10,
                   is_canonicalized=False, filter=True):
    if self.eidos_reader is None:
        self.initialize_reader()
    if yaml_str is None:
        yaml_str = self.get_default_ontology()
    text_seq = _list_to_seq(texts)
    raw_groundings = \
        self.eidos_reader.components().ontologyHandler().reground(
            'Custom',  # name
            yaml_str,  # ontologyYaml
            text_seq,  # texts
            filter,  # filter
            topk,  # topk
            is_canonicalized  # isAlreadyCanonicalized
        )
    # Process the return values into a proper Python representation
    groundings = [[_get_scored_grounding(entry) for entry in text_grounding]
                  for text_grounding in raw_groundings]
    return groundings