code: public char match(ISense source1, ISense target1) throws MatcherLibraryException {
          char result = IMappingElement.IDK;
          try {
              String tExtendedGloss = getExtendedGloss(target1, 1, IMappingElement.LESS_GENERAL);
              String sExtendedGloss = getExtendedGloss(source1, 1, IMappingElement.LESS_GENERAL);
              //variations of this matcher
              StringTokenizer stSource = new StringTokenizer(tExtendedGloss, " ,.\"'();");
              String lemmaS, lemmaT;
              int counter = 0;
              while (stSource.hasMoreTokens()) {
                  StringTokenizer stTarget = new StringTokenizer(sExtendedGloss, " ,.\"'();");
                  lemmaS = stSource.nextToken();
                  if (!meaninglessWords.contains(lemmaS))
                      while (stTarget.hasMoreTokens()) {
                          lemmaT = stTarget.nextToken();
                          if (!meaninglessWords.contains(lemmaT))
                              if (lemmaS.equalsIgnoreCase(lemmaT))
                                  counter++;
                      }
              }
              if (counter > threshold) {
                  result = IMappingElement.EQUIVALENCE;
              }
          } catch (LinguisticOracleException e) {
              final String errMessage = e.getClass().getSimpleName() + ": " + e.getMessage();
              log.error(errMessage, e);
              throw new MatcherLibraryException(errMessage, e);
          }
          return result;
      }
docs: Computes the relation for extended gloss matcher.
  
  @param source1 the gloss of source
  @param target1 the gloss of target
  @return synonym or IDK relation