def METHOD_NAME(cls, args, **kwargs):
    """Setup the task.
    """
    paths = args.data.split(':')
    assert len(paths) > 0
    dictionary = BertDictionary.load(os.path.join(paths[0], 'dict.txt'))
    print('| dictionary: {} types'.format(len(dictionary)))
    return cls(args, dictionary)