"""This is a module concerned with the creation of and searching of a
corpus of documents. The corpus is held in memory for fast
"""This is a module concerned with the creation of and searching of a
corpus of documents. The corpus is held in memory for fast
def invert_docid_set(self, original: Set[str]) -> Set[str]:
"""Invert a set of docids."""
def invert_docid_set(self, original: Set[str]) -> Set[str]:
"""Invert a set of docids."""
def get_doc(self, docid: str) -> Optional[Document]:
"""Given a docid, retrieve the previously added Document."""
def get_doc(self, docid: str) -> Optional[Document]:
"""Given a docid, retrieve the previously added Document."""