Exercise: Core Operations with spaCy

Let's test the concepts we've learned with a coding exercise.

Write a spacy_sentencer function that takes a string as input and returns a list of sentences.

Write a spacy_analyzer function that takes a string as input and returns a dictionary with two keys: "tokens" and "sentences", each corresponding to the output of spacy_tokenizer and spacy_sentencer, respectively.

Get hands-on with 1400+ tech skills courses.