def get_core_nlu_directories(paths: Optional[Union[(Text, List[Text])]]) -> Tuple[(Text, Text)]:
    'Recursively collects all training files from a list of paths.\n\n    Args:\n        paths: List of paths to training files or folders containing them.\n\n    Returns:\n        Path to directory containing the Core files and path to directory\n        containing the NLU training files.\n    '
    (story_files, nlu_data_files) = get_core_nlu_files(paths)
    story_directory = _copy_files_to_new_dir(story_files)
    nlu_directory = _copy_files_to_new_dir(nlu_data_files)
    return (story_directory, nlu_directory)
Recursively collects all training files from a list of paths.

Args:
    paths: List of paths to training files or folders containing them.

Returns:
    Path to directory containing the Core files and path to directory
    containing the NLU training files.
def get_core_nlu_directories(paths: Optional[Union[(Text, List[Text])]]) -> Tuple[(Text, Text)]:
    'Recursively collects all training files from a list of paths.\n\n    Args:\n        paths: List of paths to training files or folders containing them.\n\n    Returns:\n        Path to directory containing the Core files and path to directory\n        containing the NLU training files.\n    '
    (story_files, nlu_data_files) = get_core_nlu_files(paths)
    story_directory = _copy_files_to_new_dir(story_files)
    nlu_directory = _copy_files_to_new_dir(nlu_data_files)
    return (story_directory, nlu_directory)