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 = "";
  			
  			String word = "";
  			for (int i = 0; i < paras.size(); ++i) {
  				if (pos + paras.get(i) < 0 || pos + paras.get(i)>= sent.size()){
  					cpvalue = "";
  					continue;
  				}
  	
  				word += sent.getWordAt(pos + paras.get(i)) + " ";
  			}
  			word = word.trim().toLowerCase();
  			
  			VnSyllParser parser = new VnSyllParser(word);
  			if (!parser.isValidVnSyllable() && cp.equals("not_valid_vnsyll"))
  				cpvalue = "nvs:" + word;
  			
  			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)