def entries(self, fileids, **kwargs):
        if 'key' in kwargs:
            key = kwargs['key']
            del kwargs['key']
        else:
            key = 'lx'  # the default key in MDF
        entries = []
        for marker, contents in self.fields(fileids, **kwargs):
            if marker == key:
                entries.append((contents, []))
            else:
                try:
                    entries[-1][-1].append((marker, contents))
                except __HOLE__:
                    pass
        return entries
dataset/ETHPy150Open nltk/nltk/nltk/corpus/reader/toolbox.py/ToolboxCorpusReader.entries