From 8e553cbe4c26661ab7a6bbb4193e0c3dff02322c Mon Sep 17 00:00:00 2001 From: Mathijs Boezer Date: Mon, 20 Mar 2023 11:12:04 +0100 Subject: [PATCH] forgot to remove one parameter mention --- crosslingual_coreference/CrossLingualPredictor.py | 2 -- test2.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 test2.py diff --git a/crosslingual_coreference/CrossLingualPredictor.py b/crosslingual_coreference/CrossLingualPredictor.py index 2f8c6ab..fbeb9a4 100644 --- a/crosslingual_coreference/CrossLingualPredictor.py +++ b/crosslingual_coreference/CrossLingualPredictor.py @@ -43,14 +43,12 @@ def __init__( model_name: str = "minilm", chunk_size: Union[int, None] = None, # determines the # sentences per batch chunk_overlap: int = 2, # determines the # of overlapping sentences per chunk - char_indices: bool = False, ) -> None: self.chunk_size = chunk_size self.chunk_overlap = chunk_overlap self.language = language self.filename = None self.device = device - self.char_indices = char_indices self.model_url = MODELS[model_name]["url"] self.resolver = Resolver() self.download_model() diff --git a/test2.py b/test2.py new file mode 100644 index 0000000..f69578e --- /dev/null +++ b/test2.py @@ -0,0 +1 @@ +for cluster in doc._.coref_clusters: