Exemple #1
0
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
Exemple #2
0
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
Exemple #3
0
def main():
    import read_questions
    return answer_type(read_questions.read_questions_answers())
Exemple #4
0
def main():
  import read_questions
  return answer_type(read_questions.read_questions_answers())