-# def ongetrapport(self, event) :
-# dial = PrefSimpleFile(self, self.parent, **{'mask' : '*.txt', 'title': 'Rapport'})
-# dial.fbb.SetValue(self.DictPathOut['rapport'])
-# dial.CenterOnParent()
-# res = dial.ShowModal()
-# if res == wx.ID_OK :
-# fileout = dial.fbb.GetValue()
-# dial.Destroy()
-# with open(fileout, 'w') as f :
-# f.write(self.debtext + '\n' + GetTxtProfile(self.DictProfile, self.cluster_size))
-# msg = u"Fini !"
-# dlg = wx.MessageDialog(self.parent, msg, u"Rapport", wx.OK | wx.NO_DEFAULT | wx.ICON_INFORMATION)
-# dlg.CenterOnParent()
-# dlg.ShowModal()
-# dlg.Destroy()
-# else :
-# dial.Destroy()
-
-# def on_export_classes(self, event) :
-# corpus = self.parent.nb.GetPage(self.parent.nb.GetSelection()).corpus
-# dial = PrefExport(self, self.parent)
-# dial.fbb.SetValue(os.path.join(os.path.dirname(corpus.dictpathout['ira']), 'export_corpus.txt'))
-# dial.CenterOnParent()
-# res = dial.ShowModal()
-# if res == wx.ID_OK :
-# if dial.radio_type.GetSelection() == 0 : alc = True
-# else : alc = False
-# if dial.radio_lem.GetSelection() == 0 : lem = True
-# else : lem = False
-# self.corpus.export_corpus_classes(dial.fbb.GetValue(), alc = alc, lem = lem)
-# msg = u"Fini !"
-# dial.Destroy()
-# dlg = wx.MessageDialog(self.parent, msg, u"Export", wx.OK | wx.NO_DEFAULT | wx.ICON_INFORMATION)
-# dlg.CenterOnParent()
-# dlg.ShowModal()
-# dlg.Destroy()
-
-# def onprofseg(self, event):
-# #try :
-# print 'plus de bug profseg'
-# print self.parametres
-# corpus = self.parent.nb.GetPage(self.parent.nb.GetSelection()).corpus
-# ProfileSegment(self.parent, self.dictpathout, self.parametres, corpus)
-# #except :
-# # BugReport(self.parent)
-#
-# def onproftype(self, event):
-# try :
-# corpus = self.parent.nb.GetPage(self.parent.nb.GetSelection()).corpus
-# ProfilType(self.parent, corpus)
-# except :
-# BugReport(self.parent)
-#
-# def oncolored(self,evt) :
-# dial = PrefSimpleFile(self, self.parent, **{'mask' : '*.html', 'title': 'Corpus en couleur'})
-# dial.fbb.SetValue(os.path.join(os.path.dirname(self.corpus.dictpathout['ira']), 'corpus_couleur.html'))
-# dial.CenterOnParent()
-# res = dial.ShowModal()
-# if res == wx.ID_OK :
-# fileout = dial.fbb.GetValue()
-# dial.Destroy()
-# txt = self.corpus.make_colored_corpus()
-# with open(fileout, 'w') as f :
-# f.write(txt)
-# msg = u"Fini !\nVoulez-vous ouvrir le corpus dans votre navigateur ?"
-# dlg = wx.MessageDialog(self.parent, msg, u"Corpus en couleur", wx.NO | wx.YES | wx.NO_DEFAULT | wx.ICON_QUESTION)
-# dlg.CenterOnParent()
-# if dlg.ShowModal() == wx.ID_YES :
-# webbrowser.open(fileout)
-# dlg.Destroy()
-