small fix that corrects original content

This commit is contained in:
stuart committed 2025-12-27 23:51:21 +01:00
1 parent 6dcea55bd6
commit c15b1d99a0
1 file changed
+2
+2
View File
@@ -10,6 +10,7 @@ class NoEmbeddingPhrase(Lexeme):
def __init__(self, id: int, content: str):
self.id = id
self._content = content
self._original_content = content
self._embedding = np.array([]) # Placeholder to avoid attribute errors
@property
@@ -34,6 +35,7 @@ class Phrase(Lexeme):
def __init__(self, id: int, content: str, embedding: Embedding):
self.id = id
self._content = content
self._original_content = content
self._embedding = embedding
@property