Example #1
0
def int_num_nouns(question, characteristic):
    "Suggestion for number of nouns in introduction."
    return count_nouns(question.introduction_text, question.language.iso2)
Example #2
0
def ans_num_nouns(question, characteristic):
    "Suggestion for number of nouns in answer categories."
    return count_nouns(question.answer_text, question.language.iso2)
Example #3
0
def rfa_num_nouns(question, characteristic):
    "Suggestion for number of nouns in Request for an Answer (RFA)."
    return count_nouns(question.rfa_text, question.language.iso2)