aoptk.relationships.find_relationship ===================================== .. py:module:: aoptk.relationships.find_relationship Classes ------- .. autoapisummary:: aoptk.relationships.find_relationship.FindRelationship Module Contents --------------- .. py:class:: FindRelationship Bases: :py:obj:`abc.ABC` Interface for finding relationships in text. .. py:method:: find_relationships_in_text(text: str, chemicals: list[aoptk.chemical.Chemical], effects: list[aoptk.effect.Effect]) -> list[aoptk.relationships.relationship.Relationship] :abstractmethod: Find relationships between chemicals and effects in the given text. .. py:method:: find_relationships_in_table(table_df: pandas.DataFrame, effects: list[aoptk.effect.Effect]) -> list[aoptk.relationships.relationship.Relationship] :abstractmethod: Find relationships between chemicals and effects in the given table data. .. py:method:: find_relationships_in_text_and_images(text: str, image_paths: list[str], effects: list[aoptk.effect.Effect]) -> list[aoptk.relationships.relationship.Relationship] :abstractmethod: Find relationships between chemicals and effects in the given text and images combined.