void function ( ) { unigram = new HashMap < String , Integer > ( ) ; bigram = new HashMap < Couple , Integer > ( ) ; probabilities = new ArrayList < Couple > ( ) ; unmarshaller = new LexiconUnmarshaller ( ) ; marshaller = new LexiconMarshaller ( ) ; tokenMap = new HashMap < String , List < Couple >> ( ) ; }
initialize the maps . concode_field_sep Map<String,Integer> unigram concode_elem_sep Map<String,List<Couple>> tokenMap concode_elem_sep LexiconUnmarshaller unmarshaller concode_elem_sep double EPSILON concode_elem_sep LexiconMarshaller marshaller concode_elem_sep Map<Couple,Integer> bigram concode_elem_sep List<Couple> probabilities concode_elem_sep double lambda2 concode_elem_sep double lambda1 concode_field_sep double getConditionalProbability concode_elem_sep double getConditionalProbability concode_elem_sep void marshalConditionalProbabilities concode_elem_sep void buildConditionalProbabilities concode_elem_sep void validateProbabilityValue concode_elem_sep void estimate concode_elem_sep void loadModels concode_elem_sep void outputConditionalProbabilities concode_elem_sep Couple[] findFirst concode_elem_sep void main concode_elem_sep void estimateConditionalProb concode_elem_sep int getTokenCount concode_elem_sep double getUnigramProbability