Beispiel #1
0
 def __init__(self, *args, **kwargs):
     # NOTE: in addition to cat_pattern, ConllChunkCorpusReader also requires
     # chunk_types as third argument, which defaults to ('NP','VP','PP')
     CategorizedCorpusReader.__init__(self, kwargs)
     ConllChunkCorpusReader.__init__(self, *args, **kwargs)
Beispiel #2
0
 def __init__(self, *args, **kwargs):
     CategorizedCorpusReader.__init__(self, kwargs)
     ChunkedCorpusReader.__init__(self, *args, **kwargs)
	def __init__(self, *args, **kwargs):
		# NOTE: in addition to cat_pattern, ConllChunkCorpusReader also requires
		# chunk_types as third argument, which defaults to ('NP','VP','PP')
		CategorizedCorpusReader.__init__(self, kwargs)
		ConllChunkCorpusReader.__init__(self, *args, **kwargs)
	def __init__(self, *args, **kwargs):
		CategorizedCorpusReader.__init__(self, kwargs)
		ChunkedCorpusReader.__init__(self, *args, **kwargs)
Beispiel #5
0
 def paras(self, fileids=None, categories=None):
     return CategorizedCorpusReader.paras(
         self, self._resolve(fileids, categories))