4
#===============================================================================
6
#===============================================================================
9
#4.0.264 - version update
18
'version' : '4.0.264',
24
def open(self,parent,cfg):
30
os.rename(self.p.cfinput[k]['tempname'], self.p.cfoutput[k]['tempname'])
41
'''Command prompt help.'''
42
return "\n%s\n\tUsage:\n\tfrom %s import filter\n"%(
43
os.path.basename(sys.argv[0]),
44
os.path.splitext(os.path.basename(sys.argv[0]))[0]
47
licensetxt=u'''CorpusFiltergraph™ v4.0
48
Copyright © 2010-2012 Precision Translation Tools Co., Ltd.
50
This program is free software: you can redistribute it and/or modify
51
it under the terms of the GNU Lesser General Public License as published by
52
the Free Software Foundation, either version 3 of the License, or
53
(at your option) any later version.
55
This program is distributed in the hope that it will be useful,
56
but WITHOUT ANY WARRANTY; without even the implied warranty of
57
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
58
GNU Lesser General Public License for more details.
60
You should have received a copy of the GNU Lesser General Public License
61
along with this program. If not, see http://www.gnu.org/licenses/.
63
For more information, please contact Precision Translation Tools Co., Ltd.
64
at: http://www.precisiontranslationtools.com'''
66
if __name__ == "__main__":
69
sys.stdout.write(usage().encode('utf8')+'\n')