def tag_answers(): import read_questions #We probably don't want the answers in their own list like this. #It's really here so I remember how to access the answers. answers = [] for i in read_questions.read_questions_answers(): list_tags = pos_tag(word_tokenize(i[3])) answers.append(list_tags) return answers
def tag_answers(): import read_questions # We probably don't want the answers in their own list like this. # It's really here so I remember how to access the answers. answers = [] for i in read_questions.read_questions_answers(): list_tags = pos_tag(word_tokenize(i[3])) answers.append(list_tags) return answers
def main(): import read_questions return answer_type(read_questions.read_questions_answers())