What would a vectorized version after common English stopword removal look like?

Posted by: Pdfprep Category: C1000-059 Tags: , ,

Given the following sentence:

The dog jumps over a fence.

What would a vectorized version after common English stopword removal look like?
A . [‘dog’, ‘fence’, ‘run’]
B . [‘fence’, ‘jumps’]
C . [‘dog’, ‘fence’, ‘jumps’]
D . [‘a’, ‘dog’, ‘fence’, ‘jumps’, ‘over’, ‘the’]

Answer: C

Explanation:

Reference: https://towardsdatascience.com/text-pre-processing-stop-words-removal-using-different-libraries-f20bac19929a

Leave a Reply

Your email address will not be published.