for synset in wn.synsets(wordstr):
len_lemma_names = len (synset.lemma_names)
#print len_lemma_names, synset.lemma_names
count_lemma = count_lemma + len_lemma_names
for synset_scores in swn_senti_synset:
count_synset = count_synset + 1
#print count_synset, synset_scores
I am trying to print len_lemma_names in front of count_synset but it did not work. Is there any way possible for printing them together? Thank you...
wn.synsets(wordstr)andswn_senti_synsetalways the same length?count_*variables defined? And what do they all mean?synsetsandswn_senti_synset- or do you always want to print ALLlen_lemma_namesfor eachsynset_score?