Hello,
I've downloaded a graphic linguistics concordancer program I used on Windows called TextSTAT from the following address.
http://www.niederlandistik.fu-berlin...ftware-en.html
after unpacking etc.
To get the program to run, I put myself in the right directory and type python TextSTAT.pyw
From there you first have to create a new corpus, give it a name, and save it. Then you can add files (generally txt files) from web addresses or locally. Now when I click on the "add local files" icon, the following message pops up in the terminal window:
Code:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File "TextSTAT.pyw", line 670, in datei_hinzu
dateinamen = tkFileDialog.askopenfilename(initialdir=cfg['FileDir'], filetypes= (('All', '*.*'),('Text', '*.txt'),('HTML', '*.htm*'),('MS Word', '*.doc'),('OpenOffice 1', '*.sxw'),('OpenOffice 2', '*.odt')), multiple=1)
File "/usr/lib/python2.4/lib-tk/tkFileDialog.py", line 125, in askopenfilename return Open(**options).show()
File "/usr/lib/python2.4/lib-tk/tkCommonDialog.py", line 52, in show
s = w.tk.call(self.command, *w._options(self.options))
TclError: expected floating-point number but got "0.0"
...and of course I can't do what I wanted.
I know the question is a little involved and exotic, but TextSTAT is a very useful program for a linguistics researcher, and if I can get it up and running on Linux for me that would be great.
Any help much appreciated.