diff --git a/hanlp/common/document.py b/hanlp/common/document.py index 6a43073fd..f433d8c5d 100644 --- a/hanlp/common/document.py +++ b/hanlp/common/document.py @@ -30,12 +30,12 @@ def words(self, words: List[str]): class Document(SerializableDict): def __init__(self) -> None: super().__init__() - self.sentences = [] - self.tokens = [] - self.part_of_speech_tags = [] - self.named_entities = [] - self.syntactic_dependencies = [] - self.semantic_dependencies = [] + # self.sentences = [] + # self.tokens = [] + # self.part_of_speech_tags = [] + # self.named_entities = [] + # self.syntactic_dependencies = [] + # self.semantic_dependencies = [] def __missing__(self, key): value = [] diff --git a/hanlp/version.py b/hanlp/version.py index 7a205b2c1..9ce21cd00 100644 --- a/hanlp/version.py +++ b/hanlp/version.py @@ -2,4 +2,4 @@ # Author: hankcs # Date: 2019-12-28 19:26 -__version__ = '2.0.0-alpha.33' +__version__ = '2.0.0-alpha.34'