projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
french dictionary
[iramuteq]
/
iramuteq.py
diff --git
a/iramuteq.py
b/iramuteq.py
index
cf7088a
..
1f7b17e
100644
(file)
--- a/
iramuteq.py
+++ b/
iramuteq.py
@@
-57,7
+57,7
@@
from textdist import AnalysePam
from textstat import Stat
from textaslexico import Lexico
from textsimi import SimiTxt, SimiFromCluster
from textstat import Stat
from textaslexico import Lexico
from textsimi import SimiTxt, SimiFromCluster
-from textwordcloud import WordCloud
+from textwordcloud import WordCloud
, ClusterCloud
from profile_segment import ProfileSegment
#from textcheckcorpus import checkcorpus
from openanalyse import OpenAnalyse
from profile_segment import ProfileSegment
#from textcheckcorpus import checkcorpus
from openanalyse import OpenAnalyse
@@
-101,10
+101,11
@@
ID_SimiTxt = wx.NewId()
##########################################################
#encodage
if sys.platform == 'darwin' :
##########################################################
#encodage
if sys.platform == 'darwin' :
- sys.setdefaultencoding('
utf
-8')
- wx.SetDefaultPyEncoding('
utf
-8')
+ sys.setdefaultencoding('
UTF
-8')
+ wx.SetDefaultPyEncoding('
UTF
-8')
else :
sys.setdefaultencoding(locale.getpreferredencoding())
else :
sys.setdefaultencoding(locale.getpreferredencoding())
+
#chemin de l'application
AppliPath = os.path.abspath(os.path.dirname(os.path.realpath(sys.argv[0])))
#chemin des images
#chemin de l'application
AppliPath = os.path.abspath(os.path.dirname(os.path.realpath(sys.argv[0])))
#chemin des images
@@
-148,7
+149,6
@@
sys.stdout = printer()
ConfigPath = ConstructConfigPath(UserConfigPath)
ConfigPath = ConstructConfigPath(UserConfigPath)
-
langues = {'french' : wx.LANGUAGE_FRENCH,
'english' : wx.LANGUAGE_ENGLISH,}
#####################################################################
langues = {'french' : wx.LANGUAGE_FRENCH,
'english' : wx.LANGUAGE_ENGLISH,}
#####################################################################
@@
-898,6
+898,8
@@
Voulez-vous fermer quand même ?"""
except :
BugReport(self)
except :
BugReport(self)
+ def OnClusterCloud(self, corpus, parametres = None) :
+ self.Text = ClusterCloud(self, corpus, parametres = parametres, dlg = progressbar(self, 3))
def OnAFCM(self, event):
try:
def OnAFCM(self, event):
try: