X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=listlex.py;h=409c9fc6088efca5826c98e21f080dc42838a8cd;hp=e1572cceb2bc10bdeab225d8f2daf347a9bacbaa;hb=5d8c9f5cd6399fd4a7192b655b4aa0a7923d11b6;hpb=7539792168d42f09763ab021a9e0e0f8afa3bf07 diff --git a/listlex.py b/listlex.py index e1572cc..409c9fc 100644 --- a/listlex.py +++ b/listlex.py @@ -196,7 +196,7 @@ class ListForSpec(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSor lems = corpus.getlems() rep = [] for forme in lems[word].formes : - rep.append([corpus.getforme(forme).forme, corpus.getforme(forme).freq]) + rep.append([corpus.getforme(forme).forme, corpus.getforme(forme).freq]) rep.sort(key = itemgetter(1), reverse = True) win = message(self, u"Formes associées", (300, 200)) win.html = '\n' + '
'.join([' : '.join([str(val) for val in forme]) for forme in rep]) + '\n' @@ -243,7 +243,6 @@ class ListForSpec(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSor win = message(self, u"Segments de texte caractéristiques - %s" % self.first[ind], (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' win.HtmlPage.SetPage(win.html) - #dlg.Destroy() win.Show(True) def OnPopupTwo(self, event):