Returns:
`True` is given file has supported extension, `False` otherwise.
return os.path.isfile(path) and Path(path).suffix in TRAINING_DATA_EXTENSIONS
def is_nlu_file(file_path: Text) -> bool:
After Change
Returns:
`True` is given file has supported extension, `False` otherwise.
return Path(path).is_file() and Path(path).suffix in TRAINING_DATA_EXTENSIONS
def is_nlu_file(file_path: Text) -> bool: