stability_label_algorithm/modules/argumentation/labelers/stability_label.py
def from_str(cls, label_str: str):
        """
        Read the label from a string.

        :param label_str: String containing the information on the StabilityLabel.
        :return: StabilityLabel read from the string.
        """
        parse_result_str_list = parse('(U:{0}, D:{1}, O:{2}, B:{3})', label_str).fixed
        parse_result_bool_list = [strtobool(s) for s in parse_result_str_list]
        return StabilityLabel(*parse_result_bool_list)

        Read the label from a string.

        :param label_str: String containing the information on the StabilityLabel.
        :return: StabilityLabel read from the string.
        
Read the label from a string.
Read the label from a string .
def from_str(cls, label_str: str):
        parse_result_str_list = parse('(U:{0}, D:{1}, O:{2}, B:{3})', label_str).fixed
        parse_result_bool_list = [strtobool(s) for s in parse_result_str_list]
        return StabilityLabel(*parse_result_bool_list)
def from_str ( cls , label_str : str ) : parse_result_str_list = parse ( '(U:{0}, D:{1}, O:{2}, B:{3})' , label_str ) . fixed parse_result_bool_list = [ strtobool ( s ) for s in parse_result_str_list ] return StabilityLabel ( * parse_result_bool_list )
Read the label from a string.
Read the label from a string .
"""
        Read the label from a string.

        :param label_str: String containing the information on the StabilityLabel.
        :return: StabilityLabel read from the string.
        """
StabilityLabel read from the string.
StabilityLabel read from the string .
cls
label_str
str
String containing the information on the StabilityLabel.
String containing the information on the StabilityLabel .