#2 Morphological processing

closed
nobody
None
5
2003-02-20
2003-02-14
No

I'd like to use morphological processing in the same
extent as it is already provided by "morph.c" belonging
to the WordNet C API.

Discussion

  • John Didion

    John Didion - 2003-02-20

    Logged In: YES
    user_id=295135

    I don't understand what functionality morph.c offers that the
    JWNL morphological processor does not.

     
  • Lars Rosenhainer

    Logged In: YES
    user_id=703389

    First, I'm using JWNL 1.2.1.

    There is one example by which I realized that there seems to
    be missing some morphing functionality in JWNL compared
    to "morph.c".

    When I enter the command "wn copies -over" into a shell a
    snippet of the result returned looks as follows:

    Overview of noun copy

    The noun copy has 4 senses (first 3 from tagged texts)

    1. (7) transcript, copy -- (a reproduction of a written record
    (e.g. of a legal or school record))
    [...]

    However, when I use the JWNL API by the following sample
    code:

    JWNL.initialize(new FileInputStream("D:/WordNet/java-
    wordnet/jwnl1.2.1/file_properties.xml"));
    Dictionary dict = Dictionary.getInstance();
    IndexWordSet iws = dict.lookupAllIndexWords("copies");
    System.out.println(iws.toString());

    "[IndexWordSet: <empty>]" is printed on screen.

    The same will very probably happen with other words ending
    in "ies". (I only tested it with "stories".)

     
  • John Didion

    John Didion - 2003-02-20
    • status: open --> closed
     
  • John Didion

    John Didion - 2003-02-20

    Logged In: YES
    user_id=295135

    Gotcha. This is a change from WN1.6 to WN1.7 that I
    missed. I have fixed the problem. I'm hoping to have a new
    version out soon that will include the fix.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks