computes log p a in base 10 . concode_field_sep Map<String,Tuple2<Double,Double>> ugrams concode_elem_sep Map<Tuple2<String,String>,Double> bgrams concode_elem_sep long serialVersionUID concode_field_sep double logJointProb concode_elem_sep double logConditionalProb concode_elem_sep void main concode_elem_sep void statistics
double function ( String arg0 ) { Tuple2 < Double , Double > loc0 = ugrams . get ( arg0 ) ; if ( loc0 == null ) return ugrams . get ( "srini_string" ) . _1 ( ) . doubleValue ( ) ; else return loc0 . _1 ( ) . doubleValue ( ) ; }