Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DocumentEmbeddings: Fix typo in doc string #1836

Merged
merged 1 commit into from
Aug 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flair/embeddings/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


class DocumentEmbeddings(Embeddings):
"""Abstract base class for all document-level embeddings. Ever new type of document embedding must implement these methods."""
"""Abstract base class for all document-level embeddings. Every new type of document embedding must implement these methods."""

@property
@abstractmethod
Expand Down Expand Up @@ -574,4 +574,4 @@ def _add_embeddings_to_sentences(self, sentences: List[Sentence]):
@abstractmethod
def embedding_length(self) -> int:
"""Returns the length of the embedding vector."""
return self.model.get_sentence_embedding_dimension()
return self.model.get_sentence_embedding_dimension()