@staticmethod
def _infer_metrics(cli_arg: str) -> Set[str]:
    '\n        Parse the CLI metric into a list of metrics we wish to compute.\n        '
    col: Set[str] = set()
    names = cli_arg.split(',')
    for n in names:
        if (n == 'default'):
            col |= DEFAULT_METRICS
        elif (n == 'rouge'):
            col |= ROUGE_METRICS
        elif (n == 'bleu'):
            col |= BLEU_METRICS
        elif (n == 'all'):
            col |= ALL_METRICS
        else:
            col.add(n)
    return col
Parse the CLI metric into a list of metrics we wish to compute.
@staticmethod
def _infer_metrics(cli_arg: str) -> Set[str]:
    '\n        \n        '
    col: Set[str] = set()
    names = cli_arg.split(',')
    for n in names:
        if (n == 'default'):
            col |= DEFAULT_METRICS
        elif (n == 'rouge'):
            col |= ROUGE_METRICS
        elif (n == 'bleu'):
            col |= BLEU_METRICS
        elif (n == 'all'):
            col |= ALL_METRICS
        else:
            col.add(n)
    return col