Question
PYTHON-NLKT Identifying Proper Names In A Text Document write code that automatically identifies all words/terms that are proper names. Use the sample text provided in
PYTHON-NLKT
Identifying Proper Names In A Text Document
write code that automatically identifies all words/terms that are proper names. Use the sample text provided in text_data below.
Examples of proper names are: John, Vancouver ,Canada
Briefly discuss the performance of your code (1-2 paragraphs).
What types of proper names did the code perform well on? What types of proper names did it not perform well on?
text_data = """ Heres to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes. The ones who see things differently theyre not fond of rules. You can quote them, disagree with them, glorify or vilify them, but the only thing you cant do is ignore them because they change things. They push the human race forward, and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do. The quote baove is by Steve Jobs. Mr. Jobs also said: I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it. Steve started the apple computer company with Steve Wozniak (aka `Woz'). Little known facts: Trump did not like Jobs. Jobs did not like Trump. """
the table below can be helpful in writing the code.
Some Word Comparison OperatorsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started