def remove_fewwords_paragraphs(self):
all_nodes = self.parser.getElementsByTags(self.get_top_node(), ['<STR_LIT:*>'])<EOL>all_nodes.reverse()<EOL>for elm in all_nodes:<EOL><INDENT>tag = self.parser.getTag(elm)<EOL>text = self.parser.getText(elm)<EOL>stop_words = self.stopwords_class(language=self.get_language()).get_stopword_count(text)<EOL>if ((tag != '<STR_LIT>' or text != '<STR_LIT>') and stop_words.get_stopword_count() < <NUM_LIT:3> and<EOL>len(self.parser.getElementsByTag(elm, tag='<STR_LIT:object>')) == <NUM_LIT:0> and<EOL>len(self.parser.getElementsByTag(elm, tag='<STR_LIT>')) == <NUM_LIT:0>):<EOL><INDENT>self.parser.remove(elm)<EOL><DEDENT>else:<EOL><INDENT>trimmed = self.parser.getText(elm)<EOL>if trimmed.startswith("<STR_LIT:(>") and trimmed.endswith("<STR_LIT:)>"):<EOL><INDENT>self.parser.remove(elm)<EOL><DEDENT><DEDENT><DEDENT>
\
        remove paragraphs that have less than x number of words,
        would indicate that it's some sort of link