-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
33 lines (27 loc) · 1.28 KB
/
constants.py
File metadata and controls
33 lines (27 loc) · 1.28 KB
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
32
33
from colorama import Fore
# analysis menu consts
analysis_menu_title = "What do you want to do with generated text?"
analysis_menu_options = [
"Show a plot of Zipf's law",
"Show a plot of Heaps's law",
"Show a plot of Taylor's law",
"Show a plot of Fluctuation scaling",
"Show all plots in a single window",
"Save the calculated statistics to files",
"Save the generated text to a file",
]
# analysis algorithm menu consts
analysis_algorithm_menu_title = 'Which text analysis algorithm you want to use?'
analysis_algorithm_menu_options = ['Static definition (faster)', 'Dynamic definition (slower)']
# model selection menu consts
model_selection_menu_title = 'Which generation model do you want to use?'
# selection menu general consts
selection_menu_turn_back = 'Turn back'
selection_menu_start_over = 'Start over'
selection_menu_additional_options = [selection_menu_turn_back, selection_menu_start_over]
# dictionary consts
default_vocabulary_path = 'vocabulary_data/words_vocabulary.json'
vocabulary_menu_options = ['Use default full vocabulary', 'Use custom vocabulary (Should be chosen in dialog window)']
vocabulary_menu_title = 'What vocabulary do you want to use?'
# general model consts
model_generation_format = f'Generating text with {Fore.YELLOW}{{0}}{Fore.WHITE}'