finish dictionary

support bigram dict by using getAttrFreq(wordid, attired)