diff --git a/gnes/preprocessor/base.py b/gnes/preprocessor/base.py index eb916329..6c89b962 100644 --- a/gnes/preprocessor/base.py +++ b/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: