|
|
Thanks for the reply.
> Have you also modified the index.noun file to account for your changes?
> index.noun contains a list of byte offsets into data.noun, and any changes to
> the latter mean the former is invalid.
I have modified the index.noun too,
> Alternatively, I wonder what platform you are working on? Records in the
> WordNet
> files must be terminated by just a single "\x0A". If you are working on a
> non-Unix platform that uses a multi-character record separator then the
> records
> will be a different length, so invalidating the index file.
I am working on Linux william-pc 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42
UTC 2008 i686 GNU/Linux
Ok, I got to admit something, after knowing the seek function, only today I
realize how actually determine the synset id which is equivalient to byte
offset that you said. Before this I thought the synset id is determined by some
kind of database auto-increment id/ primary key thing. lol.
Send instant messages to your online friends http://uk.messenger.yahoo.com
|
|