def _normalize(feature_vector, word_count):
    """
    Normalizes the given feature vector's values by word_count.
    """
    for feature, score in feature_vector.items():
        feature_vector[feature] = score/float(word_count)
    return feature_vector