On Tue, 5 Jun 2007, Sebastian Hagen wrote:

You're only feeding it index files here, which results in it treating some
of those as data files, and failing horribly to parse them as such. As the
output says:
Opening index file 'data/index.adj'...
Opening data file 'data/index.adv'...

Ahh, this explains the problem clearly.

The arguments to wordnet_structures.py have to consist of a series of pairs
of an index_filename and a corresponding data_filename.
I.e. something like
./wordnet_structures.py index.foo data.foo index.bar data.bar ...

If you don't want to hardcode this into the build script, you're probably
better at figuring out how to shell-script it than I am; I have little
experience with the language.

Well, with hardcoding it as backup I'm quite sure to find a solution
if this was the cause of the problem.

Thanks for the hint

       Andreas.

--
http://fam-tille.de


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to