Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
refactor(preprocessor): remove unnecessary init
  • Loading branch information
Han Xiao committed Aug 21, 2019
1 parent 38567b0 commit 0d1bd4e2b50f7cae7ce2124f9874e9e36803035d
Showing with 1 addition and 5 deletions.
  1. +1 −5 gnes/preprocessor/
@@ -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:

0 comments on commit 0d1bd4e

Please sign in to comment.