def _is_model_available(model_path: str) -> None:
    '\n    Check if the models file exist.\n\n    Args:\n        model_path (str): path to the tokenizer model file\n    Raises:\n        FileNotFoundError: If model_path does not exist\n    Returns: None\n    '
    if (not Path(model_path).exists()):
        _error = "Word tokenizer Model not found!Please run 'urduhack download' in terminal.Doc: https://urduhack.readthedocs.io/en/stable/installation.html#downloading-models"
        raise FileNotFoundError(_error)
Check if the models file exist.

Args:
    model_path (str): path to the tokenizer model file
Raises:
    FileNotFoundError: If model_path does not exist
Returns: None
def _is_model_available(model_path: str) -> None:
    '\n    Check if the models file exist.\n\n    Args:\n        model_path (str): path to the tokenizer model file\n    Raises:\n        FileNotFoundError: If model_path does not exist\n    Returns: None\n    '
    if (not Path(model_path).exists()):
        _error = "Word tokenizer Model not found!Please run 'urduhack download' in terminal.Doc: https://urduhack.readthedocs.io/en/stable/installation.html#downloading-models"
        raise FileNotFoundError(_error)