for(int componentNum = 0; componentNum < componentOutcomes.size(); componentNum++){
String outcome = componentOutcomes.get(componentNum).get(tokenIndex);
if(tokenIndex > 0){
// features.add(new Feature("PreviousOutcome", outcomes.get(tokenIndex-1)));
features.add(new Feature(String.format("Component%d_PreviousLabel", componentNum), componentOutcomes.get(componentNum).get(tokenIndex-1)));
}
features.add(new Feature(String.format("Component%d_Label", componentNum), outcome));
if(tokenIndex < tokens.size() -1){
features.add(new Feature(String.format("Component%d_NextLabel", componentNum), componentOutcomes.get(componentNum).get(tokenIndex+1)));
}
// if(!outcome.equals("O")){
// features.add(new Feature(String.format("Component%d_IsTime", componentNum)));
// }
}