(S(PERSON Rami/NNP Eid/NNP)is/VBZstudying/VBGat/IN(ORGANIZATION Stony/NNP Brook/NNP University/NNP)in/IN(LOCATION NY/NNP))
This is output of NLTK code now i want to store it in json file like
import jsondata = {'Rami Eid':{'ORGANIZATION': 'Stony Brook University', 'location':'NY'},'GuruRaj Bagali':{'job': 'professor', 'location': 'NY'}}
I want store chunk tree into json file like above format how to do?