To Harvest WIKI

  1. Use given script to download 1 Wikipedia page (not Marymount)
  2. Run NLTK’s NER tool.
  3. Examine both the PERSON and LOCATION Entities
  4. Calculate Precision, Recall, and F-Measure for both Person or Location (whichever your document has)

pip install pymediawiki

To Harvest WIKI

Don't use plagiarized sources. Get Your Custom Essay on
To Harvest WIKI
Just from $13/Page
Order Essay
from mediawiki import MediaWiki
wikipedia = MediaWiki()

p = wikipedia.page('Marymount University')
content= p.content
print(content)




To Tag Named Entities
1) Word Tokenize a Sentence
2) POS tag the tokens
3) print(nltk.ne_chunk(tagged))

Homework Writing Bay
Calculator

Calculate the price of your paper

Total price:$26
Our features

We've got everything to become your favourite writing service

Need a better grade?
We've got you covered.

Order your paper