protected static GrammaticalRelation conjValue(String conj) {
    String newConj = conj.toLowerCase();
    if (newConj.equals("not") || newConj.equals("instead") || newConj.equals("rather")) {
      newConj = "negcc";
    } else if (newConj.equals("mention") || newConj.equals("to") || newConj.equals("also") || newConj.contains("well") || newConj.equals("&")) {
      newConj = "and";
    }
    return EnglishGrammaticalRelations.getConj(newConj);
  }
protected static GrammaticalRelation conjValue ( String conj ) { String newConj = conj . toLowerCase ( ) ; if ( newConj . equals ( "not" ) || newConj . equals ( "instead" ) || newConj . equals ( "rather" ) ) { newConj = "negcc" ; } else if ( newConj . equals ( "mention" ) || newConj . equals ( "to" ) || newConj . equals ( "also" ) || newConj . contains ( "well" ) || newConj . equals ( "&" ) ) { newConj = "and" ; } return EnglishGrammaticalRelations . getConj ( newConj ) ; }
Does some hard coding to deal with relation in CONJP. For now we deal with:
but not, if not, instead of, rather than, but rather GO TO negcc as well as, not to
mention, but also, & GO TO and.

@param conj The head dependency of the conjunction marker
@return A GrammaticalRelation made from a normalized form of that
conjunction.