np_count_before = patternExtractor.getNPCountBefore(extr, k);
word_before_vp = patternExtractor.wordBeforeIsVP(extr, k);
intervening_np = patternExtractor.getInterveningNPCount(extr,
k);
DoubleFeatures featureMap = new DoubleFeatures();
featureMap.put("simple_subj", toDouble(simple_subj));
featureMap.put("quotes_subj", toDouble(quotes_subj));
featureMap.put("relative_subj", toDouble(relative_subj));
featureMap.put("verb_conj", toDouble(verb_conj));
featureMap.put("app", toDouble(app_clause));
featureMap.put("which_who", toDouble(which_who));
featureMap.put("capitalized", toDouble(capitalized));
featureMap.put("punct_count", toDouble(punctuation_count));
featureMap.put("intervening_np_count", toDouble(intervening_np));
featureMap.put("np_count_before", toDouble(np_count_before));
featureMap.put("word_before_pred_conj", toDouble(word_before_pred_conj));
featureMap.put("intervening_and", toDouble(intervening_and));
featureMap.put("word_after_vp", toDouble(word_after_vp));
featureMap.put("word_before_vp", toDouble(word_before_vp));
return featureMap;
}
}