if there are elements inside our top node that have a negative gravity score remove them concode_field_sep int MIN_FIRST_PARAGRAPH_TEXT concode_elem_sep int minParagraphText concode_elem_sep int MIN_PARAGRAPH_TEXT concode_elem_sep int minFirstParagraphText concode_elem_sep List<String> NODES_TO_REPLACE concode_elem_sep List<String> nodesToReplace concode_elem_sep String nodesToKeepCssSelector concode_elem_sep Pattern unlikelyPattern concode_field_sep int getMinParagraph concode_elem_sep boolean unlikely concode_elem_sep String node2Text concode_elem_sep void setParagraphIndex concode_elem_sep void setNodesToKeepCssSelector concode_elem_sep OutputFormatter setUnlikelyPattern concode_elem_sep String getFormattedText concode_elem_sep int getParagraphIndex concode_elem_sep boolean lastCharIsWhitespace concode_elem_sep OutputFormatter appendUnlikelyPattern concode_elem_sep void appendTextSkipHidden concode_elem_sep int getScore concode_elem_sep int append
void function ( Element arg0 ) { Elements loc0 = arg0 . select ( "srini_string" ) ; for ( Element loc1 : loc0 ) { int loc2 = getScore ( loc1 ) ; int loc3 = getParagraphIndex ( loc1 ) ; if ( loc2 < 0 || loc1 . text ( ) . length ( ) < getMinParagraph ( loc3 ) ) { loc1 . remove ( ) ; } } }