code: @Override
  	public String[] getContext(Sentence sent, int pos) {
  	List<String> cps = new ArrayList<String>();
  		
  		for (int it = 0; it < cpnames.size(); ++it){			
  			String cp = cpnames.get(it);
  			Vector<Integer> paras = this.paras.get(it);
  			String cpvalue = "";
  			if (cp.equals("initial_cap")){
  				cpvalue = ic(sent,pos,paras.get(0));
  			}
  			else if (cp.equals("all_cap")){
  				cpvalue = ac(sent, pos, paras.get(0));
  			}
  			else if (cp.equals("mark")){
  				cpvalue = mk(sent, pos, paras.get(0));
  			}
  			else if (cp.equals("first_obsrv")){
  				if (pos + paras.get(0) == 0)
  					cpvalue = "fi:" + paras.get(0);
  			}
  			
  			if (!cpvalue.equals("")) cps.add(cpvalue);
  		}
  		String [] ret = new String[cps.size()];		
  		return cps.toArray(ret);
  	}
docs: /* (non-Javadoc)
  @see jvntextpro.data.ContextGenerator#getContext(jvntextpro.data.Sentence, int)