From c41246a6001f2f2bac1730dc0abc3d4d78661248 Mon Sep 17 00:00:00 2001 From: stuartgo Date: Wed, 25 Feb 2026 15:29:11 +0100 Subject: [PATCH] remove original_content arg --- anansyTypes/structures/phrase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anansyTypes/structures/phrase.py b/anansyTypes/structures/phrase.py index 54ac358..9d225bf 100644 --- a/anansyTypes/structures/phrase.py +++ b/anansyTypes/structures/phrase.py @@ -8,9 +8,9 @@ import numpy as np class NoEmbeddingPhrase(Lexeme): - def __init__(self, id: str, content: str,original_content: str): + def __init__(self, id: str, content: str): #initialised with empty embedding - super().__init__(id=id, content=content, embedding=Embedding(data=torch.tensor([])), original_content=original_content) + super().__init__(id=id, content=content, embedding=Embedding(data=torch.tensor([])), original_content=content) class Phrase(Lexeme):