# Using spaCy nlp = spacy.load("en_core_web_sm") doc = nlp(text)
# Sample text (transcription of your video) text = "This is a sample text from a video." bride2mp4
# Ensure you've downloaded the necessary NLTK data nltk.download('punkt') # Using spaCy nlp = spacy
import nltk from nltk.tokenize import word_tokenize import spacy bride2mp4