projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
65ba8b5
)
...
author
pierre
<ratinaud@univ-tlse2.fr>
Thu, 1 Oct 2020 14:57:33 +0000
(16:57 +0200)
committer
pierre
<ratinaud@univ-tlse2.fr>
Thu, 1 Oct 2020 14:57:33 +0000
(16:57 +0200)
iramuteq.py
patch
|
blob
|
history
diff --git
a/iramuteq.py
b/iramuteq.py
index
501b0f6
..
2ab3cda
100755
(executable)
--- a/
iramuteq.py
+++ b/
iramuteq.py
@@
-1,7
+1,7
@@
#!/bin/env python
# -*- coding: utf-8 -*-
#Author: Pierre Ratinaud
#!/bin/env python
# -*- coding: utf-8 -*-
#Author: Pierre Ratinaud
-#Copyright (c) 2008-20
16
, Pierre Ratinaud
+#Copyright (c) 2008-20
20
, Pierre Ratinaud
#License: GNU GPL
from optparse import OptionParser
#License: GNU GPL
from optparse import OptionParser
@@
-13,6
+13,7
@@
parser.add_option("-f", "--file", dest="filename",
import sys
reload(sys)
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
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.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
#------------------------------------
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 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
#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)
#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 :
def OnMergeClusters(self, evt) :
builder = MergeClusters(self, {})
if builder.res == wx.ID_OK :