From 6d6ba893544f971938f9b23ef9c9cc7f232722e9 Mon Sep 17 00:00:00 2001 From: stuartgo Date: Mon, 15 Dec 2025 14:18:56 +0100 Subject: [PATCH] added _ in front of embedding --- anansyTypes/structures/phrase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anansyTypes/structures/phrase.py b/anansyTypes/structures/phrase.py index 4133924..488c943 100644 --- a/anansyTypes/structures/phrase.py +++ b/anansyTypes/structures/phrase.py @@ -31,7 +31,7 @@ class NoEmbeddingPhrase(Lexeme): def __init__(self, id: int, content: str): self.id = id self._content = content - self.embedding=np.array([]) # Placeholder to avoid attribute errors + self._embedding=np.array([]) # Placeholder to avoid attribute errors @property def content(self) -> str: return self._content