All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.util.chardet.EUCJPStatistics Maven / Gradle / Ivy

package panda.util.chardet ;

public class EUCJPStatistics extends nsEUCStatistics {


     static float[] mFirstByteFreq ;
     static float   mFirstByteStdDev;
     static float   mFirstByteMean;
     static float   mFirstByteWeight;
     static float[] mSecondByteFreq;
     static float   mSecondByteStdDev;
     static float   mSecondByteMean;
     static float   mSecondByteWeight;

     public float[] mFirstByteFreq() { return mFirstByteFreq; }  
     public float   mFirstByteStdDev()  { return mFirstByteStdDev; }  
     public float   mFirstByteMean()  { return mFirstByteMean; }  
     public float   mFirstByteWeight()  { return mFirstByteWeight; }  
     public float[] mSecondByteFreq()  { return mSecondByteFreq; }  
     public float   mSecondByteStdDev()  { return mSecondByteStdDev; }  
     public float   mSecondByteMean()  { return mSecondByteMean; }  
     public float   mSecondByteWeight()  { return mSecondByteWeight; }  

	public EUCJPStatistics() {

	    mFirstByteFreq = new float[] {
                0.364808f, // FreqH[a1]
                0.000000f, // FreqH[a2]
                0.000000f, // FreqH[a3]
                0.145325f, // FreqH[a4]
                0.304891f, // FreqH[a5]
                0.000000f, // FreqH[a6]
                0.000000f, // FreqH[a7]
                0.000000f, // FreqH[a8]
                0.000000f, // FreqH[a9]
                0.000000f, // FreqH[aa]
                0.000000f, // FreqH[ab]
                0.000000f, // FreqH[ac]
                0.000000f, // FreqH[ad]
                0.000000f, // FreqH[ae]
                0.000000f, // FreqH[af]
                0.001835f, // FreqH[b0]
                0.010771f, // FreqH[b1]
                0.006462f, // FreqH[b2]
                0.001157f, // FreqH[b3]
                0.002114f, // FreqH[b4]
                0.003231f, // FreqH[b5]
                0.001356f, // FreqH[b6]
                0.007420f, // FreqH[b7]
                0.004189f, // FreqH[b8]
                0.003231f, // FreqH[b9]
                0.003032f, // FreqH[ba]
                0.033190f, // FreqH[bb]
                0.006303f, // FreqH[bc]
                0.006064f, // FreqH[bd]
                0.009973f, // FreqH[be]
                0.002354f, // FreqH[bf]
                0.003670f, // FreqH[c0]
                0.009135f, // FreqH[c1]
                0.001675f, // FreqH[c2]
                0.002792f, // FreqH[c3]
                0.002194f, // FreqH[c4]
                0.014720f, // FreqH[c5]
                0.011928f, // FreqH[c6]
                0.000878f, // FreqH[c7]
                0.013124f, // FreqH[c8]
                0.001077f, // FreqH[c9]
                0.009295f, // FreqH[ca]
                0.003471f, // FreqH[cb]
                0.002872f, // FreqH[cc]
                0.002433f, // FreqH[cd]
                0.000957f, // FreqH[ce]
                0.001636f, // FreqH[cf]
                0.000000f, // FreqH[d0]
                0.000000f, // FreqH[d1]
                0.000000f, // FreqH[d2]
                0.000000f, // FreqH[d3]
                0.000000f, // FreqH[d4]
                0.000000f, // FreqH[d5]
                0.000000f, // FreqH[d6]
                0.000000f, // FreqH[d7]
                0.000000f, // FreqH[d8]
                0.000000f, // FreqH[d9]
                0.000000f, // FreqH[da]
                0.000000f, // FreqH[db]
                0.000000f, // FreqH[dc]
                0.000000f, // FreqH[dd]
                0.000080f, // FreqH[de]
                0.000279f, // FreqH[df]
                0.000000f, // FreqH[e0]
                0.000000f, // FreqH[e1]
                0.000000f, // FreqH[e2]
                0.000000f, // FreqH[e3]
                0.000000f, // FreqH[e4]
                0.000000f, // FreqH[e5]
                0.000000f, // FreqH[e6]
                0.000000f, // FreqH[e7]
                0.000000f, // FreqH[e8]
                0.000000f, // FreqH[e9]
                0.000000f, // FreqH[ea]
                0.000000f, // FreqH[eb]
                0.000000f, // FreqH[ec]
                0.000000f, // FreqH[ed]
                0.000000f, // FreqH[ee]
                0.000000f, // FreqH[ef]
                0.000000f, // FreqH[f0]
                0.000000f, // FreqH[f1]
                0.000000f, // FreqH[f2]
                0.000000f, // FreqH[f3]
                0.000000f, // FreqH[f4]
                0.000000f, // FreqH[f5]
                0.000000f, // FreqH[f6]
                0.000000f, // FreqH[f7]
                0.000000f, // FreqH[f8]
                0.000000f, // FreqH[f9]
                0.000000f, // FreqH[fa]
                0.000000f, // FreqH[fb]
                0.000000f, // FreqH[fc]
                0.000080f, // FreqH[fd]
                0.000000f  // FreqH[fe]

	};

	mFirstByteStdDev = 0.050407f; // Lead Byte StdDev
	mFirstByteMean = 0.010638f; // Lead Byte Mean
	mFirstByteWeight = 0.640871f; // Lead Byte Weight

	mSecondByteFreq = new float[] {
                  0.002473f, // FreqL[a1]
                  0.039134f, // FreqL[a2]
                  0.152745f, // FreqL[a3]
                  0.009694f, // FreqL[a4]
                  0.000359f, // FreqL[a5]
                  0.022180f, // FreqL[a6]
                  0.000758f, // FreqL[a7]
                  0.004308f, // FreqL[a8]
                  0.000160f, // FreqL[a9]
                  0.002513f, // FreqL[aa]
                  0.003072f, // FreqL[ab]
                  0.001316f, // FreqL[ac]
                  0.003830f, // FreqL[ad]
                  0.001037f, // FreqL[ae]
                  0.003590f, // FreqL[af]
                  0.000957f, // FreqL[b0]
                  0.000160f, // FreqL[b1]
                  0.000239f, // FreqL[b2]
                  0.006462f, // FreqL[b3]
                  0.001596f, // FreqL[b4]
                  0.031554f, // FreqL[b5]
                  0.001316f, // FreqL[b6]
                  0.002194f, // FreqL[b7]
                  0.016555f, // FreqL[b8]
                  0.003271f, // FreqL[b9]
                  0.000678f, // FreqL[ba]
                  0.000598f, // FreqL[bb]
                  0.206438f, // FreqL[bc]
                  0.000718f, // FreqL[bd]
                  0.001077f, // FreqL[be]
                  0.003710f, // FreqL[bf]
                  0.001356f, // FreqL[c0]
                  0.001356f, // FreqL[c1]
                  0.000439f, // FreqL[c2]
                  0.004388f, // FreqL[c3]
                  0.005704f, // FreqL[c4]
                  0.000878f, // FreqL[c5]
                  0.010172f, // FreqL[c6]
                  0.007061f, // FreqL[c7]
                  0.014680f, // FreqL[c8]
                  0.000638f, // FreqL[c9]
                  0.025730f, // FreqL[ca]
                  0.002792f, // FreqL[cb]
                  0.000718f, // FreqL[cc]
                  0.001795f, // FreqL[cd]
                  0.091551f, // FreqL[ce]
                  0.000758f, // FreqL[cf]
                  0.003909f, // FreqL[d0]
                  0.000558f, // FreqL[d1]
                  0.031195f, // FreqL[d2]
                  0.007061f, // FreqL[d3]
                  0.001316f, // FreqL[d4]
                  0.022579f, // FreqL[d5]
                  0.006981f, // FreqL[d6]
                  0.007260f, // FreqL[d7]
                  0.001117f, // FreqL[d8]
                  0.000239f, // FreqL[d9]
                  0.012127f, // FreqL[da]
                  0.000878f, // FreqL[db]
                  0.003790f, // FreqL[dc]
                  0.001077f, // FreqL[dd]
                  0.000758f, // FreqL[de]
                  0.002114f, // FreqL[df]
                  0.002234f, // FreqL[e0]
                  0.000678f, // FreqL[e1]
                  0.002992f, // FreqL[e2]
                  0.003311f, // FreqL[e3]
                  0.023416f, // FreqL[e4]
                  0.001237f, // FreqL[e5]
                  0.002753f, // FreqL[e6]
                  0.005146f, // FreqL[e7]
                  0.002194f, // FreqL[e8]
                  0.007021f, // FreqL[e9]
                  0.008497f, // FreqL[ea]
                  0.013763f, // FreqL[eb]
                  0.011768f, // FreqL[ec]
                  0.006303f, // FreqL[ed]
                  0.001915f, // FreqL[ee]
                  0.000638f, // FreqL[ef]
                  0.008776f, // FreqL[f0]
                  0.000918f, // FreqL[f1]
                  0.003431f, // FreqL[f2]
                  0.057603f, // FreqL[f3]
                  0.000439f, // FreqL[f4]
                  0.000439f, // FreqL[f5]
                  0.000758f, // FreqL[f6]
                  0.002872f, // FreqL[f7]
                  0.001675f, // FreqL[f8]
                  0.011050f, // FreqL[f9]
                  0.000000f, // FreqL[fa]
                  0.000279f, // FreqL[fb]
                  0.012127f, // FreqL[fc]
                  0.000718f, // FreqL[fd]
                  0.007380f  // FreqL[fe]

	};

	mSecondByteStdDev = 0.028247f; // Trail Byte StdDev
	mSecondByteMean = 0.010638f; // Trail Byte Mean
	mSecondByteWeight = 0.359129f; // Trial Byte Weight
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy