コード例 #1
0
ファイル: pos_feature.py プロジェクト: wlf2/cs4740_4
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
コード例 #2
0
ファイル: pos_feature.py プロジェクト: astory/cs4740_4
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
コード例 #3
0
def main():
    import read_questions
    return answer_type(read_questions.read_questions_answers())
コード例 #4
0
ファイル: question_type.py プロジェクト: wlf2/cs4740_4
def main():
  import read_questions
  return answer_type(read_questions.read_questions_answers())