Results 1 to 3 of 3
  1. #1
    marlborino is offline Member
    Join Date
    Jun 2008
    Posts
    2
    Rep Power
    0

    Default Connection to WordNet with JWNL

    Hi friends,
    I did a java program which creates some thread. Into the run() of the thread, the program make a connection to WordNet through JWNL. My problem is that the threads collide when there are more than one call to JWNL and WordNet at the same time.
    There's anyone who can help me??....thanks to all.

    Ps. I don't understand how JWNL represent the connection to WordNet.
    I do this method:

    JWNL.initialize(FileInputStream("path/file_properties.xml"));

    but it's a void type return method.....so how can I manage N distinct connection to WordNet??...

  2. #2
    Join Date
    Jun 2008
    Location
    Delhi, India
    Posts
    6
    Rep Power
    0

    Default

    I Don't understand, what is the need of different JWNL connection, when u ready same xml file? Would u give me full detail?

  3. #3
    marlborino is offline Member
    Join Date
    Jun 2008
    Posts
    2
    Rep Power
    0

    Default

    I would more than one connection because if 2 thread make a WordNet request at the same time the program goes in deadlock.....and so I would one connection for every started thread.....

Similar Threads

  1. help me in JWNL
    By vissu007 in forum New To Java
    Replies: 2
    Last Post: 03-30-2009, 02:04 PM
  2. How to use JWNL in java program
    By ak.bhartiya in forum Advanced Java
    Replies: 2
    Last Post: 05-12-2008, 08:24 AM
  3. Replies: 1
    Last Post: 02-16-2008, 03:33 AM
  4. no connection
    By even in forum JDBC
    Replies: 15
    Last Post: 01-02-2008, 01:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •