import nltk
from nltk.tag import StanfordNERTagger
import os
path="C:/Program Files/Java/jdk1.8.0_201/bin/java.exe"
os.environ['JAVAHOME']=path
st = StanfordNERTagger('english.muc.7class.distsim.crf.ser.gz','stanford-ner.jar') 

result=st.tag("We're May travelled to Washington in 2017".split()) 

print(result)

43deb36fd6eec2f70595fb8f0cb3b0a9240dbdab
<mask token>

<mask token>
print(result)

<mask token>
path = 'C:/Program Files/Java/jdk1.8.0_201/bin/java.exe'
os.environ['JAVAHOME'] = path
st = StanfordNERTagger('english.muc.7class.distsim.crf.ser.gz',
    'stanford-ner.jar')
result = st.tag("We're May travelled to Washington in 2017".split())
print(result)

import nltk
from nltk.tag import StanfordNERTagger
import os
path = 'C:/Program Files/Java/jdk1.8.0_201/bin/java.exe'
os.environ['JAVAHOME'] = path
st = StanfordNERTagger('english.muc.7class.distsim.crf.ser.gz',
    'stanford-ner.jar')
result = st.tag("We're May travelled to Washington in 2017".split())
print(result)

import nltk
from nltk.tag import StanfordNERTagger
import os
path="C:/Program Files/Java/jdk1.8.0_201/bin/java.exe"
os.environ['JAVAHOME']=path
st = StanfordNERTagger('english.muc.7class.distsim.crf.ser.gz','stanford-ner.jar') 

result=st.tag("We're May travelled to Washington in 2017".split()) 

print(result)
