def get_nlu_directory(paths: Optional[Union[(Text, List[Text])]]) -> Text:
    'Recursively collects all NLU 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 temporary directory containing all found NLU training files.\n    '
    (_, nlu_files) = get_core_nlu_files(paths)
    return _copy_files_to_new_dir(nlu_files)
Recursively collects all NLU training files from a list of paths.

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

Returns:
    Path to temporary directory containing all found NLU training files.
def get_nlu_directory(paths: Optional[Union[(Text, List[Text])]]) -> Text:
    'Recursively collects all NLU 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 temporary directory containing all found NLU training files.\n    '
    (_, nlu_files) = get_core_nlu_files(paths)
    return _copy_files_to_new_dir(nlu_files)