added _ in front of embedding
This commit is contained in:
1 parent
caf9d2dc4e
commit
6d6ba89354
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user