private Item instantiateFuzzyItem(String field, String key, Inspector value) {
        HashMap<Integer, Inspector> children = childMap(value);
        HashMap<String, Inspector> annotations = getAnnotationMap(value);

        Preconditions.checkArgument(children.size() == 1, "Expected 1 argument, got %s.", children.size());

        String wordData = children.get(0).asString();

        Integer maxEditDistance = getIntegerAnnotation(MAX_EDIT_DISTANCE, annotations, FuzzyItem.DEFAULT_MAX_EDIT_DISTANCE);
        Integer prefixLength = getIntegerAnnotation(PREFIX_LENGTH, annotations, FuzzyItem.DEFAULT_PREFIX_LENGTH);
        boolean prefixMatch = getBoolAnnotation(PREFIX, annotations, Boolean.FALSE);

        FuzzyItem fuzzy = new FuzzyItem(field, true, wordData, maxEditDistance, prefixLength, prefixMatch);

        return leafStyleSettings(getAnnotations(value), fuzzy);
    }
Translates a list of grouping requests on JSON form to a list in the grouping language form
container-search/src/main/java/com/yahoo/search/query/SelectParser.java