Fix a bug in getTopWords of class NCRFNode