示例#1
0
    ////////////////////////////////////////////////////////////////
    // methods
    ////////////////////////////////////////////////////////////////
    public UTF8Prober():base()
    {
        this.numOfMBChar = 0;
        this.codingSM = new CodingStateMachine(smModel);

        reset();
    }
		////////////////////////////////////////////////////////////////
		// methods
		////////////////////////////////////////////////////////////////
		public EUCTWProber():base()
		{
			this.codingSM = new CodingStateMachine(smModel);
			this.distributionAnalyzer = new EUCTWDistributionAnalysis();
			this.lastChar = new byte[2];
			reset();
		}
示例#3
0
		////////////////////////////////////////////////////////////////
		// methods
		////////////////////////////////////////////////////////////////
		public SJISProber():base()
		{
			this.codingSM = new CodingStateMachine(smModel);
			this.contextAnalyzer = new SJISContextAnalysis();
			this.distributionAnalyzer = new SJISDistributionAnalysis();
			this.lastChar = new byte[2];
			reset();
		}