} else if(trfName.equalsIgnoreCase("Basic categories only (LabeledScoredTreeReaderFactory)")) {
return new LabeledScoredTreeReaderFactory();
} else if(trfName.equalsIgnoreCase("FrenchTreeReaderFactory")) {
return new FrenchTreeReaderFactory();//PTB format
} else if(trfName.equalsIgnoreCase("PennTreeReaderFactory")) {
return new PennTreeReaderFactory();
} else if(trfName.equalsIgnoreCase("StringLabeledScoredTreeReaderFactory")) {
return new StringLabeledScoredTreeReaderFactory();
} else if(trfName.equalsIgnoreCase("TregexTreeReaderFactory")) {
return new TregexPattern.TRegexTreeReaderFactory();
} else {//try to find the class