code: public Collection<EntityAnnotation> getEntityAnnotationsByConfidenceValue(
              final Double minConfidenceValue, final Double maxConfidenceValue) {
          return FluentIterable.from(getEntityAnnotations())
                  .filter(new Predicate<EntityAnnotation>() {
                      @Override
                      public boolean apply(EntityAnnotation e) {
                          final double value = e.confidence.doubleValue();
                          return minConfidenceValue.doubleValue() <= value
                                  && value <= maxConfidenceValue.doubleValue();
                      }
                  }).toList();
      }
docs: Returns a {@link Collection} of {@link EntityAnnotation}s which confidences values are greater than or equal
  to the value passed by parameter
  
  @param minConfidenceValue Minimum threshold confidence value
  @param maxConfidenceValue Maximum threshold confidence value
  @return