features/FeatureLookupTable.js
function(hashes) {
		this.addFeaturess(hashes);
	  
		var arrays = [];
		for (var i=0; i<hashes.length; ++i) {
			arrays[i] = [];
			for (var feature in this.featureNameToFeatureIndex)
				arrays[i][this.featureNameToFeatureIndex[feature]] = hashes[i][feature] || 0;
		}
		return arrays;
	}
function(hashes) {
		this.addFeaturess(hashes);
	  
		var arrays = [];
		for (var i=0; i<hashes.length; ++i) {
			arrays[i] = [];
			for (var feature in this.featureNameToFeatureIndex)
				arrays[i][this.featureNameToFeatureIndex[feature]] = hashes[i][feature] || 0;
		}
		return arrays;
	}
Convert all the given hashes of features to numeric arrays, using 0 for padding.
If some features in some of the hashes do not exist - they will be added.
@param hashes an array of hashes, for example, [{a: 111, b: 222}, {a: 11, c: 33}, ...]
@return an array of matching arrays, based on the current feature table. For example: [[111, 222], [11, 0, 33]]