def __init__(self, root, fileids): XMLCorpusReader.__init__(self, root, fileids) # framenet corpus sub dirs # sub dir containing the xml files for frames self._frame_dir = "frame" # sub dir containing the xml files for lexical units self._lu_dir = "lu" # sub dir containing the xml files for fulltext annotation files self._fulltext_dir = "fulltext" # Indexes used for faster look-ups self._frame_idx = None self._lu_idx = None self._fulltext_idx = None self._semtypes = None
def __init__(self, root, fileids): XMLCorpusReader.__init__(self, root, fileids) # framenet corpus sub dirs # sub dir containing the xml files for frames self._frame_dir = "frame" # sub dir containing the xml files for lexical units self._lu_dir = "lu" # sub dir containing the xml files for fulltext annotation files self._fulltext_dir = "fulltext" # Indexes used for faster look-ups self._frame_idx = None self._lu_idx = None self._fulltext_idx = None self._semtypes = None
def __init__(self, *args, **kwargs): MyCategorizedCorpusReader.__init__(self, kwargs) XMLCorpusReader.__init__(self, *args, **kwargs)