def map_class(cls_path: str):
    """
    Map to class via package text path
    :param cls_path: str, path with `convlab2` project directory as relative path, separator with `,`
                            E.g  `convlab2.nlu.svm.camrest.nlu.SVMNLU`
    :return: class
    """
    pkgs = cls_path.split('.')
    cls = __import__('.'.join(pkgs[:-1]))
    for pkg in pkgs[1:]:
        cls = getattr(cls, pkg)
    return cls