code: public void toAssocRateVector(Term t, CrossTable table, AssociationRate assocRateFunction, boolean normalize) {
  		double assocRate;
  		for(Entry coterm:t.getContext().getEntries()) {
  			ContextData contextData = computeContextData(table, t, coterm.getCoTerm());
  			assocRate = assocRateFunction.getValue(contextData);
  			t.getContext().setAssocRate(coterm.getCoTerm(), assocRate);
  		}
  		if(normalize)
  			t.getContext().normalize();
  
  	}
docs: Normalize this vector according to a cross table
  and an association rate measure.
  
  This method recomputes all <code>{@link Entry}.frequency</code> values
  with the normalized ones.
  @param contextVector
  
  @param table
  the pre-computed co-occurrences {@link CrossTable}
  @param assocRateFunction
  the {@link AssociationRate} measure implementation
  @param normalize