Package org.apache.tika.ml.junkdetect
package org.apache.tika.ml.junkdetect
-
ClassDescriptionCarrier for one script's codepoint-bigram tables.Junk-detection HTML→text cleaning: strip tags, then expand entities to codepoints.Language-agnostic text quality scorer.Sink for
JunkDetector.forEachScriptBigram(int[], JunkDetector.BigramSink): (modelScript, cpA, cpB).Per-feature z-score breakdown returned byJunkDetector.scoreWithFeatureComponents(String).AMetaEncodingDetectorthat arbitrates charset candidates by asking aTextQualityDetectorwhich decoded candidate looks most like natural text.Candidate charset-agnostic features for use in the Phase-2 feature study (see planwild-roaming-whale).Static codepoint-range → bucket-index lookup table used by Feature 2 (block-transition log-probability).