Skip to content
Permalink
Browse files

refactor(preprocessor): remove unnecessary init

  • Loading branch information...
hanxiao committed Aug 21, 2019
1 parent 38567b0 commit 0d1bd4e2b50f7cae7ce2124f9874e9e36803035d
Showing with 1 addition and 5 deletions.
  1. +1 −5 gnes/preprocessor/base.py
@@ -87,11 +87,7 @@ def raw_to_chunk(self, chunk: 'gnes_pb2.Chunk', raw_bytes: bytes):


class RawChunkPreprocessor(BasePreprocessor):
is_train = True

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)


@staticmethod
def _parse_chunk(chunk: 'gnes_pb2.Chunk', doc_type, *args, **kwargs):
if doc_type == gnes_pb2.Document.TEXT:

0 comments on commit 0d1bd4e

Please sign in to comment.
You can’t perform that action at this time.