| Subject: | Re: edit a file cause unexpected execution |
|---|---|
| From: | esia168@xxxxxxxxx (William) |
| Date: | Fri, 25 Jul 2008 10:05:59 -0700 (PDT) |
| Newsgroups: | perl.beginners |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: edit a file cause unexpected execution, Rob Dixon |
|---|---|
| Next by Date: | Re: edit a file cause unexpected execution, William |
| Previous by Thread: | Re: edit a file cause unexpected execution, Rob Dixon |
| Next by Thread: | Re: edit a file cause unexpected execution, William |
| Indexes: | [Date] [Thread] [Top] [All Lists] |