How to get the gloss from synset Key

  • Wojdan

    Wojdan - 2014-04-01

    I have the synset key and I want to get the gloss of that synset,
    Hint: I do not have the synset words
    is there way to do that?


  • Aliaksandr Autayeu

    Can you clarify, what do you mean by synset key? I can think of "synset offset" and "sense key", but "synset key" remains unclear.

    • Wojdan

      Wojdan - 2014-04-02

      I am sorry, I mean synset offset or sense key

  • Aliaksandr Autayeu

    So is it the first or the second?

    For synset offset:

        Synset s = dictionary.getSynsetAt(pos, offset);

    For sense key:

        Word w = dictionary.getWordBySenseKey(sensekey);
    • Wojdan

      Wojdan - 2014-04-05

      Thank you for the quick feedback.

  • Aliaksandr Autayeu

    Good, that's resolved then :) Good luck in your project!


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