Sciss/jawjaw

NictWordNet: empty synset

Opened this issue · 0 comments

What steps will reproduce the problem?
1. create a new NictWordNet
2. getAllConcepts for a word and pos
3. fields name and src of the synset are empty.

This part of the code in Concept.java is commented out:

    /**
     * @return the name
     */
    public String getName() {
        if ( name==null ) {
//          Synset realSynset = SynsetDAO.findSynsetBySynset( getSynset() );
//          setName( realSynset.getName() );
//          setPos( realSynset.getPos() );
//          setSrc( realSynset.getSrc() );
//          return name;
        }
        return name;
    }

Original issue reported on code.google.com by andrea.b...@gmail.com on 25 Apr 2012 at 11:16