/**
*******************************************************************************
-* Copyright (C) 2005-2009, International Business Machines Corporation and *
+* Copyright (C) 2005-2011, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
fRawInput = in;
fRawLength = in.length;
- MungeInput();
-
return this;
}
}
fInputStream.reset();
- MungeInput(); // Strip html markup, collect byte stats.
return this;
}
int confidence;
ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>();
+ MungeInput(); // Strip html markup, collect byte stats.
+
// Iterate over all possible charsets, remember all that
// give a match quality > 0.
for (i=0; i<fCSRecognizers.size(); i++) {