public synchronized Builder threshold(final float threshold) {
            this.threshold = threshold;
            return this;
        }
build class for probability parameters setting
tika-core/src/main/java/org/apache/tika/mime/ProbabilisticMimeDetectionSelector.java