small fix that corrects original content
This commit is contained in:
1 parent
6dcea55bd6
commit
c15b1d99a0
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user