def check_spacy():
    """
    Import necessary components from spaCy to perform tokenization.
    """
    try:
        import spacy
    except ImportError:
        raise ImportError(
            'spaCy is used but not installed on your machine. Go to https://spacy.io/usage for installation instructions.'
            )
    return True
