void function ( PersonBlogs arg0 , HashMap < String , HashMap < String , Integer >> arg1 ) { String loc0 = arg0 . getBloggerAgeClass ( ) ; for ( int loc1 = 0 ; loc1 < arg0 . getPosts ( ) . size ( ) ; loc1 ++ ) { String loc2 = arg0 . getPosts ( ) . get ( loc1 ) ; String [ ] loc3 = NaiveBayesTrain . cleanPost ( loc2 ) ; updateNaiveBayesMapForSinglePost ( loc3 , arg1 , loc0 ) ; } }
given a persons blogs updates the naive bayes map of word probabilities concode_field_sep int VocabularySize concode_elem_sep int CountofWordsInTwenties concode_elem_sep int CountofWordsInThirties concode_elem_sep StopWord stopWord concode_elem_sep int CountofWordsInTeens concode_field_sep void updateNaiveBayesMapForSinglePost concode_elem_sep int getCountofWordsInTeens concode_elem_sep void setCountofWordsInThirties concode_elem_sep HashMap<String,HashMap<String,Integer>> trainNaiveBayes concode_elem_sep void updateClassWordCount concode_elem_sep void setVocabularySize concode_elem_sep void setCountofWordsInTwenties concode_elem_sep int getVocabularySize concode_elem_sep String[] cleanPost concode_elem_sep String removePuctuationMarks concode_elem_sep void setCountofWordsInTeens concode_elem_sep int getCountofWordsInTwenties concode_elem_sep int getCountofWordsInThirties