append the target text for language detection . this method read the text from specified input reader . if the total size of target text exceeds the limit size specified by detector #setmaxtextlength int , the rest is cut down . concode_field_sep double[] priorMap concode_elem_sep ArrayList<String> langlist concode_elem_sep String UNKNOWN_LANG concode_elem_sep double ALPHA_DEFAULT concode_elem_sep Pattern MAIL_REGEX concode_elem_sep double PROB_THRESHOLD concode_elem_sep Pattern URL_REGEX concode_elem_sep double ALPHA_WIDTH concode_elem_sep HashMap<String,double[]> wordLangProbMap concode_elem_sep Long seed concode_elem_sep boolean verbose concode_elem_sep int max_text_length concode_elem_sep int n_trial concode_elem_sep int ITERATION_LIMIT concode_elem_sep double CONV_THRESHOLD concode_elem_sep StringBuffer text concode_elem_sep double alpha concode_elem_sep int BASE_FREQ concode_elem_sep double[] langprob concode_field_sep double[] initProbability concode_elem_sep ArrayList<Language> sortProbability concode_elem_sep void setAlpha concode_elem_sep String detect concode_elem_sep void cleaningText concode_elem_sep void setVerbose concode_elem_sep void setPriorMap concode_elem_sep String unicodeEncode concode_elem_sep ArrayList<Language> getProbabilities concode_elem_sep String wordProbToString concode_elem_sep void detectBlock concode_elem_sep double normalizeProb concode_elem_sep boolean updateLangProb concode_elem_sep ArrayList<String> extractNGrams concode_elem_sep void setMaxTextLength
void function ( Reader arg0 ) { char [ ] loc0 = new char [ max_text_length / 2 ] ; while ( text . length ( ) < max_text_length && arg0 . ready ( ) ) { int loc1 = arg0 . read ( loc0 ) ; append ( new String ( loc0 , 0 , loc1 ) ) ; } }