def get_sequence_feat_str(self,seq):
        seq_nr = seq.nr
        node_f_list = self.feature_list[seq_nr][0]
        edge_f_list = self.feature_list[seq_nr][1]

        word = seq.x[0]
        word_n = self.dataset.int_to_word[word]
        tag = seq.y[0]
        tag_n = self.dataset.int_to_pos[tag]
        txt = ""
        for i,tag in enumerate(seq.y):
            word = seq.x[i]
            word_n = self.dataset.int_to_word[word]
            tag_n = self.dataset.int_to_pos[tag]
            txt += "%i %s/%s NF: "%(i,word_n,tag_n)
            for nf in node_f_list[i]:
                txt+=self.feature_names[nf]%"%s "
            if(edge_f_list[i] != []):
                txt += "EF: "
                for nf in edge_f_list[i]:
                    txt+="%s "%self.feature_names[nf]
            txt +="\n"
        return txt
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/bak/postag_features.py/ExtendedFeatures.get_sequence_feat_str/swapped operands of `%`