From: pierre Date: Thu, 1 Oct 2020 14:57:33 +0000 (+0200) Subject: ... X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=816b9585f4a5fc959de1ac697fa08e5aad40f4bb;p=iramuteq ... --- diff --git a/iramuteq.py b/iramuteq.py index 501b0f6..2ab3cda 100755 --- a/iramuteq.py +++ b/iramuteq.py @@ -1,7 +1,7 @@ #!/bin/env python # -*- coding: utf-8 -*- #Author: Pierre Ratinaud -#Copyright (c) 2008-2016, Pierre Ratinaud +#Copyright (c) 2008-2020, Pierre Ratinaud #License: GNU GPL from optparse import OptionParser @@ -13,6 +13,7 @@ parser.add_option("-f", "--file", dest="filename", import sys reload(sys) +#sys.path.insert(0, '/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg') import locale import tempfile import codecs @@ -28,6 +29,7 @@ import wx.lib.agw.aui as aui import wx.html import wx.grid import wx.lib.hyperlink as hl +#import wx.lib.agw.hyperlink as hl #------------------------------------ from functions import BugReport, PlaySound, History, progressbar from checkversion import NewVersion @@ -51,7 +53,7 @@ from textaslexico import Lexico from textlabbe import DistLabbe from textsimi import SimiTxt, SimiFromCluster from textwordcloud import WordCloud, ClusterCloud -from textreinert import Reinert +from textreinert import Reinert, ReDoReinert #from textcheckcorpus import checkcorpus from openanalyse import OpenAnalyse from corpus import Builder, SubBuilder, MergeClusters @@ -1031,6 +1033,9 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, États-Unis.""" #FIXME AnalyseMerge(self, {'type': 'merge', 'fileout' : '/tmp/test.txt'}, dlg = 5) + def OnEliminate(self, corpus, parametres) : + print parametres + def OnMergeClusters(self, evt) : builder = MergeClusters(self, {}) if builder.res == wx.ID_OK :