I'm looking to implement the pLSI algorithm in R. I found this python code, but I am stuck in a few places, like line #8 for termID, value in docTermDic[docID].iteritems():
. In this case I don't understand how to implement both termID & value inside a for loop, and what docTermDic[docID].iteritems() is.
Is there any tool available using which I can extract the algo or the pseudocode so as to enable me to code it up myself?