paper_generate / config.py
weiwei1392
add new demo
691ae91
raw
history blame
1.87 kB
vowel_Combination = ['au', 'aw', 'ay', 'ar', 'ai', 'air', 'al', 'are', 'au', 'aw', 'ea', 'ear', 'ee', 'eer', 'ei', 'er',
'ere', 'eu', 'ew', 'ey', 'ia', 'ie', 'ir', 'ire', 'oa', 'oar', 'oi', 'oo', 'oor', 'or', 'ore',
'ou', 'our', 'ow', 'oy', 'ua', 'ui', 'ur', 'ure', 'augh', 'eigh', 'iugh', 'ear', 'igh', 'ough']
number_letter_dict = {0: 'A', 1: 'B', 2: 'C', 3: 'D', 4: 'E', 5: 'F', 6: 'G', 7: 'H', 8: 'I', 9: 'J', 10: 'L'}
model_name = {"chatglm": 'ChatGLM', 'openai_3': 'OpenAI3', 'openai_4': 'OpenAI4'}
generate_command_to_function_type = {'word_complete': 'generate_word_complete_question',
'sentence_recomposition': 'generate_sentence_recomposition_question',
'phrase_select': 'generate_phrase_select_question',
'sentence_complete': 'generate_sentence_complete_question',
'grammar': 'generate_grammar_question'
}
generate_command_to_material_type = {'word_complete': 'word',
'sentence_recomposition': 'sentence',
'phrase_select': 'phrase',
'sentence_complete': 'sentence',
'grammar': 'grammar'
}
generate_command_to_question_type = {'word_complete': '选择正确的字母补全单词',
'sentence_recomposition': '重组句子',
'phrase_select': '根据图片选择正确的短语',
'sentence_complete': '根据图片选择补全句子',
'grammar': '语法'
}