from profile_segment import ProfileSegment
from listlex import *
from Liste import *
+from elcategorizator import ElCategorizator
from search_tools import SearchFrame
from dialog import PrefGraph, PrefExport, PrefSimpleFile, PrefDendro, SimpleDialog, ImageViewer
from guifunct import SelectColumn, PrepSimi, PrefSimi, redosimi
else :
corpname = self.corpus.parametres['matrix_name']
if os.path.exists(self.pathout['analyse.db']) :
- self.corpus.read_tableau(self.pathout['analyse.db'])
+ self.corpus.read_tableau(self.pathout['analyse'])
clnb = parametres['clnb']
dlg = progressbar(self, maxi = 4 + clnb)
self.clnb = clnb
self.tableau = tableau
self.parametres = parametres
if os.path.exists(self.pathout['analyse.db']) :
- self.tableau.read_tableau(self.pathout['analyse.db'])
+ self.tableau.read_tableau(self.pathout['analyse'])
self.dolayout()
self.ira.nb.SetSelection(self.ira.nb.GetPageCount() - 1)
self.ira.ShowAPane("Tab_content")
#self.ira.nb.SetSelection(self.ira.nb.GetPageCount() - 1)
#self.ira.ShowAPane("Tab_content")
+class CateLayout(DefaultMatLayout) :
+
+ def dolayout(self) :
+ self.tableau.read_tableau(self.pathout['analyse'])
+ TabCate = ElCategorizator(self.ira.nb, self.pathout, self.tableau)
+ self.ira.nb.AddPage(TabCate, ' - '.join([_('ElCaTeGoRiZaToR'), self.parametres['name']]))
class SimiMatLayout(DefaultMatLayout) :