Package org.apache.tika.ml.chardetect.tools
package org.apache.tika.ml.chardetect.tools
-
ClassesClassDescriptionMicro-benchmark comparing charset detector throughput.Generates charset-detection training, devtest, and test data from MADLAD-400 and Cantonese Wikipedia sentence files.Diagnostic for the win-1252-vs-MacRoman / IBM850 / windows-1250 / windows-1257 / etc. confusion problem.Compares
MojibusterEncodingDetectoragainst ICU4J and juniversalchardet.Rebalance the per-class training corpus so all Western European Latin SBCS classes have the same underlying source text — eliminating the "common ASCII bigrams pull toward MacRoman" bias surfaced byDiagnoseDiscrimination.Naive-Bayes byte-bigram charset classifier trainer.