# -*- coding: utf-8 -*-
#Author: Pierre Ratinaud
#Copyright (c) 2008 Pierre Ratinaud
-#Lisense: GNU/GPL
+#License: GNU/GPL
import os
import tempfile
self.analyse = analyse_type
#self.dirout = self.mkdirout(dirout)
if dirout is not None:
- self.dirout = dirout
+ self.dirout = os.path.abspath(dirout)
elif filename is not None and dirout is None:
- self.dirout = self.directory
+ self.dirout = os.path.abspath(self.directory)
self.d = {}
def mkdirout(self) :
else :
ConfigPath = AppliPath
DictConfigPath = {
- 'alceste': os.path.join(ConfigPath, 'alceste.cfg'),
+ 'reinert': os.path.join(ConfigPath, 'reinert.cfg'),
'key': os.path.join(ConfigPath, 'key.cfg'),
'path': os.path.join(ConfigPath, 'path.cfg'),
'preferences' : os.path.join(ConfigPath, 'iramuteq.cfg'),
'corpus' : os.path.join(ConfigPath, 'corpus.cfg'),
'stat' : os.path.join(ConfigPath, 'stat.cfg'),
'simitxt' : os.path.join(ConfigPath, 'simitxt.cfg'),
+ 'matrix' : os.path.join(ConfigPath, 'matrix.cfg'),
}
return DictConfigPath
'greek_exp' : os.path.join(BasePath, 'expression_gr.txt'),
'spanish' : os.path.join(BasePath, 'lexique_sp.txt'),
'spanish_exp' : os.path.join(BasePath, 'expression_sp.txt'),
+ 'galician' : os.path.join(BasePath, 'lexique_gl.txt'),
+ 'galician_exp' : os.path.join(BasePath, 'expression_gl.txt'),
}
return DictPath