Loading ahisto_named_entity_search/document/document.py +1 −1 Original line number Diff line number Diff line Loading @@ -321,7 +321,7 @@ class Document: def is_relevant(self) -> bool: is_relevant = ( self.book_id in self.__class__.RELEVANT_PAGES and self.page_id not in self.__class__.RELEVANT_PAGES[self.book_id] self.page_id in self.__class__.RELEVANT_PAGES[self.book_id] ) return is_relevant Loading Loading
ahisto_named_entity_search/document/document.py +1 −1 Original line number Diff line number Diff line Loading @@ -321,7 +321,7 @@ class Document: def is_relevant(self) -> bool: is_relevant = ( self.book_id in self.__class__.RELEVANT_PAGES and self.page_id not in self.__class__.RELEVANT_PAGES[self.book_id] self.page_id in self.__class__.RELEVANT_PAGES[self.book_id] ) return is_relevant Loading