File size: 1,869 Bytes
691ae91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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': '语法'
                                     }