private Map<String, Instance> mapFeatures(Map<String, WordField[]> linkFields,
            String[] features) {
        Map<String, Instance> result = new HashMap<>();
        for (Entry<String, WordField[]> kv : linkFields.entrySet()) {
            String url = kv.getKey();
            WordField[] words = kv.getValue();
            Instance instance = mapFeaturesToInstance(features, words);
            result.put(url, instance);
        }
        return result;
    }
Extract the information from links as word in the URL, anchor and around links, and converts
it to an Instance object

@param linkNeighboors The LinkNeighborhood instances to be converted to Instance
@param features String[] pre-defined words
@return HashMap mapping url -> instance
ache/src/main/java/achecrawler/link/classifier/builder/LinkNeighborhoodWrapper.java