| View previous topic :: View next topic |
| Author |
Message |
bdejong
Joined: 20 Oct 2004 Posts: 17
|
|
| Back to top |
|
 |
bdejong
Joined: 20 Oct 2004 Posts: 17
|
|
| Back to top |
|
 |
bdejong
Joined: 20 Oct 2004 Posts: 17
|
Posted: Fri Oct 22, 2004 6:01 am Post subject: |
|
|
Found it.
The prolog datafiles have:
s(109201456,1,'baby',n,1,611).
s(109201456,2,'babe',n,1,6).
s(109201456,3,'infant',n,1,3).
As you can see these three have the same synset ID, however you only enter the first into the MySQL database:
INSERT INTO `wn_synset` VALUES (109201292,1,'baby','n',4,9);
=> INSERT INTO `wn_synset` VALUES (109201456,1,'baby','n',1,611);
INSERT INTO `wn_synset` VALUES (109201816,1,'baby_boomer','n',1,0);
Perhaps it would be nice to open-source your Prolog => SQL conversion utility?
- bram _________________ http://www.iua.upf.es/mtg
http://www.icmc2005.org
http://www.smartelectronix.com
http://www.musicdsp.org |
|
| Back to top |
|
 |
roschler Site Admin
Joined: 20 Oct 2004 Posts: 91
|
Posted: Fri Oct 22, 2004 9:16 am Post subject: |
|
|
Bram,
Yes we are aware of those missing words. We originally converted the Prolog files to tab-delimited files for fast loading into MySQL using the "LOAD DATA" command. However something did not go well.
Today we are modifying our conversion program to convert the Prolog data files to MySQL batch file scripts instead, and reload them. I will e-mail you when it's done today, so you can download the new files.
Thanks,
Robert _________________ Robert
Forum Administrator |
|
| Back to top |
|
 |
bdejong
Joined: 20 Oct 2004 Posts: 17
|
|
| Back to top |
|
 |
roschler Site Admin
Joined: 20 Oct 2004 Posts: 91
|
Posted: Fri Oct 22, 2004 9:50 am Post subject: |
|
|
Bram,
The conversion files are written in Delphi Object Pascal. I don't think a lot of other WordNet developers use that language, so to take the time to clean up and "disentangle" the conversion code from our other libraries would not be worth it; especially since it only has to be run when the WordNet data files are changed.
However, I do intend within the next few months to set up a searchable "repository" of code samples and snippets that we can all use and augment.
Thanks. |
|
| Back to top |
|
 |
roschler Site Admin
Joined: 20 Oct 2004 Posts: 91
|
|
| Back to top |
|
 |
bdejong
Joined: 20 Oct 2004 Posts: 17
|
|
| Back to top |
|
 |
roschler Site Admin
Joined: 20 Oct 2004 Posts: 91
|
Posted: Sat Oct 23, 2004 8:50 am Post subject: |
|
|
That links seems to work now, although I too tried it earlier and got that message. Great, a haunted message board!  _________________ Robert
Forum Administrator |
|
| Back to top |
|
 |
bdejong
Joined: 20 Oct 2004 Posts: 17
|
|
| Back to top |
|
 |
roschler Site Admin
Joined: 20 Oct 2004 Posts: 91
|
Posted: Sat Oct 23, 2004 9:31 am Post subject: |
|
|
Bram,
I'm not having that problem, everything is working well now. This forum is standard php BB 2.0.10 . It's only the template that is different. Did you try clearing your browser cache?
Let me know how you make out with the new "build" of data files.
Thanks. _________________ Robert
Forum Administrator |
|
| Back to top |
|
 |
bdejong
Joined: 20 Oct 2004 Posts: 17
|
|
| Back to top |
|
 |
roschler Site Admin
Joined: 20 Oct 2004 Posts: 91
|
Posted: Sat Oct 23, 2004 3:18 pm Post subject: |
|
|
Bram,
That was a good catch. Even though I had the Announcement's forum "View" permissions set to REG (Registered users), it didn't show up for non-moderators until I set it to ALL. I don't know why that is, I would think that REG would allow registered users to see the forum.
Thanks for your persistence on this. I tested it from another computer, as a Guest. It should be visible now. Hopefully you were able to get the files on the other link I gave you earlier? _________________ Robert
Forum Administrator |
|
| Back to top |
|
 |
|