stability_label_algorithm/modules/dataset_generator/dataset_item.py
def from_str(cls, dataset_item_str: str):
        """
        Read the DatasetItem from a string.

        :param dataset_item_str: String representation of the DatasetItem.
        :return: DatasetItem represented by the input string.
        """
        argumentation_system_name, knowledge_str = dataset_item_str.split(',', 2)
        argumentation_system = get_argumentation_system_from_name(argumentation_system_name)
        knowledge_str_list = knowledge_str.split('+')
        knowledge_base = argumentation_system.get_queryables(knowledge_str_list)
        return cls(argumentation_system, argumentation_system_name, knowledge_base)

        Read the DatasetItem from a string.

        :param dataset_item_str: String representation of the DatasetItem.
        :return: DatasetItem represented by the input string.
        
Read the DatasetItem from a string.
Read the DatasetItem from a string .
def from_str(cls, dataset_item_str: str):
        argumentation_system_name, knowledge_str = dataset_item_str.split(',', 2)
        argumentation_system = get_argumentation_system_from_name(argumentation_system_name)
        knowledge_str_list = knowledge_str.split('+')
        knowledge_base = argumentation_system.get_queryables(knowledge_str_list)
        return cls(argumentation_system, argumentation_system_name, knowledge_base)
def from_str ( cls , dataset_item_str : str ) : argumentation_system_name , knowledge_str = dataset_item_str . split ( ',' , 2 ) argumentation_system = get_argumentation_system_from_name ( argumentation_system_name ) knowledge_str_list = knowledge_str . split ( '+' ) knowledge_base = argumentation_system . get_queryables ( knowledge_str_list ) return cls ( argumentation_system , argumentation_system_name , knowledge_base )
Read the DatasetItem from a string.
Read the DatasetItem from a string .
"""
        Read the DatasetItem from a string.

        :param dataset_item_str: String representation of the DatasetItem.
        :return: DatasetItem represented by the input string.
        """
DatasetItem represented by the input string.
DatasetItem represented by the input string .
cls
dataset_item_str
str
String representation of the DatasetItem.
String representation of the DatasetItem .