Example #1
0
 public GB18030Prober()
 {
     this.lastChar = new byte[2];
     this.codingSM = new CodingStateMachine(new GB18030Model());
     this.analyser = new GB18030DistributionAnalyser();
     this.Reset();
 }
Example #2
0
 public EucJPProber()
 {
     this.codingSM = new CodingStateMachine(new EucJPModel());
     this.distributionAnalyser = new EucJPDistributionAnalyser();
     this.contextAnalyser = new EucJPContextAnalyser();
     this.Reset();
 }
Example #3
0
 public SjisProber()
 {
     this.codingSM = new CodingStateMachine(new SjisModel());
     this.distributionAnalyser = new SjisDistributionAnalyser();
     this.contextAnalyser = new SjisContextAnalyser();
     this.Reset();
 }
Example #4
0
 public EUCTWProber()
 {
     this.codingSM             = new CodingStateMachine(new EUCTWSMModel());
     this.distributionAnalyser = new EUCTWDistributionAnalyser();
     this.Reset();
 }
Example #5
0
 private nsEUCTWProber()
 {
     mCodingSM = new CodingStateMachine(SMModel.EUCTWSMModel);
     Reset();
 }
Example #6
0
 public nsEUCKRProber()
 {
     mCodingSM = new CodingStateMachine(SMModel.EUCKRSMModel);
     Reset();
 }
Example #7
0
 public EUCKRProber()
 {
     codingSM             = new CodingStateMachine(new EUCKRSMModel());
     distributionAnalyser = new EUCKRDistributionAnalyser();
     Reset();
 }
Example #8
0
 public EucKRProber()
 {
     this.codingSM = new CodingStateMachine(new EucKRModel());
     this.distributionAnalyser = new EucKRDistributionAnalyser();
     this.Reset();
 }
Example #9
0
 public EucKRProber()
 {
     this.codingSM             = new CodingStateMachine(new EucKRModel());
     this.distributionAnalyser = new EucKRDistributionAnalyser();
     this.Reset();
 }
Example #10
0
 public Utf8Prober()
 {
     this.numOfMultiByteChar = 0;
     this.stateMachine       = new CodingStateMachine(new Utf8Model());
     this.InitialiseProbes();
 }
Example #11
0
 public Utf8Prober()
 {
     this.numOfMultiByteChar = 0;
     this.stateMachine = new CodingStateMachine(new Utf8Model());
     this.InitialiseProbes();
 }
Example #12
0
 public nsSJISProber()
 {
     mCodingSM = new CodingStateMachine(SMModel.SJISSMModel);
     Reset();
 }
Example #13
0
 public Big5Prober()
 {
     this.codingSM = new CodingStateMachine(new Big5Model());
     this.distributionAnalyser = new Big5DistributionAnalyser();
     this.Reset();
 }
Example #14
0
 public nsSJISProber()
 {
     mCodingSM = new CodingStateMachine(SMModel.SJISSMModel);
     Reset();
 }
Example #15
0
 // for S-JIS encoding, obeserve characteristic:
 // 1, kana character (or hankaku?) often have hight frequency of appereance
 // 2, kana character often exist in group
 // 3, certain combination of kana is never used in japanese language
 public nsEUCJPProber()
 {
     mCodingSM = new CodingStateMachine(SMModel.EUCJPSMModel);
     Reset();
 }
Example #16
0
 public Big5Prober()
 {
     mCodingSM = new CodingStateMachine(SMModel.Big5SMModel);
     Reset();
 }
Example #17
0
 public Big5Prober()
 {
     this.codingSM             = new CodingStateMachine(new BIG5SMModel());
     this.distributionAnalyser = new BIG5DistributionAnalyser();
     this.Reset();
 }
Example #18
0
 public Big5Prober()
 {
     mCodingSM = new CodingStateMachine(SMModel.Big5SMModel);
     Reset();
 }
Example #19
0
 public UTF8Prober()
 {
     numOfMBChar = 0;
     codingSM    = new CodingStateMachine(new UTF8SMModel());
     Reset();
 }
Example #20
0
 nsEUCTWProber()
 {
     mCodingSM = new CodingStateMachine(SMModel.EUCTWSMModel);
     Reset();
 }