public char match(ISense source, ISense target) throws MatcherLibraryException {
        List<String> sourceLemmas = source.getLemmas();
        List<String> targetLemmas = target.getLemmas();
        for (String sourceLemma : sourceLemmas) {
            for (String targetLemma : targetLemmas) {
                if (sourceLemma.equals(targetLemma)) {
                    return IMappingElement.EQUIVALENCE;
                }
            }
        }
        return IMappingElement.IDK;
    }
public char match ( ISense source , ISense target ) throws MatcherLibraryException { List < String > sourceLemmas = source . getLemmas ( ) ; List < String > targetLemmas = target . getLemmas ( ) ; for ( String sourceLemma : sourceLemmas ) { for ( String targetLemma : targetLemmas ) { if ( sourceLemma . equals ( targetLemma ) ) { return IMappingElement . EQUIVALENCE ; } } } return IMappingElement . IDK ; }
Computes the relation with WordNet lemma matcher.

@param source the gloss of source
@param target the gloss of target
@return synonym or IDk relation