def run_check(self, data):
if not data:<EOL><INDENT>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>data, sentences, chars, num_words = self.pre_check(data)<EOL>w_dict = Counter(data)<EOL>uniq_len, uncommon, uncom_len = self.gsl(w_dict)<EOL>non_dchall_set = Counter({word: count for word, count in w_dict.items()<EOL>if word and word not in self.dale_chall_words})<EOL>diff_count = sum(non_dchall_set.values())<EOL>dc_score = round(self.dale_chall(diff_count, num_words, sentences), <NUM_LIT:1>)<EOL>cli_score = round(self.coleman_liau(chars, num_words, sentences), <NUM_LIT:1>)<EOL>return uncommon, uncom_len, uniq_len, dc_score, cli_score<EOL>
Check for uncommon words and difficult words in file.