Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.


refactor(preprocessor): remove unnecessary init
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Xiao committed Aug 21, 2019
1 parent 38567b0 commit 0d1bd4e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gnes/preprocessor/
Original file line number Diff line number Diff line change
Expand Up @@ -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)

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

0 comments on commit 0d1bd4e

Please sign in to comment.