X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=ProfList.py;h=7b593c63f7b92a60e9e4dd3d0eea947abc6ff91e;hp=09ba0b4bb02cced3d84cc3b772f8f9cdcaa5c052;hb=4dc1de2e438378f357bcbb2fd8cf0075e0bdcd55;hpb=e84160b7f61eb5b05cc12339e44a61d67b499e15 diff --git a/ProfList.py b/ProfList.py index 09ba0b4..7b593c6 100644 --- a/ProfList.py +++ b/ProfList.py @@ -599,10 +599,9 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col ntab2.sort(reverse = True) ntab2 = ntab2[:limite] nuces = [val[1] for val in ntab2] - orderuce = [[uce, i] for i, uce in enumerate(nuces)] dlg.Update(3, u'concordancier...') ucis_txt, ucestxt = doconcorde(corpus, nuces, self.la, uci = uci) - items = dict([[uce[1], '
'.join([ucis_txt[uce[1]], '
score : %.2f

' % ntab2[uce[1]][0], ucestxt[uce[1]]])] for uce in orderuce]) + items = dict([[i, '
'.join([ucis_txt[i], '
score : %.2f

' % ntab2[i][0], ucestxt[i]])] for i, uce in enumerate(nuces)]) dlg.Update(4, u'texte...') win = message(self, items, u"Segments de texte caractéristiques - Classe %i" % self.cl, (750, 600)) #win.html = '\n' + '
'.join(['
'.join([ucis_txt[i], '
score : %.2f
' % ntab2[i][0], ucestxt[i]]) for i in range(0,len(ucestxt))]) + '\n'