class PrefWordCloud ( wx.Dialog ):
- def __init__( self, parent ):
+ def __init__( self, parent, fromcluster = False ):
wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Préférences wordcloud", pos = wx.DefaultPosition, size = wx.DefaultSize, style = wx.DEFAULT_DIALOG_STYLE )
self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
self.format = wx.Choice( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, formatChoices, 0 )
self.format.SetSelection( 0 )
fgSizer1.Add( self.format, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
+
+ if fromcluster :
+ self.m_staticText111 = wx.StaticText( self, wx.ID_ANY, u"Taille des mots en fonction de ...", wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_staticText11.Wrap( -1 )
+ fgSizer1.Add( self.m_staticText111, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
+ IndiceChoices = [ u"chi2", u"fréquence" ]
+ self.indice = wx.Choice( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, IndiceChoices, 0 )
+ self.indice.SetSelection( 0 )
+ fgSizer1.Add( self.indice, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
+
self.m_staticline13 = wx.StaticLine( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
fgSizer1.Add( self.m_staticline13, 0, wx.EXPAND |wx.ALL, 5 )
baumes baume nom p 1.94 3.65 0.16 0.74
baumier baumier nom m s 0.01 0.07 0.01 0
baumiers baumier nom m p 0.01 0.07 0 0.07
-baux bail,bau nom m p 0.19 0.34 0.19 0.34
+baux bail nom m p 0.19 0.34 0.19 0.34
bauxite bauxite nom f s 0.18 0.41 0.18 0.41
bava baver ver 9.79 12.36 0.02 0.2 ind:pas:3s;
bavaient baver ver 9.79 12.36 0.02 0.41 ind:imp:3p;
mollasson mollasson nom m s 0.4 0.2 0.38 0.2
mollassonne mollasson adj f s 0.3 0.27 0.04 0.07
mollassons mollasson adj m p 0.3 0.27 0.02 0.07
-molle mou,mol adj f s 5.37 34.53 3.92 22.7
+molle mou adj f s 5.37 34.53 3.92 22.7
mollement mollement adv 0.33 11.55 0.33 11.55
-molles mou,mol adj f p 5.37 34.53 1.45 11.82
+molles mou adj f p 5.37 34.53 1.45 11.82
mollesse mollesse nom f s 0.44 6.42 0.44 6.28
mollesses mollesse nom f p 0.44 6.42 0 0.14
mollet mollet nom m s 1.77 14.93 0.67 5.27