studium 0.13.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of studium might be problematic. Click here for more details.

Files changed (871) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +2785 -0
  3. data/bin/ask_exam_question +7 -0
  4. data/bin/check_description_of_these_lectures +7 -0
  5. data/bin/curriculum_module_displayer +7 -0
  6. data/bin/cycle +7 -0
  7. data/bin/d10 +7 -0
  8. data/bin/d100 +7 -0
  9. data/bin/d15 +7 -0
  10. data/bin/d20 +7 -0
  11. data/bin/d25 +7 -0
  12. data/bin/d3 +7 -0
  13. data/bin/d30 +7 -0
  14. data/bin/d5 +7 -0
  15. data/bin/determine_curricula +7 -0
  16. data/bin/display_lecture_url +7 -0
  17. data/bin/exam_registration_at +7 -0
  18. data/bin/exam_statistics +7 -0
  19. data/bin/exams_per_month +9 -0
  20. data/bin/finished_exams_at_this_university +7 -0
  21. data/bin/flashcards +7 -0
  22. data/bin/from_curriculum_id_to_university +9 -0
  23. data/bin/location_to_this_exam_topic.rb +7 -0
  24. data/bin/mandatory_continuous_assessment +7 -0
  25. data/bin/mandatory_upcoming_courses +7 -0
  26. data/bin/n_ECTS +7 -0
  27. data/bin/n_exam_questions_already_answered +16 -0
  28. data/bin/nquestions +7 -0
  29. data/bin/nsolved +7 -0
  30. data/bin/open_last_exam_question_asked_file +7 -0
  31. data/bin/passed_exams +7 -0
  32. data/bin/passed_pr/303/274fungsimmanente_courses +7 -0
  33. data/bin/pdf_for +7 -0
  34. data/bin/random_exam_topic +7 -0
  35. data/bin/report_solved_topics +7 -0
  36. data/bin/return_n_ects_from_this_file +7 -0
  37. data/bin/search_for_n_ects +7 -0
  38. data/bin/show_lectures_on_the_commandline +7 -0
  39. data/bin/show_themes +7 -0
  40. data/bin/solved +9 -0
  41. data/bin/solved_ects +7 -0
  42. data/bin/studienkennzahl +7 -0
  43. data/bin/studium +7 -0
  44. data/bin/studium_skeleton +7 -0
  45. data/bin/ufind +7 -0
  46. data/bin/upcoming_exams +7 -0
  47. data/bin/week_parser +7 -0
  48. data/doc/ECTS_CONSIDERATIONS.md +81 -0
  49. data/doc/HOW_TO_DETERMINE_WHICH_PART_IS_THE_QUESTION_AND_WHICH_PART_IS_THE_ANSWER.md +44 -0
  50. data/doc/README.gen +2742 -0
  51. data/doc/SQL_database_specification.md +46 -0
  52. data/doc/deprecated_components.md +24 -0
  53. data/doc/documentation_for_the_file_lecture_information.md +311 -0
  54. data/doc/elegant_colours.md +21 -0
  55. data/doc/todo/TODO_FOR_STUDIUM_GEM.md +112 -0
  56. data/doc/todo/TODO_FOR_THE_GRAPHICAL_PARTS_OF_THE_STUDIUM_GEM_INCLUDING_WWW_RELATED_ASPECTS.md +35 -0
  57. data/img/STUDIES.png +0 -0
  58. data/lib/studium/autoinclude.rb +7 -0
  59. data/lib/studium/base/base.rb +2710 -0
  60. data/lib/studium/base/prototype.rb +543 -0
  61. data/lib/studium/c/README.md +2 -0
  62. data/lib/studium/c/a.out +0 -0
  63. data/lib/studium/c/obtain_random_entry.c +11 -0
  64. data/lib/studium/check_and_sanitize/README.md +11 -0
  65. data/lib/studium/check_and_sanitize/check_curriculum_for_correct_separation_of_bachelor_and_master.rb +141 -0
  66. data/lib/studium/check_and_sanitize/check_for_all_exam_topics_being_registered.rb +110 -0
  67. data/lib/studium/check_and_sanitize/check_for_correct_themes_of_each_course.rb +90 -0
  68. data/lib/studium/check_and_sanitize/check_for_existing_description_of_this_lecture.rb +189 -0
  69. data/lib/studium/check_and_sanitize/check_the_lecture_information_file.rb +163 -0
  70. data/lib/studium/check_and_sanitize/find_duplicate_lectures.rb +115 -0
  71. data/lib/studium/check_and_sanitize/missing_priority_entry.rb +44 -0
  72. data/lib/studium/check_and_sanitize/sanitize_this_string_containing_the_lva_dates.rb +79 -0
  73. data/lib/studium/colours/colours.rb +549 -0
  74. data/lib/studium/colours/sfancy.rb +46 -0
  75. data/lib/studium/colours/sfile.rb +35 -0
  76. data/lib/studium/colours/simp.rb +40 -0
  77. data/lib/studium/colours/use_colours.rb +39 -0
  78. data/lib/studium/colours/use_this_colour_for_exam_questions_and_exam_answers.rb +80 -0
  79. data/lib/studium/commandline/commandline.rb +932 -0
  80. data/lib/studium/commandline/menu.rb +903 -0
  81. data/lib/studium/constants/colours.rb +14 -0
  82. data/lib/studium/constants/constants.rb +2142 -0
  83. data/lib/studium/constants/image_constants.rb +217 -0
  84. data/lib/studium/constants/web_constants.rb +25 -0
  85. data/lib/studium/css/project.css +267 -0
  86. data/lib/studium/curricula/curriculum.rb +210 -0
  87. data/lib/studium/curricula/curriculum_as_string.rb +280 -0
  88. data/lib/studium/curricula/curriculum_module_displayer/constants.rb +33 -0
  89. data/lib/studium/curricula/curriculum_module_displayer/curriculum_module_displayer.rb +417 -0
  90. data/lib/studium/curricula/curriculum_module_displayer/initialize.rb +25 -0
  91. data/lib/studium/curricula/curriculum_module_displayer/menu.rb +45 -0
  92. data/lib/studium/curricula/curriculum_module_displayer/reset.rb +74 -0
  93. data/lib/studium/curricula/curriculum_module_displayer/run.rb +20 -0
  94. data/lib/studium/curricula/curriculum_module_displayer/set_use_this_curriculum.rb +93 -0
  95. data/lib/studium/curricula/curriculum_module_displayer/show_and_report.rb +190 -0
  96. data/lib/studium/curricula/determine_curricula/constants.rb +11 -0
  97. data/lib/studium/curricula/determine_curricula/determine_curricula.rb +36 -0
  98. data/lib/studium/curricula/determine_curricula/help.rb +39 -0
  99. data/lib/studium/curricula/determine_curricula/initialize.rb +48 -0
  100. data/lib/studium/curricula/determine_curricula/menu.rb +151 -0
  101. data/lib/studium/curricula/determine_curricula/misc.rb +403 -0
  102. data/lib/studium/curricula/determine_curricula/report.rb +143 -0
  103. data/lib/studium/curricula/determine_curricula/reset.rb +59 -0
  104. data/lib/studium/curricula/determine_curricula/run.rb +19 -0
  105. data/lib/studium/curricula/determine_elective_courses_in_this_curriculum.rb +112 -0
  106. data/lib/studium/curricula/display_bachelor_curricula.rb +90 -0
  107. data/lib/studium/curricula/mitteilungsbl/303/244tter/mitteilungsbl/303/244tter.rb +324 -0
  108. data/lib/studium/curricula/modules/display_on_the_commandline.rb +319 -0
  109. data/lib/studium/curricula/modules/return_n_ects_in_this_module.rb +75 -0
  110. data/lib/studium/curricula/n_percent_solved_in_this_curriculum.rb +75 -0
  111. data/lib/studium/curricula/prepare_individual_curriculum.rb +304 -0
  112. data/lib/studium/curricula/random_curriculum_creator/random_curriculum_creator.rb +163 -0
  113. data/lib/studium/curricula/show_lectures_of_this_curriculum.rb +114 -0
  114. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/constants.rb +11 -0
  115. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/initialize.rb +27 -0
  116. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/menu.rb +35 -0
  117. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/misc.rb +264 -0
  118. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/report.rb +163 -0
  119. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/reset.rb +64 -0
  120. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/show_lectures_of_this_curriculum_id.rb +38 -0
  121. data/lib/studium/curricula/show_solved_percentage_among_the_registered_curricula.rb +87 -0
  122. data/lib/studium/ects/boku_ects_splitter.rb +128 -0
  123. data/lib/studium/ects/ects_per_university.rb +179 -0
  124. data/lib/studium/ects/ects_scanner.rb +141 -0
  125. data/lib/studium/ects/ects_to_university_parser.rb +142 -0
  126. data/lib/studium/ects/last_entry_is_curriculum.rb +150 -0
  127. data/lib/studium/ects/n_ects_in_these_lectures.rb +196 -0
  128. data/lib/studium/ects/n_ects_points_in_mandatory_presence_courses.rb +50 -0
  129. data/lib/studium/ects/return_n_ects_from_this_file.rb +59 -0
  130. data/lib/studium/ects/return_n_ects_from_this_url.rb +196 -0
  131. data/lib/studium/ects/search_for_n_ects.rb +614 -0
  132. data/lib/studium/ects/show_completed_ects_in_all_curricula.rb +191 -0
  133. data/lib/studium/ects/show_passed_credits_per_curriculum.rb +276 -0
  134. data/lib/studium/ects/simple_total_ects_points.rb +135 -0
  135. data/lib/studium/ects/solved_ects/constants.rb +19 -0
  136. data/lib/studium/ects/solved_ects/reset.rb +51 -0
  137. data/lib/studium/ects/solved_ects/solved_ects.rb +325 -0
  138. data/lib/studium/ects/solved_ects_per_university/reset.rb +25 -0
  139. data/lib/studium/ects/solved_ects_per_university/solved_ects_per_university.rb +106 -0
  140. data/lib/studium/ects/still_missing.rb +129 -0
  141. data/lib/studium/ects/sum_of_ects.rb +144 -0
  142. data/lib/studium/encoding/encoding.rb +108 -0
  143. data/lib/studium/exam_topics/RNAi_siRNA_and_miRNA +86 -0
  144. data/lib/studium/exam_topics/abfall_als_ressource +86 -0
  145. data/lib/studium/exam_topics/advanced_biochemistry +781 -0
  146. data/lib/studium/exam_topics/advanced_biotechnology +214 -0
  147. data/lib/studium/exam_topics/advanced_cellbiology +27 -0
  148. data/lib/studium/exam_topics/advanced_chemistry +504 -0
  149. data/lib/studium/exam_topics/advanced_microbiology +43 -0
  150. data/lib/studium/exam_topics/advanced_topics_in_plant_sciences +85 -0
  151. data/lib/studium/exam_topics/advanced_virology +218 -0
  152. data/lib/studium/exam_topics/ageing +114 -0
  153. data/lib/studium/exam_topics/agrar_ecology +63 -0
  154. data/lib/studium/exam_topics/agrarmarkt +71 -0
  155. data/lib/studium/exam_topics/agrarphysik +35 -0
  156. data/lib/studium/exam_topics/alcohols +29 -0
  157. data/lib/studium/exam_topics/algorithms +52 -0
  158. data/lib/studium/exam_topics/allergie +75 -0
  159. data/lib/studium/exam_topics/allgemeine_genetik +1006 -0
  160. data/lib/studium/exam_topics/allgemeine_mikrobiologie +946 -0
  161. data/lib/studium/exam_topics/aminoacids +438 -0
  162. data/lib/studium/exam_topics/analytische_chemie_1 +132 -0
  163. data/lib/studium/exam_topics/analytische_chemie_2 +31 -0
  164. data/lib/studium/exam_topics/anatomie +290 -0
  165. data/lib/studium/exam_topics/anorganische_chemie +311 -0
  166. data/lib/studium/exam_topics/anthropologie +116 -0
  167. data/lib/studium/exam_topics/antibodies_and_antigens +764 -0
  168. data/lib/studium/exam_topics/apoptosis +35 -0
  169. data/lib/studium/exam_topics/archaea +60 -0
  170. data/lib/studium/exam_topics/architecture +8 -0
  171. data/lib/studium/exam_topics/artificial_intelligence +81 -0
  172. data/lib/studium/exam_topics/atomemissionsspektrometrie +6 -0
  173. data/lib/studium/exam_topics/audio +11 -0
  174. data/lib/studium/exam_topics/bacteriophages +240 -0
  175. data/lib/studium/exam_topics/basic_biochemistry +1002 -0
  176. data/lib/studium/exam_topics/basic_biotechnology +1001 -0
  177. data/lib/studium/exam_topics/basic_chemistry +1007 -0
  178. data/lib/studium/exam_topics/basic_virology +1008 -0
  179. data/lib/studium/exam_topics/bauwesen +6 -0
  180. data/lib/studium/exam_topics/betriebssysteme +126 -0
  181. data/lib/studium/exam_topics/betriebswirtschaftslehre +29 -0
  182. data/lib/studium/exam_topics/bioanalytik_und_biosensoren +382 -0
  183. data/lib/studium/exam_topics/biochips +78 -0
  184. data/lib/studium/exam_topics/bioelektrochemie +57 -0
  185. data/lib/studium/exam_topics/biofilms +22 -0
  186. data/lib/studium/exam_topics/bioinformatics +503 -0
  187. data/lib/studium/exam_topics/biological_therapeutics +153 -0
  188. data/lib/studium/exam_topics/biologie +137 -0
  189. data/lib/studium/exam_topics/biomarkers +106 -0
  190. data/lib/studium/exam_topics/biomaterials +89 -0
  191. data/lib/studium/exam_topics/biomembranes +6 -0
  192. data/lib/studium/exam_topics/bionik +65 -0
  193. data/lib/studium/exam_topics/biophysik +34 -0
  194. data/lib/studium/exam_topics/biopolymers +10 -0
  195. data/lib/studium/exam_topics/bioprozesstechnik +149 -0
  196. data/lib/studium/exam_topics/bioressourcenmanagement +78 -0
  197. data/lib/studium/exam_topics/bodenkunde +373 -0
  198. data/lib/studium/exam_topics/bodenmikrobiologie +40 -0
  199. data/lib/studium/exam_topics/cancerbiology +442 -0
  200. data/lib/studium/exam_topics/cell_cultures +155 -0
  201. data/lib/studium/exam_topics/cellbiology +995 -0
  202. data/lib/studium/exam_topics/cellular_transport_and_protein_secretion +27 -0
  203. data/lib/studium/exam_topics/cellulose +6 -0
  204. data/lib/studium/exam_topics/chemische_technologie_anorganischer_stoffe +209 -0
  205. data/lib/studium/exam_topics/chemische_technologie_organischer_stoffe +25 -0
  206. data/lib/studium/exam_topics/chemisches_labor +60 -0
  207. data/lib/studium/exam_topics/chemotaxis_and_motility_in_prokaryotes +87 -0
  208. data/lib/studium/exam_topics/citric_acid_cycle +80 -0
  209. data/lib/studium/exam_topics/clinical_microbiology +492 -0
  210. data/lib/studium/exam_topics/computer_graphics +5 -0
  211. data/lib/studium/exam_topics/computer_science +280 -0
  212. data/lib/studium/exam_topics/crispr +28 -0
  213. data/lib/studium/exam_topics/cyanobacteria +42 -0
  214. data/lib/studium/exam_topics/cytogenetics_and_chromosome_biology +551 -0
  215. data/lib/studium/exam_topics/cytokines +5 -0
  216. data/lib/studium/exam_topics/databases_and_sql +106 -0
  217. data/lib/studium/exam_topics/dna_mutation_and_dna_repair +35 -0
  218. data/lib/studium/exam_topics/dna_replication +56 -0
  219. data/lib/studium/exam_topics/ecogenetics +26 -0
  220. data/lib/studium/exam_topics/ecological_agriculture +12 -0
  221. data/lib/studium/exam_topics/ecology +314 -0
  222. data/lib/studium/exam_topics/economy +211 -0
  223. data/lib/studium/exam_topics/elektronenmikroskopie +354 -0
  224. data/lib/studium/exam_topics/elektrophorese +89 -0
  225. data/lib/studium/exam_topics/elektrotechnik_und_elektrizit/303/244t +41 -0
  226. data/lib/studium/exam_topics/elisa +54 -0
  227. data/lib/studium/exam_topics/embryologie_und_entwicklung +547 -0
  228. data/lib/studium/exam_topics/endospores_and_spores +104 -0
  229. data/lib/studium/exam_topics/enzymes_and_cofactors +345 -0
  230. data/lib/studium/exam_topics/epigenetik +179 -0
  231. data/lib/studium/exam_topics/ethik +138 -0
  232. data/lib/studium/exam_topics/evolution_and_evolutionary_genetics +328 -0
  233. data/lib/studium/exam_topics/excel +7 -0
  234. data/lib/studium/exam_topics/fish +19 -0
  235. data/lib/studium/exam_topics/fluorescence_microscopy +7 -0
  236. data/lib/studium/exam_topics/food_microbiology_and_food_biotechnology +71 -0
  237. data/lib/studium/exam_topics/forensik +11 -0
  238. data/lib/studium/exam_topics/forstwirtschaft +53 -0
  239. data/lib/studium/exam_topics/fortgeschrittene_genetik +511 -0
  240. data/lib/studium/exam_topics/fortgeschrittene_gentechnik +211 -0
  241. data/lib/studium/exam_topics/fortgeschrittene_physik +6 -0
  242. data/lib/studium/exam_topics/fungi +79 -0
  243. data/lib/studium/exam_topics/genetische_krankheiten +176 -0
  244. data/lib/studium/exam_topics/genexpression +1008 -0
  245. data/lib/studium/exam_topics/genomics_and_metagenomics +244 -0
  246. data/lib/studium/exam_topics/gentechnik_und_praktische_biochemie +901 -0
  247. data/lib/studium/exam_topics/geochemistry +67 -0
  248. data/lib/studium/exam_topics/geography +8 -0
  249. data/lib/studium/exam_topics/geologie_und_mineralogie +621 -0
  250. data/lib/studium/exam_topics/geometrie +47 -0
  251. data/lib/studium/exam_topics/geschichte +93 -0
  252. data/lib/studium/exam_topics/gluconeogenesis +59 -0
  253. data/lib/studium/exam_topics/glycogen +25 -0
  254. data/lib/studium/exam_topics/glycolysis +109 -0
  255. data/lib/studium/exam_topics/glykomik +100 -0
  256. data/lib/studium/exam_topics/glyoxylatzyklus +31 -0
  257. data/lib/studium/exam_topics/grassland_cultivation +32 -0
  258. data/lib/studium/exam_topics/hormone +134 -0
  259. data/lib/studium/exam_topics/html +7 -0
  260. data/lib/studium/exam_topics/human_ecology +8 -0
  261. data/lib/studium/exam_topics/hygiene +191 -0
  262. data/lib/studium/exam_topics/imaging_and_microscopy +241 -0
  263. data/lib/studium/exam_topics/immunanalytik +94 -0
  264. data/lib/studium/exam_topics/immunologie +982 -0
  265. data/lib/studium/exam_topics/informatik +97 -0
  266. data/lib/studium/exam_topics/innate_immunity +22 -0
  267. data/lib/studium/exam_topics/insekten +57 -0
  268. data/lib/studium/exam_topics/insulin_and_diabetes +57 -0
  269. data/lib/studium/exam_topics/java +502 -0
  270. data/lib/studium/exam_topics/javascript +12 -0
  271. data/lib/studium/exam_topics/klima +6 -0
  272. data/lib/studium/exam_topics/kryptographie +5 -0
  273. data/lib/studium/exam_topics/landtechnik +26 -0
  274. data/lib/studium/exam_topics/lebensmittel +208 -0
  275. data/lib/studium/exam_topics/lebensmitteltechnologie +16 -0
  276. data/lib/studium/exam_topics/linux +5 -0
  277. data/lib/studium/exam_topics/lipids +94 -0
  278. data/lib/studium/exam_topics/macroeconomics +40 -0
  279. data/lib/studium/exam_topics/mathematics +254 -0
  280. data/lib/studium/exam_topics/medizin_und_biomedizinische_technik +250 -0
  281. data/lib/studium/exam_topics/medizinische_chemie_und_pharmazie +398 -0
  282. data/lib/studium/exam_topics/messtechnik_und_regeltechnik +104 -0
  283. data/lib/studium/exam_topics/metabolismus +406 -0
  284. data/lib/studium/exam_topics/microbial_ecology +35 -0
  285. data/lib/studium/exam_topics/microcontrollers +11 -0
  286. data/lib/studium/exam_topics/mikrobielle_lebensgemeinschaften +33 -0
  287. data/lib/studium/exam_topics/mikrobielle_physiologie +172 -0
  288. data/lib/studium/exam_topics/mitochondria +32 -0
  289. data/lib/studium/exam_topics/mixed +278 -0
  290. data/lib/studium/exam_topics/molecular_biology_of_plants +242 -0
  291. data/lib/studium/exam_topics/molekulare_medizin +131 -0
  292. data/lib/studium/exam_topics/nanotechnologie +453 -0
  293. data/lib/studium/exam_topics/nature_conservation_and_biodiversity +166 -0
  294. data/lib/studium/exam_topics/naturstoffe +9 -0
  295. data/lib/studium/exam_topics/netzwerke +32 -0
  296. data/lib/studium/exam_topics/neurobiology +267 -0
  297. data/lib/studium/exam_topics/nucleotide_sequencing +32 -0
  298. data/lib/studium/exam_topics/nutztierethologie +11 -0
  299. data/lib/studium/exam_topics/object_oriented_modeling +14 -0
  300. data/lib/studium/exam_topics/obstbau +234 -0
  301. data/lib/studium/exam_topics/organische_chemie +1007 -0
  302. data/lib/studium/exam_topics/organische_chemie_2 +118 -0
  303. data/lib/studium/exam_topics/paleobiology +35 -0
  304. data/lib/studium/exam_topics/parasitic_diseases_and_molecular_infection_biology +335 -0
  305. data/lib/studium/exam_topics/patent_law +55 -0
  306. data/lib/studium/exam_topics/pathologie +717 -0
  307. data/lib/studium/exam_topics/pcr +144 -0
  308. data/lib/studium/exam_topics/pentosephosphatweg +41 -0
  309. data/lib/studium/exam_topics/peroxisomes_glycosomes_and_lysosomes +54 -0
  310. data/lib/studium/exam_topics/pflanzenanatomie +255 -0
  311. data/lib/studium/exam_topics/pflanzenbau +24 -0
  312. data/lib/studium/exam_topics/pflanzenschutz +35 -0
  313. data/lib/studium/exam_topics/pflanzenwissenschaften +1009 -0
  314. data/lib/studium/exam_topics/pharmaceutical_biotechnology +250 -0
  315. data/lib/studium/exam_topics/physik +433 -1
  316. data/lib/studium/exam_topics/physikalische_chemie +86 -0
  317. data/lib/studium/exam_topics/physiology_and_histology +506 -0
  318. data/lib/studium/exam_topics/phytochemie +33 -0
  319. data/lib/studium/exam_topics/plant_biotechnology +128 -0
  320. data/lib/studium/exam_topics/plant_breeding +64 -0
  321. data/lib/studium/exam_topics/plant_development +50 -0
  322. data/lib/studium/exam_topics/populationsgenetik +136 -0
  323. data/lib/studium/exam_topics/posttranslationale_modifikation_von_proteinen +191 -0
  324. data/lib/studium/exam_topics/projektmanagement +219 -0
  325. data/lib/studium/exam_topics/prokaryote_genetics +531 -0
  326. data/lib/studium/exam_topics/protein_engineering +8 -0
  327. data/lib/studium/exam_topics/proteolyse +33 -0
  328. data/lib/studium/exam_topics/proteomik +40 -0
  329. data/lib/studium/exam_topics/prozesstechnik +95 -0
  330. data/lib/studium/exam_topics/psychologie +13 -0
  331. data/lib/studium/exam_topics/python +353 -0
  332. data/lib/studium/exam_topics/quality_management +256 -0
  333. data/lib/studium/exam_topics/rechtsgrundlagen +115 -0
  334. data/lib/studium/exam_topics/research_topics_in_immunobiology +42 -0
  335. data/lib/studium/exam_topics/rna_and_dna +395 -0
  336. data/lib/studium/exam_topics/rna_seq +11 -0
  337. data/lib/studium/exam_topics/ruby +146 -0
  338. data/lib/studium/exam_topics/ruby_on_rails +63 -0
  339. data/lib/studium/exam_topics/scientific_writing_and_publishing +38 -0
  340. data/lib/studium/exam_topics/semisynthese_von_proteinen_und_nukleotiden +120 -0
  341. data/lib/studium/exam_topics/sexualbiologie +62 -0
  342. data/lib/studium/exam_topics/signal_transduction_and_laser_systems +167 -0
  343. data/lib/studium/exam_topics/splicing_exons_and_introns +63 -0
  344. data/lib/studium/exam_topics/statistik +233 -0
  345. data/lib/studium/exam_topics/stemcells +158 -0
  346. data/lib/studium/exam_topics/stickstofffixierung +75 -0
  347. data/lib/studium/exam_topics/structural_bioinformatics +54 -0
  348. data/lib/studium/exam_topics/strukturbiologie +380 -0
  349. data/lib/studium/exam_topics/system_biology_and_synthetic_biology +101 -0
  350. data/lib/studium/exam_topics/systematische_zoologie +433 -0
  351. data/lib/studium/exam_topics/technical_ecology +144 -0
  352. data/lib/studium/exam_topics/technische_chemie +202 -0
  353. data/lib/studium/exam_topics/technische_grundlagen_der_informatik +26 -0
  354. data/lib/studium/exam_topics/technische_mikrobiologie +393 -0
  355. data/lib/studium/exam_topics/technisches_zeichnen +5 -0
  356. data/lib/studium/exam_topics/the_bacterial_cell_wall +97 -0
  357. data/lib/studium/exam_topics/the_c_plus_plus_programming_language +489 -0
  358. data/lib/studium/exam_topics/the_c_programming_language +129 -0
  359. data/lib/studium/exam_topics/the_cellcycle +81 -0
  360. data/lib/studium/exam_topics/the_european_union +119 -0
  361. data/lib/studium/exam_topics/the_interferon_system +38 -0
  362. data/lib/studium/exam_topics/the_microbiome +163 -0
  363. data/lib/studium/exam_topics/the_universe +12 -0
  364. data/lib/studium/exam_topics/theoretische_chemie +5 -0
  365. data/lib/studium/exam_topics/theoretische_informatik +157 -0
  366. data/lib/studium/exam_topics/tierzucht +94 -0
  367. data/lib/studium/exam_topics/toxikologie +408 -0
  368. data/lib/studium/exam_topics/transcription +82 -0
  369. data/lib/studium/exam_topics/translation_ribosomes_and_translational_control +142 -0
  370. data/lib/studium/exam_topics/umweltbiotechnologie +63 -0
  371. data/lib/studium/exam_topics/umweltchemie +233 -0
  372. data/lib/studium/exam_topics/urbanism_and_traffic +19 -0
  373. data/lib/studium/exam_topics/urea_cycle +55 -0
  374. data/lib/studium/exam_topics/vaccines_and_vaccination +242 -0
  375. data/lib/studium/exam_topics/vectors_and_gene_therapy +240 -0
  376. data/lib/studium/exam_topics/verfahrenstechnik +32 -0
  377. data/lib/studium/exam_topics/veterinary_medicine +10 -0
  378. data/lib/studium/exam_topics/vitamine +24 -0
  379. data/lib/studium/exam_topics/wasserkunde +137 -0
  380. data/lib/studium/exam_topics/weinbau +59 -0
  381. data/lib/studium/exam_topics/wissenschaft +18 -0
  382. data/lib/studium/exam_topics/yeast +102 -0
  383. data/lib/studium/exam_topics/zoologie +330 -0
  384. data/lib/studium/exams/afterburn/afterburn.rb +257 -0
  385. data/lib/studium/exams/ask_exam_from_the_upcoming_exams_pool.rb +150 -0
  386. data/lib/studium/exams/ask_exam_topic_question.rb +112 -0
  387. data/lib/studium/exams/ask_question_from_alias.rb +141 -0
  388. data/lib/studium/exams/ask_question_from_any_of_the_still_missing_lectures.rb +131 -0
  389. data/lib/studium/exams/ask_question_from_grouped_themes.rb +141 -0
  390. data/lib/studium/exams/ask_question_from_last_topic.rb +91 -0
  391. data/lib/studium/exams/ask_random_question.rb +195 -0
  392. data/lib/studium/exams/autoinclude.rb +7 -0
  393. data/lib/studium/exams/csv/create_csv_passed_exams_file.rb +217 -0
  394. data/lib/studium/exams/cycle.rb +291 -0
  395. data/lib/studium/exams/dataset.rb +123 -0
  396. data/lib/studium/exams/designate_ten_random_exam_topics/designate_ten_random_exam_topics.rb +88 -0
  397. data/lib/studium/exams/exam/exam.rb +130 -0
  398. data/lib/studium/exams/exam_question/README.md +3 -0
  399. data/lib/studium/exams/exam_question/answer.rb +177 -0
  400. data/lib/studium/exams/exam_question/constants.rb +111 -0
  401. data/lib/studium/exams/exam_question/exam_question.rb +1135 -0
  402. data/lib/studium/exams/exam_question/menu.rb +333 -0
  403. data/lib/studium/exams/exam_question/misc.rb +895 -0
  404. data/lib/studium/exams/exam_question/question.rb +91 -0
  405. data/lib/studium/exams/exam_question/reset.rb +96 -0
  406. data/lib/studium/exams/exam_registration_at/constants.rb +49 -0
  407. data/lib/studium/exams/exam_registration_at/exam_registration_at.rb +242 -0
  408. data/lib/studium/exams/exam_registration_at/help.rb +46 -0
  409. data/lib/studium/exams/exam_registration_at/menu.rb +81 -0
  410. data/lib/studium/exams/exam_registration_at/report_and_show.rb +133 -0
  411. data/lib/studium/exams/exam_registration_at/reset.rb +54 -0
  412. data/lib/studium/exams/exam_statistics_from_this_file/exam_statistics_from_this_file.rb +119 -0
  413. data/lib/studium/exams/exam_topics.rb +194 -0
  414. data/lib/studium/exams/exams.rb +20 -0
  415. data/lib/studium/exams/exams_per_month/exams_per_month.rb +2438 -0
  416. data/lib/studium/exams/exams_this_week.rb +182 -0
  417. data/lib/studium/exams/fix_exam_dates.rb +121 -0
  418. data/lib/studium/exams/frozen.rb +36 -0
  419. data/lib/studium/exams/last_exams/last_exams.rb +398 -0
  420. data/lib/studium/exams/lectures_without_exam_entry.rb +137 -0
  421. data/lib/studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb +1956 -0
  422. data/lib/studium/exams/move_the_last_exam_question_to_the_top_of_the_file/move_the_last_exam_question_to_the_top_of_the_file.rb +111 -0
  423. data/lib/studium/exams/n_exams_in_these_topics.rb +404 -0
  424. data/lib/studium/exams/next_exam.rb +107 -0
  425. data/lib/studium/exams/next_exams.rb +378 -0
  426. data/lib/studium/exams/open_exam_associated_url.rb +154 -0
  427. data/lib/studium/exams/open_last_exam_question_asked_file/constants.rb +15 -0
  428. data/lib/studium/exams/open_last_exam_question_asked_file/initialize.rb +29 -0
  429. data/lib/studium/exams/open_last_exam_question_asked_file/open_last_exam_question_asked_file.rb +109 -0
  430. data/lib/studium/exams/pr/303/274fung.rb +289 -0
  431. data/lib/studium/exams/push_solved_questions_on_top.rb +180 -0
  432. data/lib/studium/exams/questions_solved_from_day_to_day/questions_solved_from_day_to_day.rb +377 -0
  433. data/lib/studium/exams/remote_ftp_url.rb +52 -0
  434. data/lib/studium/exams/repeat_last_question.rb +78 -0
  435. data/lib/studium/exams/show_all_passed_exams_of_this_university.rb +252 -0
  436. data/lib/studium/exams/show_backlog_of_exams.rb +117 -0
  437. data/lib/studium/exams/show_next_exams_for.rb +133 -0
  438. data/lib/studium/exams/show_themes/constants.rb +28 -0
  439. data/lib/studium/exams/show_themes/menu.rb +61 -0
  440. data/lib/studium/exams/show_themes/misc.rb +537 -0
  441. data/lib/studium/exams/show_themes/reset.rb +62 -0
  442. data/lib/studium/exams/show_themes/show_themes.rb +27 -0
  443. data/lib/studium/exams/show_upcoming_exams/consider_autogenerating_exam_aliases.rb +181 -0
  444. data/lib/studium/exams/show_upcoming_exams/constants.rb +82 -0
  445. data/lib/studium/exams/show_upcoming_exams/help.rb +33 -0
  446. data/lib/studium/exams/show_upcoming_exams/initialize.rb +77 -0
  447. data/lib/studium/exams/show_upcoming_exams/menu.rb +60 -0
  448. data/lib/studium/exams/show_upcoming_exams/report.rb +200 -0
  449. data/lib/studium/exams/show_upcoming_exams/reset.rb +45 -0
  450. data/lib/studium/exams/show_upcoming_exams/run.rb +20 -0
  451. data/lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb +544 -0
  452. data/lib/studium/exams/solve_all_questions_from_this_topic.rb +114 -0
  453. data/lib/studium/exams/solved/constants.rb +32 -0
  454. data/lib/studium/exams/solved/help.rb +24 -0
  455. data/lib/studium/exams/solved/initialize.rb +55 -0
  456. data/lib/studium/exams/solved/menu.rb +41 -0
  457. data/lib/studium/exams/solved/reset.rb +28 -0
  458. data/lib/studium/exams/solved/solved.rb +313 -0
  459. data/lib/studium/exams/unsolve_all_questions_from_this_topic.rb +162 -0
  460. data/lib/studium/exams/upcoming_exams/constants.rb +15 -0
  461. data/lib/studium/exams/upcoming_exams/help.rb +41 -0
  462. data/lib/studium/exams/upcoming_exams/initialize.rb +27 -0
  463. data/lib/studium/exams/upcoming_exams/menu.rb +79 -0
  464. data/lib/studium/exams/upcoming_exams/misc.rb +415 -0
  465. data/lib/studium/exams/upcoming_exams/reset.rb +34 -0
  466. data/lib/studium/exams/upcoming_exams/run.rb +26 -0
  467. data/lib/studium/exams/upcoming_exams/upcoming_exams.rb +32 -0
  468. data/lib/studium/exams/upcoming_exams_at_the_boku/constants.rb +23 -0
  469. data/lib/studium/exams/upcoming_exams_at_the_boku/html.rb +64 -0
  470. data/lib/studium/exams/upcoming_exams_at_the_boku/upcoming_exams_at_the_boku.rb +194 -0
  471. data/lib/studium/exams/upcoming_exams_dataset.rb +247 -0
  472. data/lib/studium/exams/upload_exam_topics.rb +360 -0
  473. data/lib/studium/graphviz/README.md +4 -0
  474. data/lib/studium/graphviz/bachelor_vector_based_strategies.dot +160 -0
  475. data/lib/studium/graphviz/master_vector_based_strategies.dot +46 -0
  476. data/lib/studium/gui/gtk3/README.md +1 -0
  477. data/lib/studium/gui/gtk3/ask_exam_question/ask_exam_question.config +6 -0
  478. data/lib/studium/gui/gtk3/ask_exam_question/ask_exam_question.rb +760 -0
  479. data/lib/studium/gui/gtk3/ask_exam_question/manifest.yml +12 -0
  480. data/lib/studium/gui/gtk3/control_panel/control_panel.rb +39 -0
  481. data/lib/studium/gui/gtk3/curriculum_viewer/curriculum_viewer.rb +510 -0
  482. data/lib/studium/gui/gtk3/ects_per_university/ects_per_university.rb +217 -0
  483. data/lib/studium/gui/gtk3/exam_question_widget/exam_question_widget.rb +1887 -0
  484. data/lib/studium/gui/gtk3/expand_time_range/expand_time_range.rb +34 -0
  485. data/lib/studium/gui/gtk3/information_about_a_lecture/information_about_a_lecture.rb +34 -0
  486. data/lib/studium/gui/gtk3/lecture_information/lecture_information.rb +200 -0
  487. data/lib/studium/gui/gtk3/show_upcoming_exams/show_upcoming_exams.rb +34 -0
  488. data/lib/studium/gui/java/exam_question/ExamQuestion$1.class +0 -0
  489. data/lib/studium/gui/java/exam_question/ExamQuestion.class +0 -0
  490. data/lib/studium/gui/java/exam_question/ExamQuestion.java +215 -0
  491. data/lib/studium/gui/javafx/exam_question_widget/exam_question_widget.rb +58 -0
  492. data/lib/studium/gui/jruby/exam_question_widget/exam_question_widget.rb +317 -0
  493. data/lib/studium/gui/libui/ask_exam_question/ask_exam_question.rb +349 -0
  494. data/lib/studium/gui/shared_code/control_panel/control_panel_module.rb +314 -0
  495. data/lib/studium/gui/shared_code/exam_question_widget/exam_question_widget_module.rb +39 -0
  496. data/lib/studium/gui/shared_code/expand_time_range/expand_time_range.css +0 -0
  497. data/lib/studium/gui/shared_code/expand_time_range/expand_time_range_module.rb +190 -0
  498. data/lib/studium/gui/shared_code/information_about_a_lecture/information_about_a_lecture_module.rb +180 -0
  499. data/lib/studium/gui/shared_code/show_upcoming_exams/show_upcoming_exams_module.rb +206 -0
  500. data/lib/studium/images/libui_ask_exam_question.png +0 -0
  501. data/lib/studium/images/small_logos/DNA.png +0 -0
  502. data/lib/studium/images/small_logos/README.md +2 -0
  503. data/lib/studium/images/studies_favicon.png +0 -0
  504. data/lib/studium/java/Mkdir.java +15 -0
  505. data/lib/studium/java/README.md +2 -0
  506. data/lib/studium/java/ask_exam_question/AskExamQuestion.java +477 -0
  507. data/lib/studium/java/solved/Solved.class +0 -0
  508. data/lib/studium/java/solved/Solved.java +110 -0
  509. data/lib/studium/java/utility_scripts/OpenLastExamQuestionurlLinkViaTheBrowser.class +0 -0
  510. data/lib/studium/java/utility_scripts/OpenLastExamQuestionurlLinkViaTheBrowser.java +80 -0
  511. data/lib/studium/logging/README.md +2 -0
  512. data/lib/studium/logging/ensure_that_the_log_directory_exists.rb +47 -0
  513. data/lib/studium/logging/html_log_directory.rb +41 -0
  514. data/lib/studium/logging/log_directory.rb +112 -0
  515. data/lib/studium/logging/store_last_question_asked_into_file.rb +137 -0
  516. data/lib/studium/parsers/README.md +2 -0
  517. data/lib/studium/parsers/custom_exam_results_parser.rb +206 -0
  518. data/lib/studium/parsers/parse_lva_dates.rb +190 -0
  519. data/lib/studium/parsers/parse_remote_lecture.rb +325 -0
  520. data/lib/studium/project/project.rb +76 -0
  521. data/lib/studium/requires/common_popular_requires.rb +37 -0
  522. data/lib/studium/requires/commonly_used_requires.rb +14 -0
  523. data/lib/studium/requires/require_class_exams_solved.rb +7 -0
  524. data/lib/studium/requires/require_ects_scripts.rb +27 -0
  525. data/lib/studium/requires/require_encoding.rb +7 -0
  526. data/lib/studium/requires/require_the_check_and_sanitize_files.rb +31 -0
  527. data/lib/studium/requires/require_the_curricula_files.rb +28 -0
  528. data/lib/studium/requires/require_the_exam_question_class.rb +7 -0
  529. data/lib/studium/requires/require_the_exams_files.rb +45 -0
  530. data/lib/studium/requires/require_the_logging_files.rb +23 -0
  531. data/lib/studium/requires/require_the_parsers.rb +28 -0
  532. data/lib/studium/requires/require_the_studium_constants.rb +10 -0
  533. data/lib/studium/requires/require_the_studium_project.rb +54 -0
  534. data/lib/studium/requires/require_the_toplevel_methods.rb +27 -0
  535. data/lib/studium/requires/require_the_utility_scripts.rb +49 -0
  536. data/lib/studium/requires/require_upcoming_exams.rb +7 -0
  537. data/lib/studium/requires/require_yaml.rb +7 -0
  538. data/lib/studium/requires/return_remote_homepage_of_this_lecture.rb +7 -0
  539. data/lib/studium/requires/with_GUI.rb +13 -0
  540. data/lib/studium/requires/www_mode.rb +17 -0
  541. data/lib/studium/statistics/README.md +4 -0
  542. data/lib/studium/statistics/best_exam_months.rb +92 -0
  543. data/lib/studium/statistics/curriculum_comparer.rb +336 -0
  544. data/lib/studium/statistics/determine_exam_statistics_from_this_file.rb +142 -0
  545. data/lib/studium/statistics/exam_topics_that_are_about_to_be_completed.rb +119 -0
  546. data/lib/studium/statistics/max_stats.rb +170 -0
  547. data/lib/studium/statistics/new_questions_per_year.rb +147 -0
  548. data/lib/studium/statistics/report_how_many_ects_points_per_curriculum_were_completed.rb +167 -0
  549. data/lib/studium/statistics/report_how_many_exam_questions_were_answered.rb +473 -0
  550. data/lib/studium/statistics/show_exam_statistics.rb +60 -0
  551. data/lib/studium/statistics/show_which_courses_are_in_a_bachelor_or_master_curriculum_respectively.rb +104 -0
  552. data/lib/studium/statistics/top_stats.rb +127 -0
  553. data/lib/studium/toplevel_methods/all_passed_exams.rb +37 -0
  554. data/lib/studium/toplevel_methods/already_solved_this_lecture.rb +100 -0
  555. data/lib/studium/toplevel_methods/available_topics.rb +156 -0
  556. data/lib/studium/toplevel_methods/average_grade.rb +141 -0
  557. data/lib/studium/toplevel_methods/calculate_pr/303/274fungsimmanente_lectures_from_this_file.rb +55 -0
  558. data/lib/studium/toplevel_methods/copy_the_last_backup_of_file_lecture_information.rb +34 -0
  559. data/lib/studium/toplevel_methods/curriculum_related_code.rb +999 -0
  560. data/lib/studium/toplevel_methods/determine_local_directory_of_this_lecture.rb +72 -0
  561. data/lib/studium/toplevel_methods/does_this_course_require_mandatory_presence.rb +51 -0
  562. data/lib/studium/toplevel_methods/download.rb +163 -0
  563. data/lib/studium/toplevel_methods/e.rb +16 -0
  564. data/lib/studium/toplevel_methods/ects_from_lectures.rb +250 -0
  565. data/lib/studium/toplevel_methods/editor.rb +65 -0
  566. data/lib/studium/toplevel_methods/esystem.rb +22 -0
  567. data/lib/studium/toplevel_methods/filter_away_invalid_questions.rb +77 -0
  568. data/lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb +3442 -0
  569. data/lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb +136 -0
  570. data/lib/studium/toplevel_methods/has_this_lecture_been_already_passed_but_the_id_was_changed_lateron.rb +42 -0
  571. data/lib/studium/toplevel_methods/has_this_module_been_completed.rb +206 -0
  572. data/lib/studium/toplevel_methods/install_the_project_on_the_given_hostsystem.rb +32 -0
  573. data/lib/studium/toplevel_methods/is_on_roebe.rb +26 -0
  574. data/lib/studium/toplevel_methods/is_this_exam_topic_included.rb +46 -0
  575. data/lib/studium/toplevel_methods/is_this_homepage_registered.rb +31 -0
  576. data/lib/studium/toplevel_methods/is_this_lecture_a_practical_course.rb +100 -0
  577. data/lib/studium/toplevel_methods/is_this_lecture_registered_in_upcoming_exams.rb +42 -0
  578. data/lib/studium/toplevel_methods/java.rb +32 -0
  579. data/lib/studium/toplevel_methods/lecture_information.rb +106 -0
  580. data/lib/studium/toplevel_methods/lva_numbers.rb +355 -0
  581. data/lib/studium/toplevel_methods/main_dataset.rb +73 -0
  582. data/lib/studium/toplevel_methods/methods_related_to_directories.rb +225 -0
  583. data/lib/studium/toplevel_methods/methods_related_to_files.rb +205 -0
  584. data/lib/studium/toplevel_methods/misc.rb +169 -0
  585. data/lib/studium/toplevel_methods/n_questions_available.rb +137 -0
  586. data/lib/studium/toplevel_methods/n_topics_available.rb +63 -0
  587. data/lib/studium/toplevel_methods/names_of_all_solved_exams.rb +71 -0
  588. data/lib/studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb +69 -0
  589. data/lib/studium/toplevel_methods/opnn.rb +25 -0
  590. data/lib/studium/toplevel_methods/passed_this_exam_on.rb +105 -0
  591. data/lib/studium/toplevel_methods/pristine.rb +69 -0
  592. data/lib/studium/toplevel_methods/read_delay_between_questions_from_file.rb +34 -0
  593. data/lib/studium/toplevel_methods/regexes.rb +90 -0
  594. data/lib/studium/toplevel_methods/registered_for_this_exam.rb +62 -0
  595. data/lib/studium/toplevel_methods/remove_comments.rb +26 -0
  596. data/lib/studium/toplevel_methods/remove_exam_topics_that_were_already_answered.rb +27 -0
  597. data/lib/studium/toplevel_methods/remove_tags.rb +32 -0
  598. data/lib/studium/toplevel_methods/report.rb +419 -0
  599. data/lib/studium/toplevel_methods/return_all_exams_on_this_day.rb +66 -0
  600. data/lib/studium/toplevel_methods/return_dataset_for_this_exam_topic.rb +41 -0
  601. data/lib/studium/toplevel_methods/return_div_timetable_of_upcoming_exams.rb +498 -0
  602. data/lib/studium/toplevel_methods/return_ects_from_this_lecture_stored_in_the_file_lecture_information.rb +194 -0
  603. data/lib/studium/toplevel_methods/return_hash_of_already_solved_lectures.rb +46 -0
  604. data/lib/studium/toplevel_methods/return_last_exam_question.rb +34 -0
  605. data/lib/studium/toplevel_methods/return_local_path_of_this_pwdstud.rb +60 -0
  606. data/lib/studium/toplevel_methods/return_lva_number_of_this_lecture.rb +72 -0
  607. data/lib/studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb +90 -0
  608. data/lib/studium/toplevel_methods/return_n_questions_were_answered_for_this_topic.rb +60 -0
  609. data/lib/studium/toplevel_methods/return_proper_university_image.rb +86 -0
  610. data/lib/studium/toplevel_methods/return_question_answer_string_from_this_topic.rb +63 -0
  611. data/lib/studium/toplevel_methods/return_remote_homepage_of_this_lecture.rb +9400 -0
  612. data/lib/studium/toplevel_methods/return_remote_moodle_link_of_this_lecture.rb +1661 -0
  613. data/lib/studium/toplevel_methods/return_sanitized_dataset_from_the_file_lecture_information.rb +110 -0
  614. data/lib/studium/toplevel_methods/return_theme_of_the_next_upcoming_exam.rb +38 -0
  615. data/lib/studium/toplevel_methods/rinstall2.rb +34 -0
  616. data/lib/studium/toplevel_methods/rti_conflict.rb +35 -0
  617. data/lib/studium/toplevel_methods/runmode.rb +87 -0
  618. data/lib/studium/toplevel_methods/sanitized_dataset_from_file_passed_exams_per_month.rb +52 -0
  619. data/lib/studium/toplevel_methods/set_last_file_for_exam_questions.rb +64 -0
  620. data/lib/studium/toplevel_methods/set_this_cd_alias_to.rb +86 -0
  621. data/lib/studium/toplevel_methods/show_passed_exams_having_this_grade.rb +34 -0
  622. data/lib/studium/toplevel_methods/spacer.rb +18 -0
  623. data/lib/studium/toplevel_methods/time.rb +239 -0
  624. data/lib/studium/toplevel_methods/total_ects_points_passed.rb +72 -0
  625. data/lib/studium/toplevel_methods/try_to_guess_the_most_likely_lva_id.rb +57 -0
  626. data/lib/studium/toplevel_methods/try_to_return_the_expanded_name_of_this_lecture.rb +63 -0
  627. data/lib/studium/toplevel_methods/unfinished.rb +51 -0
  628. data/lib/studium/toplevel_methods/url.rb +100 -0
  629. data/lib/studium/toplevel_methods/verbose_truth.rb +36 -0
  630. data/lib/studium/toplevel_methods/when_was_this_lecture_passed.rb +54 -0
  631. data/lib/studium/toplevel_methods/word_wrap.rb +56 -0
  632. data/lib/studium/toplevel_methods/write_into_file_related_functionality.rb +189 -0
  633. data/lib/studium/toplevel_methods/yes_or_no_ja_oder_nein.rb +33 -0
  634. data/lib/studium/universities_in_austria/README.md +2 -0
  635. data/lib/studium/universities_in_austria/boku/README.md +4 -0
  636. data/lib/studium/universities_in_austria/boku/boku_/303/266ffnungszeiten.rb +28 -0
  637. data/lib/studium/universities_in_austria/boku/show_three_pillars_of_these_lectures.rb +110 -0
  638. data/lib/studium/universities_in_austria/boku/three_pillars.rb +237 -0
  639. data/lib/studium/universities_in_austria/tu_vienna/README.md +6 -0
  640. data/lib/studium/universities_in_austria/tu_vienna/tu_ferien.rb +42 -0
  641. data/lib/studium/universities_in_austria/tu_vienna/tu_/303/266ffnungszeiten.rb +34 -0
  642. data/lib/studium/utility_scripts/attribute_lecture_to_curriculum/attribute_boku_lecture_to_curriculum.rb +384 -0
  643. data/lib/studium/utility_scripts/attribute_lecture_to_curriculum/attribute_lecture_to_curriculum.rb +238 -0
  644. data/lib/studium/utility_scripts/attribute_lectures_to_university/attribute_lectures_to_university.rb +375 -0
  645. data/lib/studium/utility_scripts/audio_stats.rb +171 -0
  646. data/lib/studium/utility_scripts/auto_stud/auto_stud.rb +252 -0
  647. data/lib/studium/utility_scripts/auto_stud/constants.rb +18 -0
  648. data/lib/studium/utility_scripts/auto_stud/initialize.rb +23 -0
  649. data/lib/studium/utility_scripts/auto_stud/misc.rb +18 -0
  650. data/lib/studium/utility_scripts/autopurge_this_lecture_date.rb +93 -0
  651. data/lib/studium/utility_scripts/average_grade_of_this_curriculum.rb +101 -0
  652. data/lib/studium/utility_scripts/calendar/README.md +2 -0
  653. data/lib/studium/utility_scripts/calendar/calendar.rb +251 -0
  654. data/lib/studium/utility_scripts/calendar/misc.rb +35 -0
  655. data/lib/studium/utility_scripts/check_description_of_these_lectures.rb +221 -0
  656. data/lib/studium/utility_scripts/create_database/create_database.rb +106 -0
  657. data/lib/studium/utility_scripts/current_lectures_belonging_to_both_bachelor_and_master_curriculum.rb +113 -0
  658. data/lib/studium/utility_scripts/currently_participating_in_these_lectures/currently_participating_in_these_lectures.rb +104 -0
  659. data/lib/studium/utility_scripts/display_lecture_url.rb +160 -0
  660. data/lib/studium/utility_scripts/expand_time_range/expand_time_range.rb +414 -0
  661. data/lib/studium/utility_scripts/finished_exams_at_this_university.rb +94 -0
  662. data/lib/studium/utility_scripts/foreign_language_percentage/constants.rb +23 -0
  663. data/lib/studium/utility_scripts/foreign_language_percentage/foreign_language_percentage.rb +149 -0
  664. data/lib/studium/utility_scripts/foreign_language_percentage/help.rb +31 -0
  665. data/lib/studium/utility_scripts/foreign_language_percentage/initialize.rb +25 -0
  666. data/lib/studium/utility_scripts/foreign_language_percentage/menu.rb +158 -0
  667. data/lib/studium/utility_scripts/foreign_language_percentage/report.rb +62 -0
  668. data/lib/studium/utility_scripts/foreign_language_percentage/reset.rb +50 -0
  669. data/lib/studium/utility_scripts/foreign_language_percentage/run.rb +19 -0
  670. data/lib/studium/utility_scripts/generate_spreadsheet/generate_spreadsheet.rb +354 -0
  671. data/lib/studium/utility_scripts/generate_spreadsheet/misc.rb +144 -0
  672. data/lib/studium/utility_scripts/holidays/holidays.rb +150 -0
  673. data/lib/studium/utility_scripts/homepage_of_these_courses.rb +118 -0
  674. data/lib/studium/utility_scripts/lecture_downloader.rb +107 -0
  675. data/lib/studium/utility_scripts/lectures_attributed_to_universities.rb +336 -0
  676. data/lib/studium/utility_scripts/lva_dates_of_the_important_courses.rb +111 -0
  677. data/lib/studium/utility_scripts/lva_nummer.rb +431 -0
  678. data/lib/studium/utility_scripts/mandatory_lectures_in_this_month/mandatory_lectures_in_this_month.rb +316 -0
  679. data/lib/studium/utility_scripts/name_of_this_lva_id.rb +110 -0
  680. data/lib/studium/utility_scripts/new_stud.rb +324 -0
  681. data/lib/studium/utility_scripts/next_week.rb +103 -0
  682. data/lib/studium/utility_scripts/open_last_exam_question_url_link_via_the_browser.rb +76 -0
  683. data/lib/studium/utility_scripts/passed_ects_per_year/passed_ects_per_year.rb +177 -0
  684. data/lib/studium/utility_scripts/passed_pr/303/274fungsimmanente_courses/passed_pr/303/274fungsimmanente_courses.rb +181 -0
  685. data/lib/studium/utility_scripts/pdf/README.md +2 -0
  686. data/lib/studium/utility_scripts/pdf/create_pdf_file_for_this_exam_topic.rb +355 -0
  687. data/lib/studium/utility_scripts/pdf/hexapdf_support.rb +50 -0
  688. data/lib/studium/utility_scripts/preparatory_meetings/preparatory_meetings.rb +312 -0
  689. data/lib/studium/utility_scripts/priority.rb +164 -0
  690. data/lib/studium/utility_scripts/priority_points/priority_points.rb +263 -0
  691. data/lib/studium/utility_scripts/publish_my_exams.rb +174 -0
  692. data/lib/studium/utility_scripts/regexes/README.md +1 -0
  693. data/lib/studium/utility_scripts/regexes/generate_regex.rb +300 -0
  694. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_available_moodle_links.rb +55 -0
  695. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_registered_lectures.rb +48 -0
  696. data/lib/studium/utility_scripts/report_outdated_timetable_entries/report_outdated_timetable_entries.rb +142 -0
  697. data/lib/studium/utility_scripts/report_total_amount_of_questions_and_answers_for.rb +116 -0
  698. data/lib/studium/utility_scripts/report_whether_this_lecture_is_registered_in_the_file_lecture_information.rb +128 -0
  699. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/individual_resolve_practical_courses_date_conflicts.rb +254 -0
  700. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/resolve_practical_courses_date_conflicts.rb +265 -0
  701. data/lib/studium/utility_scripts/scrape_remote_university_url.rb +138 -0
  702. data/lib/studium/utility_scripts/semester_schedule_creator/semester_container.rb +144 -0
  703. data/lib/studium/utility_scripts/semester_schedule_creator/semester_schedule_creator.rb +374 -0
  704. data/lib/studium/utility_scripts/semesterplaner.rb +289 -0
  705. data/lib/studium/utility_scripts/set_aliases_based_on_this_file.rb +95 -0
  706. data/lib/studium/utility_scripts/show_all_passed_master_lectures.rb +119 -0
  707. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/show_conflicting_lva_lectures.rb +1238 -0
  708. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/constants.rb +23 -0
  709. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/menu.rb +63 -0
  710. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/reset.rb +33 -0
  711. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/run.rb +50 -0
  712. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/show_descriptions_of_lectures_belonging_to_this_module.rb +145 -0
  713. data/lib/studium/utility_scripts/show_lecturers/show_lecturers.rb +147 -0
  714. data/lib/studium/utility_scripts/show_lectures/constants.rb +11 -0
  715. data/lib/studium/utility_scripts/show_lectures/help.rb +34 -0
  716. data/lib/studium/utility_scripts/show_lectures/initialize.rb +23 -0
  717. data/lib/studium/utility_scripts/show_lectures/menu.rb +127 -0
  718. data/lib/studium/utility_scripts/show_lectures/misc.rb +584 -0
  719. data/lib/studium/utility_scripts/show_lectures/reset.rb +89 -0
  720. data/lib/studium/utility_scripts/show_lectures/run.rb +27 -0
  721. data/lib/studium/utility_scripts/show_lectures/show_lectures.rb +48 -0
  722. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_language/show_lectures_fitting_to_this_language.rb +121 -0
  723. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_theme/show_lectures_fitting_to_this_theme.rb +105 -0
  724. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/constants.rb +17 -0
  725. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/determine.rb +673 -0
  726. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/help.rb +44 -0
  727. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/html.rb +605 -0
  728. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/initialize.rb +56 -0
  729. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/konsole.rb +32 -0
  730. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/menu.rb +472 -0
  731. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/misc.rb +837 -0
  732. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/reset.rb +121 -0
  733. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/run.rb +44 -0
  734. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/show.rb +106 -0
  735. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/show_lectures_on_the_commandline.rb +261 -0
  736. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/sorted_individual_curricula.rb +121 -0
  737. data/lib/studium/utility_scripts/show_lectures_on_this_day.rb +149 -0
  738. data/lib/studium/utility_scripts/show_lva_dates_of_this_lecture.rb +169 -0
  739. data/lib/studium/utility_scripts/show_mixed_bachelor_master_courses/show_mixed_bachelor_master_courses.rb +91 -0
  740. data/lib/studium/utility_scripts/show_outdated_lva_dates/show_outdated_lva_dates.rb +210 -0
  741. data/lib/studium/utility_scripts/show_solved_english_lectures/show_solved_english_lectures.rb +139 -0
  742. data/lib/studium/utility_scripts/steop/README.md +4 -0
  743. data/lib/studium/utility_scripts/steop/show_all_steop_lectures.rb +93 -0
  744. data/lib/studium/utility_scripts/steop/steop_lectures_in_this_curriculum.rb +284 -0
  745. data/lib/studium/utility_scripts/steop/steop_lva_dates.rb +119 -0
  746. data/lib/studium/utility_scripts/studienkennzahl.rb +116 -0
  747. data/lib/studium/utility_scripts/studium_skeleton/studium_skeleton.rb +227 -0
  748. data/lib/studium/utility_scripts/stundenplan.rb +595 -0
  749. data/lib/studium/utility_scripts/sync_studium_relevant_entries_one_level_downwards.rb +217 -0
  750. data/lib/studium/utility_scripts/ufind/ufind.rb +98 -0
  751. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/constants.rb +26 -0
  752. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/run.rb +20 -0
  753. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/upcoming_mandatory_presence_courses.rb +181 -0
  754. data/lib/studium/utility_scripts/week_parser/constants.rb +23 -0
  755. data/lib/studium/utility_scripts/week_parser/help.rb +32 -0
  756. data/lib/studium/utility_scripts/week_parser/menu.rb +59 -0
  757. data/lib/studium/utility_scripts/week_parser/misc.rb +373 -0
  758. data/lib/studium/utility_scripts/week_parser/reset.rb +65 -0
  759. data/lib/studium/utility_scripts/week_parser/run.rb +18 -0
  760. data/lib/studium/utility_scripts/week_parser/show.rb +236 -0
  761. data/lib/studium/utility_scripts/week_parser/week_parser.rb +49 -0
  762. data/lib/studium/utility_scripts/weekday_parser.rb +155 -0
  763. data/lib/studium/utility_scripts/weekly_schedule.rb +198 -0
  764. data/lib/studium/utility_scripts/wochenplanung.rb +261 -0
  765. data/lib/studium/version/version.rb +46 -0
  766. data/lib/studium/www/curricula_displayer.cgi +197 -0
  767. data/lib/studium/www/curriculum_displayer.rb +162 -0
  768. data/lib/studium/www/exams.cgi +53 -0
  769. data/lib/studium/www/fast_ask_exam_question.cgi +155 -0
  770. data/lib/studium/www/sinatra/app.rb +231 -0
  771. data/lib/studium/www/sinatra/misc.rb +115 -0
  772. data/lib/studium/www/statistics/statistics.cgi +59 -0
  773. data/lib/studium/yaml/ad_hoc_trainer/README.md +2 -0
  774. data/lib/studium/yaml/ad_hoc_trainer/exam_topics.md +15 -0
  775. data/lib/studium/yaml/allowed_themes_for_exams.yml +344 -0
  776. data/lib/studium/yaml/array_allowed_entries_for_the_file_lecture_information.yml +70 -0
  777. data/lib/studium/yaml/available_exam_topics/available_exam_topics.yml +234 -0
  778. data/lib/studium/yaml/backlog_of_exams.yml +37 -0
  779. data/lib/studium/yaml/colours/custom_colours.yml +28 -0
  780. data/lib/studium/yaml/colours/use_colours.yml +1 -0
  781. data/lib/studium/yaml/current_exams.yml +19 -0
  782. data/lib/studium/yaml/curricula/README.md +9 -0
  783. data/lib/studium/yaml/curricula/bachelor/bachelor_agrarwissenschaften_033255.yml +142 -0
  784. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_basisblock_033630.yml +65 -0
  785. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_botanik_033630.yml +84 -0
  786. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_ecology_033630.yml +74 -0
  787. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_mikrobiologie_und_genetik_033630.yml +120 -0
  788. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_molekulare_biologie_033630.yml +104 -0
  789. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_zoologie_033630.yml +87 -0
  790. data/lib/studium/yaml/curricula/bachelor/bachelor_chemie_033662.yml +165 -0
  791. data/lib/studium/yaml/curricula/bachelor/bachelor_dummy_curriculum.yml +183 -0
  792. data/lib/studium/yaml/curricula/bachelor/bachelor_elektrotechnik_und_informationstechnik_033235.yml +13 -0
  793. data/lib/studium/yaml/curricula/bachelor/bachelor_forstwirtschaft_033225.yml +115 -0
  794. data/lib/studium/yaml/curricula/bachelor/bachelor_informatik_033521.yml +130 -0
  795. data/lib/studium/yaml/curricula/bachelor/bachelor_ktww_033231.yml +84 -0
  796. data/lib/studium/yaml/curricula/bachelor/bachelor_lmbt_033217.yml +118 -0
  797. data/lib/studium/yaml/curricula/bachelor/bachelor_medizinische_informatik_033533.yml +203 -0
  798. data/lib/studium/yaml/curricula/bachelor/bachelor_molekularbiologie_033665.yml +95 -0
  799. data/lib/studium/yaml/curricula/bachelor/bachelor_nutrition_science_033638.yml +119 -0
  800. data/lib/studium/yaml/curricula/bachelor/bachelor_pharmazie_033305.yml +170 -0
  801. data/lib/studium/yaml/curricula/bachelor/bachelor_technische_chemie_033290.yml +129 -0
  802. data/lib/studium/yaml/curricula/bachelor/bachelor_technische_informatik_033535.yml +23 -0
  803. data/lib/studium/yaml/curricula/bachelor/bachelor_ubrm_033227.yml +136 -0
  804. data/lib/studium/yaml/curricula/bachelor/bachelor_verfahrenstechnik_033273.yml +167 -0
  805. data/lib/studium/yaml/curricula/bachelor/bachelor_wirtschaftsinformatik_033526.yml +29 -0
  806. data/lib/studium/yaml/curricula/individual/bachelor_informatik_und_molekulare_biologie.yml +1161 -0
  807. data/lib/studium/yaml/curricula/individual/bachelor_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +1157 -0
  808. data/lib/studium/yaml/curricula/individual/master_bioinformatics_and_nanobiotechnology_in_molecular_medicine.yml +306 -0
  809. data/lib/studium/yaml/curricula/individual/master_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +741 -0
  810. data/lib/studium/yaml/curricula/master/master_bioinformatik_066875.yml +76 -0
  811. data/lib/studium/yaml/curricula/master/master_biologie_molekulare_mikrobiologie_mikrobielle_oekologie_und_immunbiologie_066830.yml +78 -0
  812. data/lib/studium/yaml/curricula/master/master_biologische_chemie_066863.yml +61 -0
  813. data/lib/studium/yaml/curricula/master/master_dummy_curriculum.yml +197 -0
  814. data/lib/studium/yaml/curricula/master/master_genetik_und_entwicklungsbiologie_066877.yml +89 -0
  815. data/lib/studium/yaml/curricula/master/master_lmbt_066418.yml +111 -0
  816. data/lib/studium/yaml/curricula/master/master_molekulare_biologie_066834.yml +142 -0
  817. data/lib/studium/yaml/curricula/master/master_pharmazie_066605.yml +170 -0
  818. data/lib/studium/yaml/curricula/master/master_technische_chemie_066490.yml +123 -0
  819. data/lib/studium/yaml/curricula/outdated/master_bioinformatics_and_molecular_biotechnology_including_aspects_from_molecular_medicine.yml +438 -0
  820. data/lib/studium/yaml/curricula/outdated/master_food_science_and_plant_biotechnology.yml +31 -0
  821. data/lib/studium/yaml/curricula.yml +538 -0
  822. data/lib/studium/yaml/daily_questions_solved.yml +1468 -0
  823. data/lib/studium/yaml/default_delay.yml +4 -0
  824. data/lib/studium/yaml/default_encoding.yml +1 -0
  825. data/lib/studium/yaml/directory_to_the_exam_topics.yml +0 -0
  826. data/lib/studium/yaml/editor.yml +1 -0
  827. data/lib/studium/yaml/file_for_exam_questions.yml +1 -0
  828. data/lib/studium/yaml/german/README.md +2 -0
  829. data/lib/studium/yaml/german/german_to_english_month_names.yml +16 -0
  830. data/lib/studium/yaml/grouped_themes.yml +192 -0
  831. data/lib/studium/yaml/holidays.yml +194 -0
  832. data/lib/studium/yaml/important_exams.yml +226 -0
  833. data/lib/studium/yaml/inscription_dates_of_universities.yml +60 -0
  834. data/lib/studium/yaml/lecture_aliases.yml +138 -0
  835. data/lib/studium/yaml/lecture_information/lecture_information.yml +55870 -0
  836. data/lib/studium/yaml/log_dir.yml +1 -0
  837. data/lib/studium/yaml/main_topic.yml +11 -0
  838. data/lib/studium/yaml/max_stats.yml +241 -0
  839. data/lib/studium/yaml/meta_themes/README.md +13 -0
  840. data/lib/studium/yaml/meta_themes/biochemistry.md +6 -0
  841. data/lib/studium/yaml/meta_themes/bioinformatics.md +6 -0
  842. data/lib/studium/yaml/meta_themes/biotechnology.md +9 -0
  843. data/lib/studium/yaml/meta_themes/chemistry.md +9 -0
  844. data/lib/studium/yaml/meta_themes/genetics.md +10 -0
  845. data/lib/studium/yaml/meta_themes/immunology.md +5 -0
  846. data/lib/studium/yaml/meta_themes/metabolic_pathways.md +12 -0
  847. data/lib/studium/yaml/meta_themes/molecular_biology.md +9 -0
  848. data/lib/studium/yaml/meta_themes/protein_engineering.md +10 -0
  849. data/lib/studium/yaml/meta_themes/statistics.md +2 -0
  850. data/lib/studium/yaml/mitbelegung/README.md +4 -0
  851. data/lib/studium/yaml/mitbelegung/mitbelegung.yml +23 -0
  852. data/lib/studium/yaml/mitteilungsbl/303/244tter/mitteilungsbl/303/244tter.yml +363 -0
  853. data/lib/studium/yaml/n_total_questions.yml +1 -0
  854. data/lib/studium/yaml/rename_konsole_tab.yml +1 -0
  855. data/lib/studium/yaml/show_topic.yml +1 -0
  856. data/lib/studium/yaml/statistics/max_stats.yml +239 -0
  857. data/lib/studium/yaml/statistics/statistics.yml +69 -0
  858. data/lib/studium/yaml/week/01_monday.yml +5 -0
  859. data/lib/studium/yaml/week/02_tuesday.yml +75 -0
  860. data/lib/studium/yaml/week/03_wednesday.yml +62 -0
  861. data/lib/studium/yaml/week/04_thursday.yml +14 -0
  862. data/lib/studium/yaml/week/05_friday.yml +31 -0
  863. data/lib/studium/yaml/week/06_saturday.yml +16 -0
  864. data/lib/studium/yaml/week/07_sunday.yml +0 -0
  865. data/lib/studium/yaml/week/README.md +13 -0
  866. data/lib/studium.rb +5 -0
  867. data/studium.gemspec +80 -0
  868. data/test/testing_studium.rb +244 -0
  869. data/test/testing_studium_base_class.rb +17 -0
  870. data/test/testing_time_component.rb +29 -0
  871. metadata +1078 -0
@@ -0,0 +1,3442 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'studium/toplevel_methods/find_exam_topic_and_exam_title.rb'
6
+ # Studium.find_corresponding_exam_topic()
7
+ # =========================================================================== #
8
+ module Studium
9
+
10
+ require 'studium/constants/constants.rb'
11
+ require 'studium/toplevel_methods/n_topics_available.rb'
12
+
13
+ # ========================================================================= #
14
+ # === Studium.find_corresponding_exam_topic
15
+ #
16
+ # This method will expand from any input towards a (hopefully) locally
17
+ # existing file under the exam_topics/ directory.
18
+ #
19
+ # The match that will be returned, must be downcased, because all the
20
+ # files in the exam_topics/ directory are also downcased.
21
+ #
22
+ # Do not forget that when you add an entry here, to also add the
23
+ # title in the file find_corresponding_exam_title.rb
24
+ #
25
+ # Usage examples:
26
+ #
27
+ # x = Studium.find_corresponding_exam_topic('imm') # => "immunologie"
28
+ # x = Studium.find_corresponding_exam_topic('mphysio') # => "mikrobielle_physiologie"
29
+ #
30
+ # ========================================================================= #
31
+ def self.find_corresponding_exam_topic(
32
+ i, be_verbose = true
33
+ )
34
+ case be_verbose
35
+ # ======================================================================= #
36
+ # === :be_verbose
37
+ # ======================================================================= #
38
+ when :be_verbose
39
+ be_verbose = true
40
+ # ======================================================================= #
41
+ # === :be_quiet
42
+ # ======================================================================= #
43
+ when :be_quiet
44
+ be_verbose = false
45
+ end
46
+ if i.is_a?(Array) and i.empty? # Assume ARGV Array given here.
47
+ i = :rand # Use a default assignment for random input in this case.
48
+ end
49
+ begin
50
+ i = i.first if i.is_a? Array
51
+ i = i.to_s.downcase # Always work with Strings past this point.
52
+ rescue ArgumentError => error
53
+ pp error
54
+ pp i
55
+ e i.encoding.to_s
56
+ exit # ← We exit here so that we can debug this situation.
57
+ end
58
+ # ======================================================================= #
59
+ # We chop away from input that contains ' ('.
60
+ # ======================================================================= #
61
+ if i.include? ' ('
62
+ i = i[0, i.index(' (')]
63
+ end
64
+ i = DEFAULT_TOPIC if i == 'def' # This constant is defined in the file constants.rb.
65
+ i = i.chomp.delete('?') # Make the input a bit prettier.
66
+ case i # (Case tag, case tag)
67
+ when 'rand',
68
+ 'random',
69
+ 'random_question',
70
+ 'random_topic' # Fetch a random question here.
71
+ # ===================================================================== #
72
+ # We semi-"cheat" here by simply reading in the available files.
73
+ # ===================================================================== #
74
+ i = File.basename(Dir[EXAM_TOPICS+'*'].sample) # We need the constant EXAM_TOPICS here.
75
+ end
76
+ i =
77
+ case i # case tag
78
+ # ======================================================================= #
79
+ # === allgemeine_genetik
80
+ # ======================================================================= #
81
+ when '1',
82
+ 'schweyen',
83
+ 'schw',
84
+ 's',
85
+ 'amg',
86
+ 'mg',
87
+ 'genetik',
88
+ 'gen',
89
+ 'fragen_amg',
90
+ 'allgemeine_genetik',
91
+ 'amg1',
92
+ 'am',
93
+ 'genetics',
94
+ /^allgemeine(-|_| |,)?genetik$/i,
95
+ 'agm'
96
+ 'allgemeine_genetik'
97
+ # ======================================================================= #
98
+ # === basic_chemistry
99
+ # ======================================================================= #
100
+ when '2','chem',
101
+ 'chemie',
102
+ 'chemi',
103
+ 'chem1',
104
+ 'chemie1',
105
+ /^-?-?basic(_|-| |,)?chemistry/,
106
+ 'basic chemistry',
107
+ /^chemistry\??$/i
108
+ 'basic_chemistry'
109
+ # ======================================================================= #
110
+ # === mixed
111
+ # ======================================================================= #
112
+ when '3',
113
+ 'misc',
114
+ 'mixed',
115
+ 'misc?',
116
+ /^-?-?qamisc(_|-| |,)?$/i
117
+ 'mixed'
118
+ # ======================================================================= #
119
+ # === mikrobiologie1
120
+ # ======================================================================= #
121
+ when '4','wagner','w','mikrobio?','mikrobio',
122
+ 'mikrobiologie',
123
+ 'mo','witte','allgemeine_mikrobiologie',
124
+ 'allgemeinemikrobiologie',
125
+ 'moll',
126
+ 'amm',
127
+ 'amm1',
128
+ 'allgemeine mikrobiologie',
129
+ 'microbiology1',
130
+ 'mikrobiologie1',
131
+ /^basic(_|-| |,)?microbiology$/i
132
+ 'allgemeine_mikrobiologie'
133
+ # ======================================================================= #
134
+ # === entwicklungsbiologie
135
+ # ======================================================================= #
136
+ when '5','entwicklungsbiologie','embryologie_und_entwicklung',
137
+ 'embryologie','emb','entwicklung','entw','devel','embroy',
138
+ /embryo?/,'devbio','entwicklungsgenetik','ebio','dev',
139
+ 'embryologieundentwicklung',
140
+ 'embryologie und entwicklung',
141
+ 'modellorganismen'
142
+ 'embryologie_und_entwicklung'
143
+ # ======================================================================= #
144
+ # === computer
145
+ # ======================================================================= #
146
+ when '6','computer','computer_fragen',
147
+ 'fragenübercomputer',
148
+ 'fragen über computer',
149
+ 'computerfragen',
150
+ 'computer fragen',
151
+ 'compu',
152
+ /^computer(_|-| |,)?science$/i
153
+ 'computer_science'
154
+ # ======================================================================= #
155
+ # === pflanzenwissenschaften
156
+ # ======================================================================= #
157
+ when '7','plant','ab2','pflanzen','fragen_ab2','plants',
158
+ 'pflanzenwissenschaft','pflanzenwissenschaften',
159
+ /^struktur(_|-| |,)?und(_|-| |,)funktion(_|-| |,)?der(_|-| |,)?pflanzen?$/i,
160
+ /^struktur(_|-| |,)?und(_|-| |,)funktion(_|-| |,)?der$/i,
161
+ 'ab',
162
+ 'strukturundfunktionderpflanzen',
163
+ /^botanik\??$/i
164
+ 'pflanzenwissenschaften'
165
+ # ======================================================================= #
166
+ # === immunologie
167
+ # ======================================================================= #
168
+ when '8','immuno','fragen_immunologie','immunologie',
169
+ 'imm',
170
+ 'immunology',
171
+ 'imuno',
172
+ 'immuno1',
173
+ 'imm1',
174
+ 'immun',
175
+ /^basic(_|-| |,)?immunology$/i
176
+ 'immunologie'
177
+ # ======================================================================= #
178
+ # === virologie
179
+ # ======================================================================= #
180
+ when '9','virologie','vir','virus',
181
+ 'viruses',
182
+ 'v',
183
+ 'vi',
184
+ 'viros',
185
+ 'virologieallgemein',
186
+ 'basic_virology',
187
+ 'basicvirology',
188
+ 'bvirus',
189
+ 'vir1',
190
+ 'basic virology',
191
+ 'virology1',
192
+ 'virus1',
193
+ /^Virologie(-|_| |,)?Allgemein$/i,
194
+ /^basic(-|_| |,)?virology$/i,
195
+ /^qavirus\??$/i
196
+ 'basic_virology'
197
+ # ======================================================================= #
198
+ # === genexpression
199
+ # ======================================================================= #
200
+ when '10',
201
+ 'genexpression',
202
+ 'genex',
203
+ 'genx',
204
+ 'fragen_genex',
205
+ 'def',
206
+ 'default',
207
+ 'genexpresse',
208
+ 'genex1',
209
+ 'enex',
210
+ 'gneex'
211
+ 'genexpression'
212
+ # ======================================================================= #
213
+ # === basic_biotechnology
214
+ # ======================================================================= #
215
+ when '11',
216
+ 'biotech',
217
+ 'bio',
218
+ 'btech',
219
+ 'biotechnologie_tu_wien',
220
+ 'biotechnologietuwien',
221
+ 'fragen_biotechnologie_tu_wien',
222
+ /^basic(_|-| |,)?biotech$/i,
223
+ /^basic(_|-| |,)?biotechnology$/i,
224
+ /^biotechnologie$/i,
225
+ 'biotech1',
226
+ 'biotehc',
227
+ 'bech1',
228
+ 'biotechnology1',
229
+ 'bach1'
230
+ 'basic_biotechnology'
231
+ # ======================================================================= #
232
+ # === bioinformatik
233
+ # ======================================================================= #
234
+ when '12',
235
+ 'bioinformatik',
236
+ 'bioinf',
237
+ 'bioinfo',
238
+ 'bioinformatics',
239
+ 'binf',
240
+ 'bioinfor',
241
+ 'bioinformatic'
242
+ 'bioinformatics'
243
+ # ======================================================================= #
244
+ # === verhalten
245
+ # ======================================================================= #
246
+ when '13',
247
+ 'verhalten',
248
+ 'verhaltensbiologie',
249
+ 'ethologie',
250
+ 'neuro',
251
+ 'neurobiologie',
252
+ 'neruo',
253
+ 'neurobiology'
254
+ 'neurobiology'
255
+ # ======================================================================= #
256
+ # === physics
257
+ # ======================================================================= #
258
+ when '14',
259
+ 'physik',
260
+ 'array_fragen_physik',
261
+ 'fragen_physik',
262
+ 'physics',
263
+ /^qaphysik\??$/i,
264
+ /^physik1$/i
265
+ 'physik'
266
+ # ======================================================================= #
267
+ # === mathematics
268
+ # ======================================================================= #
269
+ when '15','math',
270
+ 'mat',
271
+ 'mathematik',
272
+ 'mathematic',
273
+ 'array_math',
274
+ 'mathematics',
275
+ 'basic_math',
276
+ /^qa?math\??$/,
277
+ 'mathe'
278
+ 'mathematics'
279
+ # ======================================================================= #
280
+ # === zoology
281
+ # ======================================================================= #
282
+ when '16',
283
+ 'zoologie','ab4',
284
+ 'zoo',
285
+ 'tiere',
286
+ 'array_zoologie',
287
+ 'zoology',
288
+ /^allgemeine(_|-| |,)?zoologie$/i
289
+ 'zoologie'
290
+ # ======================================================================= #
291
+ # === nanotech
292
+ # ======================================================================= #
293
+ when '17',
294
+ 'nanotech',
295
+ 'nanotechnologie',
296
+ 'nanotechnology',
297
+ 'nanobiotechnologie',
298
+ 'array_fragen_nanotechnologie',
299
+ /^fragen_?nanotechnologie/,
300
+ 'nano',
301
+ 'anno',
302
+ 'nanobiotech',
303
+ 'nanomedicine',
304
+ /^qa?(_|-| |,)?nano\??$/i
305
+ 'nanotechnologie'
306
+ # ======================================================================= #
307
+ # === medizin
308
+ # ======================================================================= #
309
+ when '18',
310
+ 'medizin',
311
+ 'fragen_medizin',
312
+ 'medicine',
313
+ 'biomed',
314
+ 'biomedizin',
315
+ 'biomedicine',
316
+ /^medizin(_|-| |,)?und(_|-| |,)?biomedizinische(_|-| |,)?technik$/i,
317
+ /^medizin(_|-| |,)?und(_|-| |,)?biomedizinisc$/i
318
+ 'medizin_und_biomedizinische_technik'
319
+ # ======================================================================= #
320
+ # === organische_chemie
321
+ # ======================================================================= #
322
+ when '19','orgc',
323
+ 'organische_chemie',
324
+ 'org',
325
+ 'fragen_organische_chemie',
326
+ 'organische chemie',
327
+ 'orgc1',
328
+ 'org1',
329
+ 'organischechemie',
330
+ 'orgch',
331
+ 'organic_chemistry1',
332
+ 'ogc',
333
+ /^organic(_|-| |,)?chemistry$/i
334
+ 'organische_chemie'
335
+ # ======================================================================= #
336
+ # === analytische_chemie
337
+ # ======================================================================= #
338
+ when '20','ana','analytische_chemie',
339
+ 'analyt',
340
+ 'analytischechemie',
341
+ 'fragen_analytische_chemie',
342
+ 'analytik',
343
+ 'analytische_chemie_1',
344
+ 'analytische_chemie1',
345
+ 'analytische chemie',
346
+ 'analytischechemie1',
347
+ 'analytische chemie 1',
348
+ 'analytical_chemistry',
349
+ 'analyticchemistry',
350
+ 'analytical_chem',
351
+ 'anachem'
352
+ 'analytische_chemie_1'
353
+ # ======================================================================= #
354
+ # === ökologie
355
+ # ======================================================================= #
356
+ when '21','ecology','fragen_ecology','e',
357
+ 'ecology?',
358
+ 'öko',
359
+ 'ökologie',
360
+ 'ecol',
361
+ 'eco',
362
+ 'Ökologie'
363
+ 'ecology'
364
+ # ======================================================================= #
365
+ # === physiologie
366
+ # ======================================================================= #
367
+ when '22','ab3','physiologie','phys','fragen_physiologie',
368
+ 'physio','physiology',
369
+ 'histologie',
370
+ 'histology',
371
+ 'physi',
372
+ /^physiology(_|-| |,)?and(_|-| |,)?histology/i,
373
+ /^qapysio\??$/i,
374
+ /^qaphysio\??$/i
375
+ 'physiology_and_histology'
376
+ # ======================================================================= #
377
+ # === vektor
378
+ # ======================================================================= #
379
+ when '23',
380
+ 'vektor',
381
+ 'vector','vectors','vektoren',
382
+ 'fragen_vektoren',
383
+ 'genetherapy',
384
+ 'gentherapie',
385
+ 'vektorenindergentechnologie',
386
+ 'genthera',
387
+ 'vektoren in der gentechnologie',
388
+ 'vektors',
389
+ 'gene_therapy',
390
+ 'viral_vectors',
391
+ 'gentherapy',
392
+ 'viralvectors',
393
+ /^vektoren(_|-| |,)?in(_|-| |,)?der(_|-| |,)?gentechnologie$/i,
394
+ /^vektoren(_|-| |,)?in(_|-| |,)?der(_|-| |,)?gentechno$/i,
395
+ /^vectors(_|-| |,)?and(_|-| |,)?gene(_|-| |,)?therapy$/i
396
+ 'vectors_and_gene_therapy'
397
+ # ======================================================================= #
398
+ # === phytochemie
399
+ # ======================================================================= #
400
+ when '24','fragen_phytochemie','phytochem','phytochemie'
401
+ 'phytochemie'
402
+ # ======================================================================= #
403
+ # === aging
404
+ # ======================================================================= #
405
+ when '25',
406
+ 'aging',
407
+ 'age',
408
+ 'ageing'
409
+ 'ageing'
410
+ # ======================================================================= #
411
+ # === bioprozesstechnik
412
+ # ======================================================================= #
413
+ when '26','bioprozesstechnik',
414
+ 'technik',
415
+ 'bioprozess',
416
+ 'bioverfahren',
417
+ 'bioverfahrenstechnik',
418
+ 'bioprocess'
419
+ 'bioprozesstechnik'
420
+ # ======================================================================= #
421
+ # === mikrobio_tuwien
422
+ # ======================================================================= #
423
+ when '27','tuwien_microbiology','microbiology','tuwien',
424
+ 'mikrobio_tuwien',
425
+ 'micro',
426
+ 'tuwien_microbio',
427
+ 'tuwienmicrobiology',
428
+ 'tuwien_micro',
429
+ 'technische_mikrobiologie',
430
+ 'technischemikrobiologie',
431
+ 'tu wien microbiology',
432
+ 'technische mikrobiologie',
433
+ 'tumicrobiologie',
434
+ 'tumicro',
435
+ 'tuwienmikro',
436
+ 'tuwien_mikrobiologie',
437
+ 'tuwienmikrobiologie',
438
+ /^tu(_|-| |,)?microbiology$/,
439
+ /^tu(_|-| |,)?microbio$/,
440
+ /^tu(_|-| |,)?wien(_|-| |,)?microbiology$/
441
+ 'technische_mikrobiologie'
442
+ # ======================================================================= #
443
+ # === cellbiology
444
+ # ======================================================================= #
445
+ when '28','cellbiology','cell','cellbio','zell','clel',
446
+ 'zellbiologietierischersysteme',
447
+ 'methodeninderzellbiologie',
448
+ 'cel',
449
+ 'cell1',
450
+ 'cellbio1'
451
+ 'cellbiology'
452
+ # ======================================================================= #
453
+ # === physikalische_chemie
454
+ # ======================================================================= #
455
+ when '29','physikalische_chemie','physchemie','pchemie',
456
+ 'physikalischechemie','physikalische chemie',
457
+ /^physchem$/i
458
+ 'physikalische_chemie'
459
+ # ======================================================================= #
460
+ # === verfahrenstechnik
461
+ # ======================================================================= #
462
+ when '30',
463
+ 'verfahrenstechnik'
464
+ 'verfahrenstechnik'
465
+ # ======================================================================= #
466
+ # === analytische_chemie_2
467
+ # ======================================================================= #
468
+ when '31',
469
+ 'analytische_chemie_2',
470
+ 'ana2',
471
+ 'analytische_chemie2','analytischechemie2',
472
+ 'analytische chemie 2'
473
+ 'analytische_chemie_2'
474
+ # ======================================================================= #
475
+ # === gentechnik
476
+ # ======================================================================= #
477
+ when '32',
478
+ 'gentechnik',
479
+ 'gentechnik1',
480
+ /^gene?tech?$/,
481
+ /^gene?tech1?$/,
482
+ /^gene?tehc?$/,
483
+ /^praktische(_|-| |,)?biochemie$/,
484
+ /^gentechnik(_|-| |,)?und(_|-| |,)?praktische(_|-| |,)?biochemie$/,
485
+ /^gentechnik(_|-| |,)?und(_|-| |,)?praktische\??$/
486
+ 'gentechnik_und_praktische_biochemie'
487
+ # ======================================================================= #
488
+ # === economy
489
+ # ======================================================================= #
490
+ when '33',
491
+ 'economy',
492
+ 'ökonomie',
493
+ 'ökonom',
494
+ 'ökonomie?',
495
+ 'ecomoy',
496
+ /^qaeconomy\??$/i
497
+ 'economy'
498
+ # ======================================================================= #
499
+ # === geschichte
500
+ # ======================================================================= #
501
+ when '34','geschichte',
502
+ 'history',
503
+ /^qa(_|-| |,)?geschichte\??$/
504
+ 'geschichte'
505
+ # ======================================================================= #
506
+ # === festkörperchemie
507
+ # ======================================================================= #
508
+ when '35','festkoerper_chemie',
509
+ 'fest',
510
+ 'festkoerper',
511
+ 'festkörper_chemie',
512
+ 'festkörper chemie',
513
+ 'festkoerperchemie',
514
+ 'festkoerper chemie',
515
+ 'festkörperchemie',
516
+ 'festkÖrperchemie',
517
+ 'geochemistry',
518
+ 'geochem',
519
+ 'geochemist',
520
+ 'festkörper',
521
+ /^festkörperchemie(_|-| |,)?und(_|-| |,)?geochemie$/i,
522
+ /^festkörper(_|-| |,)?chemie(_|-| |,)?und(_|-| |,)?geochemie$/i,
523
+ /^festkörper(_|-| |,)?chemie(_|-| |,)?und(_|-| |,)?geo$/i
524
+ 'geochemistry'
525
+ # ======================================================================= #
526
+ # === geologie
527
+ # ======================================================================= #
528
+ when '36','geologie',
529
+ 'array_geologie',
530
+ 'array_fragen_geologie',
531
+ 'geo',
532
+ /^geologie(_|-| |,)?und(_|-| |,)?mineralogie$/i,
533
+ /^fragen_?geologie/,'mineralogie',
534
+ 'mineral',
535
+ 'ego',
536
+ /^qageo\??/
537
+ 'geologie_und_mineralogie'
538
+ # ======================================================================= #
539
+ # === anorganische_chemie
540
+ # ======================================================================= #
541
+ when '37','ano','anorganische_chemie','anorganischechemie',
542
+ 'anorganisch','achem','array_anorganische_chemie',
543
+ 'anon','anon1',
544
+ 'anorganische chemie',
545
+ 'anon_chem',
546
+ 'anorg',
547
+ /anon_?chemie$/,
548
+ /anonchem/
549
+ 'anorganische_chemie'
550
+ # ======================================================================= #
551
+ # === law
552
+ # ======================================================================= #
553
+ when '38','array_law','law','arraylaw','lawandorder',
554
+ 'law and order',
555
+ 'recht',
556
+ 'rechtsgrundlagen'
557
+ 'rechtsgrundlagen'
558
+ # ======================================================================= #
559
+ # === organische_chemie2
560
+ # ======================================================================= #
561
+ when '39','orgc2','organische_chemie2','org2',
562
+ 'fragen_organische_chemie2',
563
+ 'organischechemie2',
564
+ 'organische_chemie_2',
565
+ 'organische chemie 2',
566
+ 'organic_chemistry2'
567
+ 'organische_chemie_2'
568
+ # ======================================================================= #
569
+ # === wasserkunde
570
+ # ======================================================================= #
571
+ when '40','wasserkunde','biologie_des_wasser',
572
+ 'biologiedeswasser','water',
573
+ 'wasser',
574
+ 'watter',
575
+ 'biologiedeswassers',
576
+ 'biologie des wassers',
577
+ 'biologie des wasser'
578
+ 'wasserkunde'
579
+ # ======================================================================= #
580
+ # === technische_chemie
581
+ # ======================================================================= #
582
+ when '41',
583
+ /^-?-?technische(_|-| |,)?chemi?e?$/i,
584
+ 'tech',
585
+ 'technologie_chemie',
586
+ /tu_?chem/
587
+ 'technische_chemie'
588
+ # ======================================================================= #
589
+ # === biologie
590
+ # ======================================================================= #
591
+ when '42','biologie','biology'
592
+ 'biologie'
593
+ # ======================================================================= #
594
+ # === umwelt
595
+ # ======================================================================= #
596
+ when '43','umwelt','umweltchemie','uchem'
597
+ 'umweltchemie'
598
+ # ======================================================================= #
599
+ # === signal_transduction
600
+ # ======================================================================= #
601
+ when '44','signal','ldigc',
602
+ 'signaling',
603
+ 'laser',
604
+ /^signal(_|-| |,)?transduction$/i,
605
+ /^signal(_|-| |,)?transduction(_|-| |,)?and(_|-| |,)?laser(_|-| |,)?systems$/i,
606
+ /^signal(_|-| |,)?transduktion(_|-| |,)?und(_|-| |,)?lasersysteme$/i,
607
+ /^signal(_|-| |,)?transduktion(_|-| |,)?und(_|-| |,)?la$/i
608
+ 'signal_transduction_and_laser_systems'
609
+ # ======================================================================= #
610
+ # === paläobiologie
611
+ # ======================================================================= #
612
+ when '45','paleo','paläobiology','paleobiology',
613
+ 'paläo','paläobiologie'
614
+ 'paleobiology'
615
+ # ======================================================================= #
616
+ # === lebensmittel
617
+ # ======================================================================= #
618
+ when '46','lebensmittel',
619
+ 'food',
620
+ 'foodsies'
621
+ 'lebensmittel'
622
+ # ======================================================================= #
623
+ # === medchem
624
+ # ======================================================================= #
625
+ when '47',
626
+ 'medchem',
627
+ 'medchems',
628
+ 'main',
629
+ /^medizinische(_| )?chemie$/i,
630
+ /^medizinische(_| )?chemie(_| )?und(_| )?pharmazie$/i,
631
+ /^medizinische(_| )?chemie(_| )?und(_| )?p$/i
632
+ 'medizinische_chemie_und_pharmazie'
633
+ # ======================================================================= #
634
+ # === cancerbiology
635
+ # ======================================================================= #
636
+ when '48','cancer','krebs','cancerbiology',
637
+ 'tumor',
638
+ 'oncology',
639
+ 'onkologie',
640
+ 'onco',
641
+ 'cacner',
642
+ /^qacancer\??$/i
643
+ 'cancerbiology'
644
+ # ======================================================================= #
645
+ # === cytogenetik
646
+ # ======================================================================= #
647
+ when '49',
648
+ 'cytogenetik',
649
+ 'cyto',
650
+ 'cgen',
651
+ 'cytobio',
652
+ 'chromo',
653
+ 'chromosomenbiologie',
654
+ 'cytogen',
655
+ 'cytogenetics',
656
+ 'chromosomen',
657
+ 'cytologie',
658
+ 'cytology',
659
+ /^cytogenetics(_|-| |,)?and(_|-| |,)?chromosome(_|-| |,)?biology$/i,
660
+ /^cytogenetics(_|-| |,)?and(_|-| |,)?chromoso$/i
661
+ 'cytogenetics_and_chromosome_biology'
662
+ # ======================================================================= #
663
+ # === biostatistik
664
+ # ======================================================================= #
665
+ when '50','biostatistik','biostat',
666
+ 'stats',
667
+ 'stat',
668
+ 'statistik',
669
+ 'statistic',
670
+ 'statistics',
671
+ 'statistk?',
672
+ /^qastat\??$/i,
673
+ /^qastatistik\??$/i
674
+ 'statistik'
675
+ # ======================================================================= #
676
+ # === biochemie
677
+ # ======================================================================= #
678
+ when '51',
679
+ 'biochemie',
680
+ 'biochem',
681
+ 'bchem',
682
+ 'biochemistry',
683
+ 'einfuehrung_biochemie',
684
+ 'basic_biochemistry',
685
+ 'biochem1',
686
+ 'bem1',
687
+ 'basicbiochemistry',
688
+ 'basic biochemistry',
689
+ 'bem',
690
+ 'grundlagenderbiochemie',
691
+ 'ebm',
692
+ 'bme',
693
+ /^basic(_|-| |,)?biochemistry\??$/i
694
+ 'basic_biochemistry'
695
+ # ======================================================================= #
696
+ # === advanced_biochemistry
697
+ # ======================================================================= #
698
+ when '52','biochemie2',
699
+ /biochem2\??$/i,
700
+ 'bchem2',
701
+ 'biochemistry2',
702
+ 'biochemie_ii','biochemie_master','bem2',
703
+ /advanced(_|-| |,)?biochemistry\??$/i,
704
+ 'bemchem2',
705
+ 'biochemiefürbiologen'
706
+ 'advanced_biochemistry'
707
+ # ======================================================================= #
708
+ # === fortgeschrittene_physik
709
+ # ======================================================================= #
710
+ when '53',
711
+ 'physik2',
712
+ 'fortgeschrittene_physik',
713
+ 'fortgeschrittenephysik',
714
+ 'fortgeschrittene physik'
715
+ 'fortgeschrittene_physik'
716
+ # ======================================================================= #
717
+ # === bioelektrochemie
718
+ # ======================================================================= #
719
+ when '54',
720
+ 'bioelektrochemie',
721
+ 'bioele',
722
+ 'bioelek'
723
+ 'bioelektrochemie'
724
+ # ======================================================================= #
725
+ # === advanced_biotechnology
726
+ # ======================================================================= #
727
+ when '55',
728
+ /^biotech2$/,
729
+ /^advanced(_|-| |,)?biotechnology$/,
730
+ /^advanced(_|-| |,)?biotechn$/,
731
+ 'bech2',
732
+ 'biotechnology2'
733
+ 'advanced_biotechnology'
734
+ # ======================================================================= #
735
+ # === epigenetik
736
+ # ======================================================================= #
737
+ when '56','epigenetik','epi','epigenetics',
738
+ /epigen/ # <-- This should suffice for now.
739
+ 'epigenetik'
740
+ # ======================================================================= #
741
+ # === bioanalytik
742
+ # ======================================================================= #
743
+ when '57',
744
+ 'bioanalytik',
745
+ 'bioana',
746
+ 'bioanalytics',
747
+ 'bioanalytic',
748
+ /^bioanalytik(_|-| |,)?und(_|-| |,)?biosensoren$/,
749
+ /^bioanalytik(_|-| |,)?und(_|-| |,)?biosensor$/
750
+ 'bioanalytik_und_biosensoren'
751
+ # ======================================================================= #
752
+ # === genomics
753
+ # ======================================================================= #
754
+ when '58','genomics','genomik','genome','genom',
755
+ 'genomes',
756
+ 'metagenomics',
757
+ /^genomics(_|-| |,)?and(_|-| |,)?metagenomics$/,
758
+ /^genomik(_|-| |,)?und(_|-| |,)?metagenomik$/,
759
+ /^genomies$/
760
+ 'genomics_and_metagenomics'
761
+ # ======================================================================= #
762
+ # === clinical_microbiology
763
+ # ======================================================================= #
764
+ when '59','clinical_microbiology','clinicalbac','clinical_micro',
765
+ 'clinicalmicrobiology','clinical',
766
+ 'clinic','clinical microbiology',
767
+ 'clini',
768
+ 'clinci',
769
+ 'clinical_microscopy',
770
+ /^clinical(_|-| |,)?microbiologie\??$/i
771
+ 'clinical_microbiology'
772
+ # ======================================================================= #
773
+ # === mikrobielle_physiologie
774
+ # ======================================================================= #
775
+ when '60',
776
+ /^mikrobielle_?physiologie/i,
777
+ 'mikphysio',
778
+ 'mikphysiologie',
779
+ 'mphysio',
780
+ 'molekulare_physiologie_industrieller_mikroorganismen',
781
+ 'molekulare_physiologie',
782
+ 'molphysio',
783
+ 'molekularephysiologieindustriellermikroorganismen',
784
+ 'molekulare physiologie industrieller mikroorganismen',
785
+ 'mikphys',
786
+ 'mpyhs',
787
+ 'mphys',
788
+ 'mphysiologie',
789
+ /^-?-?mikrobielle(_|-| |,)?physiologie\??$/i
790
+ 'mikrobielle_physiologie'
791
+ # ======================================================================= #
792
+ # === molekulare_medizin
793
+ # ======================================================================= #
794
+ when '61',
795
+ /^-?-?molekulare(_|-| |,)?medizin$/i,
796
+ 'molmed',
797
+ 'molmed1',
798
+ 'molekularemedizin',
799
+ 'molmed2'
800
+ 'molekulare_medizin'
801
+ # ======================================================================= #
802
+ # === evolution
803
+ # ======================================================================= #
804
+ when '62','evolution','evo',
805
+ 'eov',
806
+ 'ev',
807
+ /^evolution(_|-| |,)?and(_|-| |,)?evolutionary(_|-| |,)?genetics$/i,
808
+ /^evolution(_|-| |,)?and(_|-| |,)?evolutionar$/i,
809
+ /^qaevo\??$/i
810
+ 'evolution_and_evolutionary_genetics'
811
+ # ======================================================================= #
812
+ # === artificial_intelligence
813
+ # ======================================================================= #
814
+ when '63',
815
+ /^artificial$/i,
816
+ /^artificial(_|-| |,)?intelligence\??$/i,
817
+ /^AI$/i
818
+ 'artificial_intelligence'
819
+ # ======================================================================= #
820
+ # === ethik
821
+ # ======================================================================= #
822
+ when '64',
823
+ 'ethik',
824
+ 'ethics',
825
+ 'ethic',
826
+ 'umweltethik',
827
+ 'bioethik'
828
+ 'ethik'
829
+ # ======================================================================= #
830
+ # === hygiene
831
+ # ======================================================================= #
832
+ when '65',
833
+ 'hygiene',
834
+ 'hyg',
835
+ 'hyge',
836
+ 'hy'
837
+ 'hygiene'
838
+ # ======================================================================= #
839
+ # === rna
840
+ # ======================================================================= #
841
+ when '66','rna','dna','rna_and_dna','rna and dna',
842
+ 'rnaanddna',/^mRNA$/i,
843
+ /^qarna\??$/i,
844
+ /^dna(_|-| |,)?und(_|-| |,)?rna$/i
845
+ 'rna_and_dna'
846
+ # ======================================================================= #
847
+ # === research_topics_in_immunobiology
848
+ # ======================================================================= #
849
+ when '67','research_topics_in_immunobiology',
850
+ 'research_topics_in_immunbiology',
851
+ 'researchtopicsinimmunobiology',
852
+ 'research',
853
+ 'research topics in immunobiology',
854
+ /^research(_|-| |,)?topics$/i,
855
+ /^research(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?immuno$/i
856
+ 'research_topics_in_immunobiology'
857
+ # ======================================================================= #
858
+ # === fungi
859
+ # ======================================================================= #
860
+ when '68',
861
+ 'fungi',
862
+ 'pilz',
863
+ 'pilze',
864
+ 'fungus'
865
+ 'fungi'
866
+ # ======================================================================= #
867
+ # === prok
868
+ # ======================================================================= #
869
+ when '69',
870
+ 'prokaryotes',
871
+ 'prokarya',
872
+ 'prokaryote_genetics',
873
+ 'prokaryotegenetics',
874
+ 'bac',
875
+ 'prok',
876
+ 'prokaryote genetics',
877
+ 'ecoli',
878
+ 'pgenetics',
879
+ 'prokaroytic_genetics',
880
+ /^prokaryote(_|-| |,)?genetics$/i,
881
+ /^prok(_|-| |,)?genetics$/i,
882
+ /^prok(_|-| |,)?gen$/i,
883
+ /^prok1$/i,
884
+ /^qaprok\??$/i
885
+ 'prokaryote_genetics'
886
+ # ======================================================================= #
887
+ # === wissenschaft
888
+ # ======================================================================= #
889
+ when '70','wissenschaft','science','sci'
890
+ 'wissenschaft'
891
+ # ======================================================================= #
892
+ # === anthropologie
893
+ # ======================================================================= #
894
+ when '71','anthropologie','anthro','ant','an'
895
+ 'anthropologie'
896
+ # ======================================================================= #
897
+ # === fortgeschrittene_gentechnik
898
+ # ======================================================================= #
899
+ when '72',
900
+ 'gentech2',
901
+ 'gentechnik2',
902
+ 'fortgeschrittene_gentechnik',
903
+ 'fortgeschrittenegentechnik',
904
+ 'fortgeschrittene gentechnik',
905
+ 'methoden',
906
+ /^fortgeschrittene(_|-| |,)?gentechn$/i
907
+ 'fortgeschrittene_gentechnik'
908
+ # ======================================================================= #
909
+ # === fortgeschrittene_genetik
910
+ # ======================================================================= #
911
+ when '73',
912
+ 'amg2',
913
+ 'fortgeschrittene_genetik',
914
+ 'mg2',
915
+ 'fortgeschrittenegenetik',
916
+ 'fortgeschrittene genetik',
917
+ 'genetics2',
918
+ 'dna2',
919
+ 'am2',
920
+ 'agm2'
921
+ 'fortgeschrittene_genetik'
922
+ # ======================================================================= #
923
+ # === pcr
924
+ # ======================================================================= #
925
+ when '74','pcr'
926
+ 'pcr'
927
+ # ======================================================================= #
928
+ # === sex
929
+ # ======================================================================= #
930
+ when '75',
931
+ 'sex',
932
+ 'fortpflanzung',
933
+ 'sexualbiologie'
934
+ 'sexualbiologie'
935
+ # ======================================================================= #
936
+ # === populationsgenetik
937
+ # ======================================================================= #
938
+ when '76','populationsgenetik','popgen','evolutionsgenetik',
939
+ 'population',
940
+ 'population_genetics'
941
+ 'populationsgenetik'
942
+ # ======================================================================= #
943
+ # === ökogenetik
944
+ # ======================================================================= #
945
+ when '77','ökogenetik','ökogen','ecogen','ecogenetics',
946
+ 'ECOGENETICS','Ökogenetik'
947
+ 'ecogenetics'
948
+ # ======================================================================= #
949
+ # === pathologie
950
+ # ======================================================================= #
951
+ when '78','pathologie','patho','pathos','PATHOLOGIE',
952
+ 'pathology','pathophysio','pathophysiologie',
953
+ /^qapatho\??$/i
954
+ 'pathologie'
955
+ # ======================================================================= #
956
+ # === allergie
957
+ # ======================================================================= #
958
+ when '79',
959
+ 'allergie',
960
+ 'allergy',
961
+ 'allergien',
962
+ 'allergen',
963
+ 'allergies'
964
+ 'allergie'
965
+ # ======================================================================= #
966
+ # === structural_biology
967
+ # ======================================================================= #
968
+ when '80','proteinstruktur',
969
+ 'struktur',
970
+ 'strukturbiologie',
971
+ 'strukturbio',
972
+ 'strukt',
973
+ 'struct',
974
+ 'struk',
975
+ 'strubi',
976
+ 'struktbio',
977
+ 'strubio',
978
+ 'strub',
979
+ /^structure\??$/i,
980
+ /^structural(_|-| |,)?biology/,
981
+ /^struktur(_|-| |,)?biologie\??$/i
982
+ 'strukturbiologie'
983
+ # ======================================================================= #
984
+ # === chemisches_labor
985
+ # ======================================================================= #
986
+ when '81',
987
+ /^chemisches(_|-| |,)?labor$/i,
988
+ 'labor',
989
+ 'chemisches labor',
990
+ 'chemlabor',
991
+ 'chemlabor?',
992
+ 'safety'
993
+ 'chemisches_labor'
994
+ # ======================================================================= #
995
+ # === theoretische_chemie
996
+ # ======================================================================= #
997
+ when '82','theoretische_chemie','theoretische chemie labor',
998
+ 'theoretischechemie','theoretische chemie',
999
+ 'theochem'
1000
+ 'theoretische_chemie'
1001
+ # ======================================================================= #
1002
+ # === plant_biotechnology
1003
+ # ======================================================================= #
1004
+ when '83',
1005
+ 'plant_biotech',
1006
+ 'plant_biotechnology',
1007
+ 'plant biotechnology',
1008
+ 'plantbiotechnology',
1009
+ 'pbtech',
1010
+ 'pbio',
1011
+ 'plantbiotech',
1012
+ /^pflanzen(_|-| |,)?biotech$/i
1013
+ 'plant_biotechnology'
1014
+ # ======================================================================= #
1015
+ # === bodenkunde
1016
+ # ======================================================================= #
1017
+ when '84',
1018
+ 'boden',
1019
+ 'bodne',
1020
+ /^bodenkunden?$/i
1021
+ 'bodenkunde'
1022
+ # ======================================================================= #
1023
+ # === advanced_virology
1024
+ # ======================================================================= #
1025
+ when '85',/advanced_?virology/,
1026
+ 'vir2',
1027
+ 'virology2',
1028
+ 'large_viruses',
1029
+ 'largeviruses',
1030
+ 'large viruses',
1031
+ 'virus2',
1032
+ /^advanced(_|-| |,)?virology$/i
1033
+ 'advanced_virology'
1034
+ # ======================================================================= #
1035
+ # === microbial_ecology
1036
+ # ======================================================================= #
1037
+ when '86',
1038
+ 'microbial_ecology','miceco',
1039
+ 'mikrobielleökologie',
1040
+ 'mikrobielle ökologie',
1041
+ 'mikrobielle Ökologie',
1042
+ 'microbialecology',
1043
+ 'mikrobielleÖkologie',
1044
+ 'microbial ecology',
1045
+ 'meco',
1046
+ /^mikrobielle(_|-| |,)?ökologie$/i
1047
+ 'microbial_ecology'
1048
+ # ======================================================================= #
1049
+ # === metabolismus
1050
+ # ======================================================================= #
1051
+ when '87','metabolismus','met','meta','metabolism',
1052
+ /^metabolismus\??$/i
1053
+ 'metabolismus'
1054
+ # ======================================================================= #
1055
+ # === the_cellcycle
1056
+ # ======================================================================= #
1057
+ when '88','cellcycle','cellcyc','cycle?','the_cellcycle',
1058
+ 'the cellcyle',
1059
+ 'thecellcyle',
1060
+ /^cycle$/i,
1061
+ /^the(_|-| |,)?cell(_|-| |,)?cycle$/i,
1062
+ /^the(_|-| |,)?cellcycle$/i,
1063
+ /^the(_|-| |,)?cellcyle$/i
1064
+ 'the_cellcycle'
1065
+ # ======================================================================= #
1066
+ # === bioressourcenmanagement
1067
+ # ======================================================================= #
1068
+ when '89',
1069
+ 'bioressourcenmanagement',
1070
+ 'ubrm',
1071
+ 'UBRM',
1072
+ 'ubr',
1073
+ 'ubm',
1074
+ 'bioress',
1075
+ 'bioressourcen'
1076
+ 'bioressourcenmanagement'
1077
+ # ======================================================================= #
1078
+ # === technische_ökologie
1079
+ # ======================================================================= #
1080
+ when '90',
1081
+ 'technical_ecology',
1082
+ 'technische_ökologie',
1083
+ 'technische ökologie',
1084
+ 'tueco',
1085
+ 'technischeÖkologie',
1086
+ 'technische Ökologie',
1087
+ 'technicalecology',
1088
+ 'technical ecology',
1089
+ 'nachhaltigkeit',
1090
+ /^technische(_|-| |,)?ökologie$/i
1091
+ 'technical_ecology'
1092
+ # ======================================================================= #
1093
+ # === agrarökologie
1094
+ # ======================================================================= #
1095
+ when '91',
1096
+ 'agrarökologie',
1097
+ 'agrar',
1098
+ 'agrarwissenschaften',
1099
+ 'agrarwissenschaft',
1100
+ 'agrarÖkologie',
1101
+ 'agrar_ecology',
1102
+ 'agraröko',
1103
+ 'agrarecology',
1104
+ 'agrar ecology'
1105
+ 'agrar_ecology'
1106
+ # ======================================================================= #
1107
+ # === anatomie
1108
+ # ======================================================================= #
1109
+ when '92',
1110
+ 'anatomie',
1111
+ 'anatomy',
1112
+ 'anat',
1113
+ 'anatom',
1114
+ /^-?-?qanatomie\??$/
1115
+ 'anatomie'
1116
+ # ======================================================================= #
1117
+ # === obst_und_weinbau
1118
+ # ======================================================================= #
1119
+ when '93','obst','obstbau',
1120
+ 'obst_und_weinbau','obst und weinbau',
1121
+ 'obstundweinbau'
1122
+ 'obstbau'
1123
+ # ======================================================================= #
1124
+ # === veterinärmedizin
1125
+ # ======================================================================= #
1126
+ when '94','vetmed','vet','veterinarymedicine',
1127
+ 'veterinärmedizin','veterinary medicine',
1128
+ 'veterinary_medicine'
1129
+ 'veterinary_medicine'
1130
+ # ======================================================================= #
1131
+ # === advanced_chemistry
1132
+ # ======================================================================= #
1133
+ when '95','chemie2',
1134
+ 'advanced_chemistry',
1135
+ 'advancedchemistry',
1136
+ 'basicchemistry',
1137
+ 'chemistry2',
1138
+ 'chem2',
1139
+ 'ch2m',
1140
+ 'advanced chemistry'
1141
+ 'advanced_chemistry'
1142
+ # ======================================================================= #
1143
+ # === landtechnik
1144
+ # ======================================================================= #
1145
+ when '96',
1146
+ 'landtechnik',
1147
+ 'grundlagenderlandtechnik',
1148
+ /^grundlagen(_|-| |,)?der(_|-| |,)?landtechnik$/i,
1149
+ /^grundlagen(_|-| |,)?der(_|-| |,)?landtechni$/i
1150
+ 'landtechnik'
1151
+ # ======================================================================= #
1152
+ # === agrarmärkte
1153
+ # ======================================================================= #
1154
+ when '97',
1155
+ 'agrarmärkte',
1156
+ 'agrarmarkt',
1157
+ 'agrarm',
1158
+ 'agrarmarkte'
1159
+ 'agrarmarkt'
1160
+ # ======================================================================= #
1161
+ # === agrarphysik
1162
+ # ======================================================================= #
1163
+ when '98','agrarphysik'
1164
+ 'agrarphysik'
1165
+ # ======================================================================= #
1166
+ # === humanökologie
1167
+ # ======================================================================= #
1168
+ when '99','humanökologie',
1169
+ 'humaneco',
1170
+ 'humanecology',
1171
+ 'human ecology',
1172
+ 'human_ecology'
1173
+ 'human_ecology'
1174
+ # ======================================================================= #
1175
+ # === quality_management
1176
+ # ======================================================================= #
1177
+ when '100',
1178
+ /^quality(_|-| |,)?management$/,
1179
+ /^qmanagement\??$/,
1180
+ /^qualitätsmanagement$/,
1181
+ 'quality',
1182
+ 'qual',
1183
+ 'management',
1184
+ 'qman'
1185
+ 'quality_management'
1186
+ # ======================================================================= #
1187
+ # === translational_control
1188
+ # ======================================================================= #
1189
+ when '101',
1190
+ 'translational_control',
1191
+ 'transcon',
1192
+ 'translationalcontrol',
1193
+ 'transcon?',
1194
+ 'translational control',
1195
+ 'translation',
1196
+ /^translation(_|-| |,)?(_|-| |,)?ribosomes(_|-| |,)?and(_|-| |,)?translational(_|-| |,)?control$/,
1197
+ /^translation(_|-| |,)?(_|-| |,)?ribosomes(_|-| |,)?an$/,
1198
+ /^ribosomes?$/i
1199
+ 'translation_ribosomes_and_translational_control'
1200
+ # ======================================================================= #
1201
+ # === audio
1202
+ # ======================================================================= #
1203
+ when '102','audio','audio?'
1204
+ 'audio'
1205
+ # ======================================================================= #
1206
+ # === umweltbiotechnologie
1207
+ # ======================================================================= #
1208
+ when '103',
1209
+ 'umweltbio',
1210
+ 'umweltbiotechnologie',
1211
+ 'umweltbiotech',
1212
+ 'ubiotech'
1213
+ 'umweltbiotechnologie'
1214
+ # ======================================================================= #
1215
+ # === posttranslationale_modifikation_von_proteinen
1216
+ # ======================================================================= #
1217
+ when '104','posttrans',
1218
+ 'posttranslational','genex2',
1219
+ 'post',
1220
+ 'posttranslationalemodifikationvonproteinen','ptm',
1221
+ 'ptm?','posttranslationale modifikation von proteinen',
1222
+ 'posttranslationale_modifikation_von_proteinen',
1223
+ 'ptms',
1224
+ 'PTMs',
1225
+ /^posttranslationale(_|-| |,)?modifi\??$/i,
1226
+ /^posttranslational(_|-| |,)?modification(_|-| |,)?of(_|-| |,)?_proteins$/i
1227
+ 'posttranslationale_modifikation_von_proteinen'
1228
+ # ======================================================================= #
1229
+ # === bodenmikrobiologie
1230
+ # ======================================================================= #
1231
+ when '105','bodenmikrobiologie','boden_mikrobiologie',
1232
+ 'soil_biology',
1233
+ 'soil_microbiology'
1234
+ 'bodenmikrobiologie'
1235
+ # ======================================================================= #
1236
+ # === pflanzenschutz
1237
+ # ======================================================================= #
1238
+ when '106','pflanzenschutz','pflanzenschutz?','pschutz'
1239
+ 'pflanzenschutz'
1240
+ # ======================================================================= #
1241
+ # === stammzellen
1242
+ # ======================================================================= #
1243
+ when '107','stem','ste','stem_cells','stemcells',
1244
+ 'stammzellen','stamm','stem_cells?','stemcell'
1245
+ 'stemcells'
1246
+ # ======================================================================= #
1247
+ # === plant_breeding
1248
+ # ======================================================================= #
1249
+ when '108','pflanzenzüchtung','pflanzenzuechtung',
1250
+ 'plant_breeding',
1251
+ 'plant_zucht',
1252
+ /pflanzenzÜchtung/i,
1253
+ 'pflanzenzucht',
1254
+ 'pzucht',
1255
+ /^-?-?plant_?breeding/
1256
+ 'plant_breeding'
1257
+ # ======================================================================= #
1258
+ # === insects
1259
+ # ======================================================================= #
1260
+ when '109','insects','insekten','insect','ins',
1261
+ 'schmetterlinge','schmetterling'
1262
+ 'insekten'
1263
+ # ======================================================================= #
1264
+ # === mikroskopie
1265
+ # ======================================================================= #
1266
+ when '110','microscope',
1267
+ 'mikros',
1268
+ 'mikroskop',
1269
+ 'mikroskope',
1270
+ 'mscope',
1271
+ 'mikroskopie',
1272
+ 'microscop',
1273
+ 'microscopy',
1274
+ 'mopy','moby',
1275
+ 'imaging',
1276
+ /^microscopes$/i,
1277
+ /^imaging(_|-| |,)?and(_|-| |,)?microscopy$/i,
1278
+ /^imaging\??$/i
1279
+ 'imaging_and_microscopy'
1280
+ # ======================================================================= #
1281
+ # === aminoacids
1282
+ # ======================================================================= #
1283
+ when '111','aminoacids','aminosäuren','aminoacid',
1284
+ 'amino_acids','Amino Acids','aa','amino',
1285
+ 'amino acids',
1286
+ /^aminoacids\??$/i
1287
+ 'aminoacids'
1288
+ # ======================================================================= #
1289
+ # === enzymes
1290
+ # ======================================================================= #
1291
+ when '112','enzymes','enzyme','enzym','ee','Enzymes',
1292
+ 'enz','ezn',
1293
+ /^enzymes(_|-| |,)?and(_|-| |,)?cofactors\??$/i
1294
+ 'enzymes_and_cofactors'
1295
+ # ======================================================================= #
1296
+ # === proteomik
1297
+ # ======================================================================= #
1298
+ when '113','proteomik','proteomic','proteomics',
1299
+ 'proteome','proteom'
1300
+ 'proteomik'
1301
+ # ======================================================================= #
1302
+ # === advanced_microbiology
1303
+ # ======================================================================= #
1304
+ when '114','schäffer_mikrobiologie','schäffermikrobiologie',
1305
+ 'schäffer mikrobiologie',
1306
+ 'schäffer','schäff',
1307
+ 'schäffer?',
1308
+ 'schÄffermikrobiologie',
1309
+ 'advanced_microbiology',
1310
+ 'advancedmicrobiology',
1311
+ 'advanced microbiology',
1312
+ 'amm2',
1313
+ 'mikrobiologie2',
1314
+ /^microbiology2\??$/i
1315
+ 'advanced_microbiology'
1316
+ # ======================================================================= #
1317
+ # === plant_anatomy
1318
+ # ======================================================================= #
1319
+ when '115','pflanzenanatomie','plant_anatomy?','panatomy',
1320
+ 'plantanatomy?',
1321
+ 'plant_anatomy',
1322
+ 'plantanatomy',
1323
+ 'panatomie',
1324
+ 'pflanzenphysiologie',
1325
+ 'plantphysiologie',
1326
+ 'ab2anatomie',
1327
+ 'plantanatomie',
1328
+ 'panatome'
1329
+ 'pflanzenanatomie'
1330
+ # ======================================================================= #
1331
+ # === antibodies_and_antigens
1332
+ # ======================================================================= #
1333
+ when '116','antibodies','anti','antibody',
1334
+ /^abody?$/i,
1335
+ 'body',
1336
+ 'antikörper','antigens',
1337
+ /^antibodies(_|-| |,)?and(_|-| |,)?antigens$/i,
1338
+ /^antigens\??$/i,
1339
+ /^antibodies\??$/i,
1340
+ 'abodies'
1341
+ 'antibodies_and_antigens'
1342
+ # ======================================================================= #
1343
+ # === molecular_biology_of_plants
1344
+ # ======================================================================= #
1345
+ when '117',
1346
+ 'molecular_biology_of_plant',
1347
+ 'molecular_biology_of_plants',
1348
+ 'molecularbiologyofplants',
1349
+ 'molplants?',
1350
+ 'molplants',
1351
+ 'plantmol?',
1352
+ 'plantmol',
1353
+ 'plantmolbio',
1354
+ 'molecular biology of plants',
1355
+ /^molecular(_|-| |,)?biology(_|-| |,)?of(_|-| |,)?the_?$/i,
1356
+ /^molecular(_|-| |,)?biology(_|-| |,)?of(_|-| |,)?the(_|-| |,)?plants?$/i
1357
+ 'molecular_biology_of_plants'
1358
+ # ======================================================================= #
1359
+ # === lebensmitteltechnologie
1360
+ # ======================================================================= #
1361
+ when '118',
1362
+ 'lebensmitteltechnologie'
1363
+ 'lebensmitteltechnologie'
1364
+ # ======================================================================= #
1365
+ # === advanced_cell_biology
1366
+ # ======================================================================= #
1367
+ when '119',
1368
+ /^advanced(_|-| |,)?cell(_|-| |,)?biology$/,
1369
+ 'cell2',
1370
+ 'cellbiology2',
1371
+ 'cellbio2'
1372
+ 'advanced_cellbiology'
1373
+ # ======================================================================= #
1374
+ # === insulin
1375
+ # ======================================================================= #
1376
+ when '120','insulin','insuline','insulin?','diabetes',
1377
+ /^insulin(_|-| |,)?and(_|-| |,)?diabetes$/i
1378
+ 'insulin_and_diabetes'
1379
+ # ======================================================================= #
1380
+ # === microarray
1381
+ # ======================================================================= #
1382
+ when '121','microarray','microarrays',
1383
+ 'biochips',
1384
+ 'biochip',
1385
+ /^biochips(_|-| |,)?and(_|-| |,)?microarray$/i
1386
+ 'biochips'
1387
+ # ======================================================================= #
1388
+ # === rna_seq
1389
+ # ======================================================================= #
1390
+ when '122','rnaseq','rna_seq','rna_seq?','rna seq'
1391
+ 'rna_seq'
1392
+ # ======================================================================= #
1393
+ # === innate_immunity
1394
+ # ======================================================================= #
1395
+ when '123','innate',
1396
+ 'innate_immunity','innateimmunity',
1397
+ 'innate_immunity?',
1398
+ 'innateimmunity?',
1399
+ /^innate(_|-| |,)?immunity$/i
1400
+ 'innate_immunity'
1401
+ # ======================================================================= #
1402
+ # === psychologie
1403
+ # ======================================================================= #
1404
+ when '124','psychologie','psychology'
1405
+ 'psychologie'
1406
+ # ======================================================================= #
1407
+ # === genetische_krankheiten
1408
+ # ======================================================================= #
1409
+ when '125','genetische_krankheiten','genetischekrankheiten',
1410
+ 'genetic_diseases','geneticdiseases','genetic_disease',
1411
+ 'gendisease','disease','digene','disgene',
1412
+ 'gendis',
1413
+ 'geneticdisease',
1414
+ /^genetische(_|-| |,)?krankheiten?$/i
1415
+ 'genetische_krankheiten'
1416
+ # ======================================================================= #
1417
+ # === hormone
1418
+ # ======================================================================= #
1419
+ when '126','hormone','hormon','hormones','hor'
1420
+ 'hormone'
1421
+ # ======================================================================= #
1422
+ # === systematische_zoologie
1423
+ # ======================================================================= #
1424
+ when '127',
1425
+ /^systematische(_|-| |,)?zoologie?$/i,
1426
+ 'syszoo','sys_zoo',
1427
+ 'szoo','syszo',
1428
+ 'sysz',
1429
+ 'syzoo'
1430
+ 'systematische_zoologie'
1431
+ # ======================================================================= #
1432
+ # === betriebssysteme
1433
+ # ======================================================================= #
1434
+ when '128',
1435
+ /^betriebssysteme?$/i,
1436
+ /^OS\??$/i,
1437
+ /^operating(_|-| |,)?systems?$/i
1438
+ 'betriebssysteme'
1439
+ # ======================================================================= #
1440
+ # === informatik
1441
+ # ======================================================================= #
1442
+ when '129','informatik','informatics',
1443
+ 'informatic',
1444
+ /^qainf\??$/i
1445
+ 'informatik'
1446
+ # ======================================================================= #
1447
+ # === c_programming
1448
+ # ======================================================================= #
1449
+ when '130','c','c_programming',
1450
+ /^the(_|-| |,)?c(_|-| |,)?programming(_|-| |,)?language?$/i,
1451
+ 'cprog',
1452
+ 'cprogramming',
1453
+ /^qaC\??$/i
1454
+ 'the_c_programming_language'
1455
+ # ======================================================================= #
1456
+ # === abfall
1457
+ # ======================================================================= #
1458
+ when '131',
1459
+ 'abfall',
1460
+ /^abfall(_|-| |,)?als(_|-| |,)?ressource$/i
1461
+ 'abfall_als_ressource'
1462
+ # ======================================================================= #
1463
+ # === fish
1464
+ # ======================================================================= #
1465
+ when '132',
1466
+ 'fish',
1467
+ /^fish(_|-| |,)?(_|-| |,)?(_|-| |,)?fluorescence(_|-| |,)?in(_|-| |,)?si$/i,
1468
+ /^fish(_|-| |,)?(_|-| |,)?(_|-| |,)?fluorescence(_|-| |,)?in(_|-| |,)?situ(_|-| |,)?hybridization$/i
1469
+ 'fish'
1470
+ # ======================================================================= #
1471
+ # === ruby_on_rails
1472
+ # ======================================================================= #
1473
+ when '133','ruby_on_rails','ror',
1474
+ 'rubyonrails',
1475
+ 'ruby-on-rails',
1476
+ /rails$/
1477
+ 'ruby_on_rails'
1478
+ # ======================================================================= #
1479
+ # === chemische_technologie_anorganischer_stoff
1480
+ # ======================================================================= #
1481
+ when '134',
1482
+ 'chemtech',
1483
+ 'chemtech1',
1484
+ 'chemt',
1485
+ /chemische_technologie/,
1486
+ 'materialkunde',
1487
+ 'material_sciences',
1488
+ /^chem(_|-| |,)?anorg\??$/i,
1489
+ 'chemanon',
1490
+ /^chemische(_|-| |,)?technologie(_|-| |,)?anorganischer(_|-| |,)?stoffe$/i,
1491
+ /^techchem1$/i
1492
+ 'chemische_technologie_anorganischer_stoffe'
1493
+ # ======================================================================= #
1494
+ # === biophysik
1495
+ # ======================================================================= #
1496
+ when '135',
1497
+ /^biophysik$/,
1498
+ /^biophysics?$/i
1499
+ 'biophysik'
1500
+ # ======================================================================= #
1501
+ # === pflanzenbau
1502
+ # ======================================================================= #
1503
+ when '136',/pflanzenba?u?/,'pbau'
1504
+ 'pflanzenbau'
1505
+ # ======================================================================= #
1506
+ # === plant_development
1507
+ # ======================================================================= #
1508
+ when '137',
1509
+ /^plant(_|-| |,)?development$/,
1510
+ /^plant_?dev\??/,
1511
+ 'pdev',
1512
+ /^devbio(_|-| |,)?plants$/i
1513
+ 'plant_development'
1514
+ # ======================================================================= #
1515
+ # === glykomik
1516
+ # ======================================================================= #
1517
+ when '138',
1518
+ /^-?-?glykomik$/i,
1519
+ /^-?-?glycomics$/i,
1520
+ /^-?-?sugar/,
1521
+ /^-?-?glykans\??$/,
1522
+ 'zucker'
1523
+ 'glykomik'
1524
+ # ======================================================================= #
1525
+ # === Grünlandbewirtschaftung
1526
+ # ======================================================================= #
1527
+ when '139',
1528
+ /^Grünlandbewirtschaftung$/i,
1529
+ /^grassland(_|-| |,)?cultivation$/,
1530
+ /^grünlandwirtschaft$/i,
1531
+ /^grünlandbewirtschaftung(_|-| |,)?\(?$/i,
1532
+ 'grün',
1533
+ 'grünland'
1534
+ 'grassland_cultivation'
1535
+ # ======================================================================= #
1536
+ # === ökologische_landwirtschaft
1537
+ # ======================================================================= #
1538
+ when '140',
1539
+ /^Ökologische ?Landwirtschaft$/i,'ökoland',
1540
+ 'ökologische_landwirtschaft',
1541
+ /ecological_?agriculture/,
1542
+ /^ökologische(_|-| |,)?landwirtschaf$/
1543
+ 'ecological_agriculture'
1544
+ # ======================================================================= #
1545
+ # === the_european_union
1546
+ # ======================================================================= #
1547
+ when '141',
1548
+ /^the(_|-| |,)?european(_|-| |,)?union$/i,
1549
+ 'european_union',
1550
+ 'europeanunion',
1551
+ 'eu?',
1552
+ 'eu',
1553
+ /^the(_|-| |,)?eu$/
1554
+ 'the_european_union'
1555
+ # ======================================================================= #
1556
+ # === lipids
1557
+ # ======================================================================= #
1558
+ when '142',
1559
+ 'lipids',
1560
+ 'lipid','fett',
1561
+ 'lipide'
1562
+ 'lipids'
1563
+ # ======================================================================= #
1564
+ # === nucleotide_sequencing
1565
+ # ======================================================================= #
1566
+ when '143',
1567
+ /^nucleotide(_|-| |,)?sequencing$/,
1568
+ 'sequencing',
1569
+ 'sequenzierung','nucleotideseq','seq2',
1570
+ 'nusequencing'
1571
+ 'nucleotide_sequencing'
1572
+ # ======================================================================= #
1573
+ # === databases
1574
+ # ======================================================================= #
1575
+ when '144',
1576
+ /^databases\??$/i,
1577
+ /^datenbanken\??$/i,
1578
+ /^databases(_|-| |,)?and(_|-| |,)?sql$/,
1579
+ /database/,
1580
+ /^qasql\??$/,
1581
+ 'datenbank',
1582
+ /^sql$/i
1583
+ 'databases_and_sql'
1584
+ # ======================================================================= #
1585
+ # === tierzucht
1586
+ # ======================================================================= #
1587
+ when '145','tierzucht'
1588
+ 'tierzucht'
1589
+ # ======================================================================= #
1590
+ # === biological_therapeutics
1591
+ # ======================================================================= #
1592
+ when '146',/^biological(_|-| |,)?therapeutics$/i,
1593
+ 'biologics','biologica','biologika','ther',
1594
+ 'therapeutics',
1595
+ 'thera',
1596
+ 'biothera',
1597
+ 'kunert'
1598
+ 'biological_therapeutics'
1599
+ # ======================================================================= #
1600
+ # === forstwirtschaft
1601
+ # ======================================================================= #
1602
+ when '147',/forstwirtschaft/i,'forst?','forst'
1603
+ 'forstwirtschaft'
1604
+ # ======================================================================= #
1605
+ # === alcohols
1606
+ # ======================================================================= #
1607
+ when '148','alcohols','alcohol','alkohol','alk',
1608
+ /^alkohole$/i
1609
+ 'alcohols'
1610
+ # ======================================================================= #
1611
+ # === klima
1612
+ # ======================================================================= #
1613
+ when '149','klima'
1614
+ 'klima'
1615
+ # ======================================================================= #
1616
+ # === elektrotechnik
1617
+ # ======================================================================= #
1618
+ when '150',
1619
+ 'elektrotechnik',
1620
+ 'elektrizität',
1621
+ 'echem',
1622
+ 'elektro',
1623
+ 'strom',
1624
+ /^elektrotechnik(_|-| |,)?und(_|-| |,)?elektrizität$/i
1625
+ 'elektrotechnik_und_elektrizität'
1626
+ # ======================================================================= #
1627
+ # === weinbau
1628
+ # ======================================================================= #
1629
+ when '151','weinbau','wein'
1630
+ 'weinbau'
1631
+ # ======================================================================= #
1632
+ # === technische_grundlagen_der_informatik
1633
+ # ======================================================================= #
1634
+ when '152',
1635
+ 'technische_grundlagen_der_informatik',
1636
+ /^technische(_|-| |,)?informatik$/i,
1637
+ /^technische(_|-| |,)?grundlagen(_|-| |,)?der$/i,
1638
+ /^technische(_|-| |,)?grundlagen(_|-| |,)?der(_|-| |,)?informatik$/i,
1639
+ /^tech(_|-| |,)?computer\??$/i
1640
+ 'technische_grundlagen_der_informatik'
1641
+ # ======================================================================= #
1642
+ # === c++
1643
+ # ======================================================================= #
1644
+ when '153',
1645
+ 'c++',
1646
+ 'the_c_plus_plus_programming_language',
1647
+ 'cpp',
1648
+ 'cepp',
1649
+ 'qacpp',
1650
+ /^qaCpp\??$/i,
1651
+ /^qaC\+\+\??$/i,
1652
+ /^the(_|-| |,)?c\+\+(_|-| |,)?programming(_|-| |,)?language$/i,
1653
+ /^the(_|-| |,)?c\+\+(_|-| |,)?programming(_|-| |,)?langu?$/i
1654
+ 'the_c_plus_plus_programming_language'
1655
+ # ======================================================================= #
1656
+ # === semisynthese
1657
+ # ======================================================================= #
1658
+ when '154',
1659
+ 'semisynthese',
1660
+ 'semisynthese_proteinen',
1661
+ 'semisynth',
1662
+ 'semi',
1663
+ 'semisynthese_von_proteinen',
1664
+ /^semisynthese(_|-| |,)?von(_|-| |,)?proteinen(_|-| |,)?und(_|-| |,)?nukleotiden$/i,
1665
+ /^semisynthese(_|-| |,)?von(_|-| |,)?proteine$/i
1666
+ 'semisynthese_von_proteinen_und_nukleotiden'
1667
+ # ======================================================================= #
1668
+ # === biomaterials
1669
+ # ======================================================================= #
1670
+ when '155','biomaterials','biomaterial','biomat','biom'
1671
+ 'biomaterials'
1672
+ # ======================================================================= #
1673
+ # === naturschutz
1674
+ # ======================================================================= #
1675
+ when '156','naturschutz',
1676
+ 'natur',
1677
+ 'nature',
1678
+ /^nature(_|-| |,)?conservation(_|-| |,)?and(_|-| |,)?biodiversity(_|-| |,)?$/i,
1679
+ /^naturschutz(_|-| |,)?und(_|-| |,)?biodivers$/i,
1680
+ /^naturschutz(_|-| |,)?und(_|-| |,)?biodiversität$/i
1681
+ 'nature_conservation_and_biodiversity'
1682
+ # ======================================================================= #
1683
+ # === biomembranes
1684
+ # ======================================================================= #
1685
+ when '157','biomembranes','biomembrane',
1686
+ /^membranes?$/
1687
+ 'biomembranes'
1688
+ # ======================================================================= #
1689
+ # === vitamine
1690
+ # ======================================================================= #
1691
+ when '158','vitamine','vitamin','vitamins','vitamines'
1692
+ 'vitamine'
1693
+ # ======================================================================= #
1694
+ # === python
1695
+ # ======================================================================= #
1696
+ when '159','python','pthon','pytho','pyhton',
1697
+ 'pythn','qapy','qapy?',
1698
+ 'qpay',
1699
+ /^qapython\??$/i
1700
+ 'python'
1701
+ # ======================================================================= #
1702
+ # === archaea
1703
+ # ======================================================================= #
1704
+ when '160','archaea'
1705
+ 'archaea'
1706
+ # ======================================================================= #
1707
+ # === cyanobacteria
1708
+ # ======================================================================= #
1709
+ when '161','cyanobacteria','cyano'
1710
+ 'cyanobacteria'
1711
+ # ======================================================================= #
1712
+ # === naturstoffe
1713
+ # ======================================================================= #
1714
+ when '162','naturstoffe'
1715
+ 'naturstoffe'
1716
+ # ======================================================================= #
1717
+ # === biopolymers
1718
+ # ======================================================================= #
1719
+ when '163','biopolymers','biopolymer'
1720
+ 'biopolymers'
1721
+ # ======================================================================= #
1722
+ # === bionik
1723
+ # ======================================================================= #
1724
+ when '164','bionik'
1725
+ 'bionik'
1726
+ # ======================================================================= #
1727
+ # === urbanism
1728
+ # ======================================================================= #
1729
+ when '165','urbanism',/^urbanism(_|-| |,)?and(_|-| |,)?traffic$/
1730
+ 'urbanism_and_traffic'
1731
+ # ======================================================================= #
1732
+ # === vaccination
1733
+ # ======================================================================= #
1734
+ when '166','vaccination',
1735
+ 'vaccine','vaccines','vacca','vakzin',
1736
+ 'vacine',
1737
+ 'vacc',
1738
+ /^vaccines(_|-| |,)?and(_|-| |,)?vaccination$/,
1739
+ 'vakzine',
1740
+ /^antigene\??$/
1741
+ 'vaccines_and_vaccination'
1742
+ # ======================================================================= #
1743
+ # === crispr
1744
+ # ======================================================================= #
1745
+ when '167','crispr','crisp'
1746
+ 'crispr'
1747
+ # ======================================================================= #
1748
+ # === java
1749
+ # ======================================================================= #
1750
+ when '168','java','qajava',
1751
+ /^qjava\??$/i
1752
+ 'java'
1753
+ # ======================================================================= #
1754
+ # === yeast
1755
+ # ======================================================================= #
1756
+ when '169','yeast','ye'
1757
+ 'yeast'
1758
+ # ======================================================================= #
1759
+ # === ruby
1760
+ # ======================================================================= #
1761
+ when '170',
1762
+ 'ruby',
1763
+ /^qa?ruby\??$/i
1764
+ 'ruby'
1765
+ # ======================================================================= #
1766
+ # === technisches_zeichnen
1767
+ # ======================================================================= #
1768
+ when '171',
1769
+ /^technisches(_|-| |,)?zeichnen$/i,
1770
+ 'CAD',
1771
+ 'cad'
1772
+ 'technisches_zeichnen'
1773
+ # ======================================================================= #
1774
+ # === prozesstechnik
1775
+ # ======================================================================= #
1776
+ when '172',
1777
+ 'prozesstechnik',
1778
+ 'prozesstechnologie',
1779
+ 'prozesskunde',
1780
+ 'prozess',
1781
+ 'prozess?'
1782
+ 'prozesstechnik'
1783
+ # ======================================================================= #
1784
+ # === glykolyse
1785
+ # ======================================================================= #
1786
+ when '173',
1787
+ 'glykolyse',
1788
+ 'glycolysis',
1789
+ 'glycolyse',
1790
+ 'gly',
1791
+ 'glyk',
1792
+ 'gl',
1793
+ 'glyc',
1794
+ 'glyco',
1795
+ 'glyko',
1796
+ /^glycolysis\??$/i,
1797
+ /^die(_|-| |,)?glykolyse$/i
1798
+ 'glycolysis'
1799
+ # ======================================================================= #
1800
+ # === rnai
1801
+ # ======================================================================= #
1802
+ when '174',
1803
+ /^RNAi$/i,
1804
+ /^miRNA$/i,
1805
+ /^siRNA$/i,
1806
+ /^RNAi(_|-| |,)?(_|-| |,)?siRNA(_|-| |,)?and(_|-| |,)?miRNA$/i
1807
+ 'RNAi_siRNA_and_miRNA'
1808
+ # ======================================================================= #
1809
+ # === mikrobielle_lebensgemeinschaften
1810
+ # ======================================================================= #
1811
+ when '175',
1812
+ 'mikrob_lebensgemeinschaften',
1813
+ 'mikb',
1814
+ /^Mikrobielle(_|-| |,)?Lebensgemeinschaften$/i,
1815
+ /^Mikrobielle(_|-| |,)?Lebensgemeins$/i
1816
+ 'mikrobielle_lebensgemeinschaften'
1817
+ # ======================================================================= #
1818
+ # === theoretische_informatik
1819
+ # ======================================================================= #
1820
+ when '176',/^theoretische(_|-| |,)?informatik\??$/i,
1821
+ 'theore',
1822
+ 'theoinf',/^theo(_|-| |,)?inf/i,
1823
+ 'tinf'
1824
+ 'theoretische_informatik'
1825
+ # ======================================================================= #
1826
+ # === algorithms
1827
+ # ======================================================================= #
1828
+ when '177',/algorithms/,'algo','algorithm',
1829
+ 'algorithmus',
1830
+ 'alg'
1831
+ 'algorithms'
1832
+ # ======================================================================= #
1833
+ # === javascript
1834
+ # ======================================================================= #
1835
+ when '178',
1836
+ 'javascript'
1837
+ 'javascript'
1838
+ # ======================================================================= #
1839
+ # === elektronenmikroskopie
1840
+ # ======================================================================= #
1841
+ when '179',
1842
+ 'elektronenmikroskopie',
1843
+ 'emopy',
1844
+ 'tem'
1845
+ 'elektronenmikroskopie'
1846
+ # ======================================================================= #
1847
+ # === bauwesen
1848
+ # ======================================================================= #
1849
+ when '180','bauwesen'
1850
+ 'bauwesen'
1851
+ # ======================================================================= #
1852
+ # === system_biology
1853
+ # ======================================================================= #
1854
+ when '181',
1855
+ /^system(_|-| |,)?biology$/,
1856
+ 'system',
1857
+ 'sysbio',
1858
+ 'systemb',
1859
+ 'sysbi',
1860
+ 'systembio',
1861
+ 'systembio?',
1862
+ /^systems(_|-| |,)?biology/i,
1863
+ /^system(_|-| |,)?biology(_|-| |,)?and(_|-| |,)?synthetic(_|-| |,)?biology$/,
1864
+ /^system(_|-| |,)?biology(_|-| |,)?and(_|-| |,)?synthe$/,
1865
+ /^synth$/i,
1866
+ /^systembiologie$/i,
1867
+ /^synthetic$/i,
1868
+ /^synthetic(_|-| |,)?biology$/i
1869
+ 'system_biology_and_synthetic_biology'
1870
+ # ======================================================================= #
1871
+ # === architektur
1872
+ # ======================================================================= #
1873
+ when '182',/^architektur$/,/^architecture$/
1874
+ 'architecture'
1875
+ # ======================================================================= #
1876
+ # === biofilms
1877
+ # ======================================================================= #
1878
+ when '183',
1879
+ 'biofilms',
1880
+ 'biofilm',
1881
+ 'biofilme'
1882
+ 'biofilms'
1883
+ # ======================================================================= #
1884
+ # === dna_replikation
1885
+ # ======================================================================= #
1886
+ when '184',/^dna(_|-| |,)?repli(c|k)ation$/i,'replication',
1887
+ 'dnarepl',
1888
+ 'dnarep'
1889
+ 'dna_replication'
1890
+ # ======================================================================= #
1891
+ # === immunanalytik
1892
+ # ======================================================================= #
1893
+ when '185',/^immunanalyti(c|k)$/i,
1894
+ 'immunoanalytik',
1895
+ 'immunoana',
1896
+ 'immunana',
1897
+ 'immuna',
1898
+ 'immunoassay',
1899
+ /^immunoanalytics$/i
1900
+ 'immunanalytik'
1901
+ # ======================================================================= #
1902
+ # === elektrophorese
1903
+ # ======================================================================= #
1904
+ when '186',/^elektrophorese$/i,'gelelectrophoresis',
1905
+ 'gelelektrophorese','elektrophoresis','gel',
1906
+ 'sds','gele'
1907
+ 'elektrophorese'
1908
+ # ======================================================================= #
1909
+ # === endospores
1910
+ # ======================================================================= #
1911
+ when '187',
1912
+ /^endospores(_|-| |,)?and(_|-| |,)?spores$/i,
1913
+ /^endosporen(_|-| |,)?und(_|-| |,)?sporen$/i,
1914
+ 'endospores','spores',
1915
+ 'endo',
1916
+ 'endospore',
1917
+ 'endosporen',
1918
+ /^spore\??$/i,
1919
+ /^endospores\??$/i
1920
+ 'endospores_and_spores'
1921
+ # ======================================================================= #
1922
+ # === the_bacterial_cell_wall
1923
+ # ======================================================================= #
1924
+ when '188',/^the(_|-| |,)?bacterial(_|-| |,)?cell(_|-| |,)?wall$/i,
1925
+ 'bacterial_cell_wall?',
1926
+ /^bacterial(_|-| |,)?cell(_|-| |,)?wall\??$/,
1927
+ /^cell(_|-| |,)?wall$/
1928
+ 'the_bacterial_cell_wall'
1929
+ # ======================================================================= #
1930
+ # === bacteriophages
1931
+ #
1932
+ # Everything about bacteriophages/phages.
1933
+ # ======================================================================= #
1934
+ when '189',
1935
+ 'bacteriophages',
1936
+ 'phages',
1937
+ 'bakteriophagen',
1938
+ 'phag',
1939
+ /^pha?gen?$/
1940
+ 'bacteriophages'
1941
+ # ======================================================================= #
1942
+ # === mutation
1943
+ # ======================================================================= #
1944
+ when '190','mutation',
1945
+ /^dna(_|-| |,)?repair$/i,
1946
+ /^dna(_|-| |,)?mutation(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repair$/i,
1947
+ /^dna(_|-| |,)?repair(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?mutation$/i,
1948
+ /^dna(_|-| |,)?mutations(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repair$/i,
1949
+ /^dna(_|-| |,)?mutations(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repa$/i,
1950
+ /^dna(_|-| |,)?mutation(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repa$/i,
1951
+ /^dna(_|-| |,)?mutation$/i
1952
+ 'dna_mutation_and_dna_repair'
1953
+ # ======================================================================= #
1954
+ # === apoptosis
1955
+ # ======================================================================= #
1956
+ when '191',
1957
+ 'apoptosis',
1958
+ 'aptoptosis',
1959
+ 'apoptose',
1960
+ 'zelltod'
1961
+ 'apoptosis'
1962
+ # ======================================================================= #
1963
+ # === interferon
1964
+ # ======================================================================= #
1965
+ when '192','interferon','ifn','interferone',
1966
+ /^the(_|-| |,)?interferon(_|-| |,)?system$/i
1967
+ 'the_interferon_system'
1968
+ # ======================================================================= #
1969
+ # === pharmazeutische_biotechnologie
1970
+ # ======================================================================= #
1971
+ when '193',
1972
+ 'pharmabiotech',
1973
+ /^pharmazeutische(_|-| |,)?biotechnologie1$/i,
1974
+ /^pharmazeutische(_|-| |,)?biotechnologie$/i,
1975
+ /^pharmaceutical(_|-| |,)?biotechnology$/i,
1976
+ /^pharmaceutical(_|-| |,)?biotechnol$/i,
1977
+ /^pharma(_|-| |,)?biotech\??$/i,
1978
+ 'pbiotech',
1979
+ 'pharma',
1980
+ 'parma',
1981
+ /^pbiotechnologie$/i,
1982
+ 'pharmatech'
1983
+ 'pharmaceutical_biotechnology'
1984
+ # ======================================================================= #
1985
+ # === molekulare_infektionsbiologie
1986
+ # ======================================================================= #
1987
+ when '194',
1988
+ 'infektionsbiologie',
1989
+ 'infektion',
1990
+ 'infekt',
1991
+ 'infek',
1992
+ 'molinfekt',
1993
+ 'molinf',
1994
+ 'parasit',
1995
+ 'parasiten',
1996
+ 'parasitologie',
1997
+ /^molekulare(_|-| |,)?infektionsbiologie$/i,
1998
+ /^parasitic(_|-| |,)?diseases(_|-| |,)?and(_|-| |,)?molecular(_|-| |,)?infection(_|-| |,)?biology$/i,
1999
+ /^parasitic(_|-| |,)?diseases(_|-| |,)?and(_|-| |,)?mo$/i,
2000
+ /^parasites?$/i,
2001
+ /^infections?$/i,
2002
+ /^molecular(_|-| |,)?infection(_|-| |,)?biology$/i
2003
+ 'parasitic_diseases_and_molecular_infection_biology'
2004
+ # ======================================================================= #
2005
+ # === structural_bioinformatics
2006
+ # ======================================================================= #
2007
+ when '195',
2008
+ /^structural(_|-| |,)?bioinformatics$/i,
2009
+ 'struktbioinf',
2010
+ 'structbioinf',
2011
+ 'strubioinfo',
2012
+ 'strubinf',
2013
+ 'struktbioinfo',
2014
+ 'strubiinf',
2015
+ 'strubioinf',
2016
+ 'strubioinformatic',
2017
+ 'strubioinformatics',
2018
+ 'strukturinformatik',
2019
+ 'structbio',
2020
+ /^strukturbioinf\??$/
2021
+ 'structural_bioinformatics'
2022
+ # ======================================================================= #
2023
+ # === food_microbiology
2024
+ # ======================================================================= #
2025
+ when '196',
2026
+ /^food(_|-| |,)?microbiology$/i,
2027
+ /^food(_|-| |,)?biotechnology$/i,
2028
+ /^food(_|-| |,)?microbiology(_|-| |,)?and(_|-| |,)?food(_|-| |,)?biotechnology$/i,
2029
+ /^food(_|-| |,)?microbiology(_|-| |,)?and(_|-| |,)?foo$/i,
2030
+ /^food(_|-| |,)?biotech$/i
2031
+ 'food_microbiology_and_food_biotechnology'
2032
+ # ======================================================================= #
2033
+ # === projektmanagement
2034
+ # ======================================================================= #
2035
+ when '197',
2036
+ /^proje(c|k)tmanagement$/i,
2037
+ /^pmanagement$/i,
2038
+ 'pman'
2039
+ 'projektmanagement'
2040
+ # ======================================================================= #
2041
+ # === cell_cultures
2042
+ # ======================================================================= #
2043
+ when '198',
2044
+ /^cell(_|-| |,)?cultures?\??$/i,
2045
+ /^cell(_|-| |,)?culturing\??$/i,
2046
+ 'cellu',
2047
+ 'cellcu'
2048
+ 'cell_cultures'
2049
+ # ======================================================================= #
2050
+ # === chemotaxis_and_motility_in_prokaryotes
2051
+ # ======================================================================= #
2052
+ when '199',
2053
+ /^chemotaxie?s(_|-| |,)?and(_|-| |,)?motility(_|-| |,)?in(_|-| |,)?prokaryotes\??$/i,
2054
+ /^chemotaxie?s(_|-| |,)?and(_|-| |,)?motility$/i,
2055
+ /^chemotaxie?s(_|-| |,)?and(_|-| |,)?motility_?$/i,
2056
+ /^chemotaxis\??$/i,
2057
+ 'chemo?',
2058
+ 'chemo',
2059
+ 'flagella',
2060
+ /^flag\??$/i
2061
+ 'chemotaxis_and_motility_in_prokaryotes'
2062
+ # ======================================================================= #
2063
+ # === cellular_transport_and_protein_secretion
2064
+ # ======================================================================= #
2065
+ when '200',
2066
+ /^cellular(_|-| |,)?transport$/i,
2067
+ /^cellular(_|-| |,)?transport(_|-| |,)?and(_|-| |,)?protein(_|-| |,)?secretion$/i,
2068
+ /^cellular(_|-| |,)?transport(_|-| |,)?and(_|-| |,)?pr$/i
2069
+ 'cellular_transport_and_protein_secretion'
2070
+ # ======================================================================= #
2071
+ # === elisa
2072
+ # ======================================================================= #
2073
+ when '201',
2074
+ /^elisa$/i
2075
+ 'elisa'
2076
+ # ======================================================================= #
2077
+ # === transcription
2078
+ # ======================================================================= #
2079
+ when '202',
2080
+ /^transcription$/i,
2081
+ /^transkription$/i,
2082
+ /^qa(_|-| |,)?transcription\??$/i
2083
+ 'transcription'
2084
+ # ======================================================================= #
2085
+ # === toxikologie
2086
+ # ======================================================================= #
2087
+ when '203',
2088
+ /^toxikologie$/i,
2089
+ /^qatox\??$/i,
2090
+ 'toxi',
2091
+ 'tox'
2092
+ 'toxikologie'
2093
+ # ======================================================================= #
2094
+ # === biomarkers
2095
+ # ======================================================================= #
2096
+ when '204',
2097
+ /^biomarkers?$/i,
2098
+ 'bioma'
2099
+ 'biomarkers'
2100
+ # ======================================================================= #
2101
+ # === fluorescence_microscopy
2102
+ # ======================================================================= #
2103
+ when '205',
2104
+ /^fluorescence(_|-| |,)?microscopy\??$/i,
2105
+ /^fluorescence(_|-| |,)?microscope\??$/i,
2106
+ 'fluor'
2107
+ 'fluorescence_microscopy'
2108
+ # ======================================================================= #
2109
+ # === html
2110
+ # ======================================================================= #
2111
+ when '206',
2112
+ /^html\??$/i
2113
+ 'html'
2114
+ # ======================================================================= #
2115
+ # === scientific_writing
2116
+ # ======================================================================= #
2117
+ when '207',
2118
+ /^scientific(_|-| |,)?writing$/i,
2119
+ /^scientific(_|-| |,)?writing(_|-| |,)?and(_|-| |,)?publishing$/i,
2120
+ /^scientific(_|-| |,)?writing(_|-| |,)?and(_|-| |,)?pu$/i,
2121
+ 'scientific'
2122
+ 'scientific_writing_and_publishing'
2123
+ # ======================================================================= #
2124
+ # === geography
2125
+ # ======================================================================= #
2126
+ when '208',
2127
+ /^geography$/i,
2128
+ /^geographie$/i
2129
+ 'geography'
2130
+ # ======================================================================= #
2131
+ # === excel
2132
+ # ======================================================================= #
2133
+ when '209',
2134
+ /^excel$/i
2135
+ 'excel'
2136
+ # ======================================================================= #
2137
+ # === splicing
2138
+ # ======================================================================= #
2139
+ when '210',
2140
+ /^splicing$/i,
2141
+ /^introns$/i,
2142
+ /^exons$/i,
2143
+ /^splice$/i,
2144
+ /^spliceosome$/i,
2145
+ /^splicing(_|-| |,)?(_|-| |,)?exons(_|-| |,)?and(_|-| |,)?introns$/i,
2146
+ /^splicing(_|-| |,)?(_|-| |,)?exons(_|-| |,)?and(_|-| |,)?intro$/i
2147
+ 'splicing_exons_and_introns'
2148
+ # ======================================================================= #
2149
+ # === the_microbiome
2150
+ # ======================================================================= #
2151
+ when '211',
2152
+ /^microbiome?$/i,
2153
+ /^the(_|-| |,)?microbiome$/i,
2154
+ /^human(_|-| |,)?microbiome\??$/i,
2155
+ 'mome'
2156
+ 'the_microbiome'
2157
+ # ======================================================================= #
2158
+ # === citratzyklus
2159
+ # ======================================================================= #
2160
+ when '212',
2161
+ 'citratzyklus',
2162
+ /^citric(_|-| |,)?acid(_|-| |,)?cycle$/i,
2163
+ /^citric(_|-| |,)?cycle$/i,
2164
+ /^the(_|-| |,)?citric(_|-| |,)?acid(_|-| |,)?cycle$/i,
2165
+ /^CAC\??$/i,
2166
+ 'citric',
2167
+ 'citrat'
2168
+ 'citric_acid_cycle'
2169
+ # ======================================================================= #
2170
+ # === peroxisomes
2171
+ # ======================================================================= #
2172
+ when '213',
2173
+ /^peroxisomes$/i,
2174
+ /^peroxisomes(_|-| |,)?(_|-| |,)?glycosomes(_|-| |,)?and(_|-| |,)?lysosomes$/i,
2175
+ /^peroxisomes(_|-| |,)?(_|-| |,)?glycosomes(_|-| |,)?a$/i
2176
+ 'peroxisomes_glycosomes_and_lysosomes'
2177
+ # ======================================================================= #
2178
+ # === messtechnik_und_regeltechnik
2179
+ # ======================================================================= #
2180
+ when '214',
2181
+ 'mess',
2182
+ /^messtechnik$/i,
2183
+ /^regeltechnik$/i,
2184
+ /^messtechnik(_|-| |,)?und(_|-| |,)?regeltechnik$/i,
2185
+ /^messtechnik(_|-| |,)?und(_|-| |,)?regeltech$/i
2186
+ 'messtechnik_und_regeltechnik'
2187
+ # ======================================================================= #
2188
+ # === betriebswirtschaftslehre
2189
+ # ======================================================================= #
2190
+ when '215',
2191
+ /^betriebswirtschaftslehre\??$/i,
2192
+ /^betriebswirtschaf\??$/i,
2193
+ /^betrieb\??$/i,
2194
+ /^betriebswirtschaft\??$/i,
2195
+ /^qabetrieb\??$/i
2196
+ 'betriebswirtschaftslehre'
2197
+ # ======================================================================= #
2198
+ # === forensik
2199
+ # ======================================================================= #
2200
+ when '216',
2201
+ /^forensik$/i
2202
+ 'forensik'
2203
+ # ======================================================================= #
2204
+ # === gluconeogenesis
2205
+ # ======================================================================= #
2206
+ when '217','gluco',
2207
+ 'gluconeo',
2208
+ 'gluconeogenese',
2209
+ /^gluconeogenesis\??$/i,
2210
+ /^-?-?Die(_|-| |,)?gluconeogenesis\??$/i
2211
+ 'gluconeogenesis'
2212
+ # ======================================================================= #
2213
+ # === netzwerke
2214
+ # ======================================================================= #
2215
+ when '218',
2216
+ /^netzwerke\??$/i,
2217
+ /^networks\??$/i,
2218
+ /^-?-?computer(_|-| |,)?networks$/
2219
+ 'netzwerke'
2220
+ # ======================================================================= #
2221
+ # === advanced_topics_in_plant_sciences
2222
+ # ======================================================================= #
2223
+ when '219',
2224
+ /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant(_|-| |,)?sciences\??$/i,
2225
+ /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant_?$/i,
2226
+ 'pflanzen2',
2227
+ 'plant2',
2228
+ 'plant3',
2229
+ 'plants2',
2230
+ 'plants3'
2231
+ 'advanced_topics_in_plant_sciences'
2232
+ # ======================================================================= #
2233
+ # === macroeconomics
2234
+ # ======================================================================= #
2235
+ when '220',
2236
+ /^macro(_|-| |,)?economics\??$/i,
2237
+ 'macroeconomy',
2238
+ /^makroökonomie$/i
2239
+ 'macroeconomics'
2240
+ # ======================================================================= #
2241
+ # === linux
2242
+ # ======================================================================= #
2243
+ when '221',
2244
+ /^linux\??$/i
2245
+ 'linux'
2246
+ # ======================================================================= #
2247
+ # === object_oriented_modeling
2248
+ # ======================================================================= #
2249
+ when '222',
2250
+ /^object(_|-| |,)?oriented(_|-| |,)?modeling\??$/i,
2251
+ /^objekt(_|-| |,)?orientiertes(_|-| |,)?modellieren\??$/i,
2252
+ /^objekt(_|-| |,)?orientiertes(_|-| |,)?model\??$/i
2253
+ 'object_oriented_modeling'
2254
+ # ======================================================================= #
2255
+ # === patent_law
2256
+ # ======================================================================= #
2257
+ when '223',
2258
+ /^patent(_|-| |,)?law\??$/i,
2259
+ 'plaw',
2260
+ 'patent'
2261
+ 'patent_law'
2262
+ # ======================================================================= #
2263
+ # === glyoxylatzyklus
2264
+ # ======================================================================= #
2265
+ when '224',
2266
+ /^glyoxylatzyklus\??$/i,
2267
+ /^glyoxylat\??$/i,
2268
+ 'glyoxy'
2269
+ 'glyoxylatzyklus'
2270
+ # ======================================================================= #
2271
+ # === the_universe
2272
+ # ======================================================================= #
2273
+ when '225',
2274
+ /^universe\??$/i,
2275
+ /^the(_|-| |,)?universe\??$/i
2276
+ 'the_universe'
2277
+ # ======================================================================= #
2278
+ # === computer_graphics
2279
+ # ======================================================================= #
2280
+ when '226',
2281
+ /^computer(_|-| |,)?graphics\??$/i
2282
+ 'computer_graphics'
2283
+ # ======================================================================= #
2284
+ # === nutztierethologie
2285
+ # ======================================================================= #
2286
+ when '227',
2287
+ /^nutztierethologie\??$/i
2288
+ 'nutztierethologie'
2289
+ # ======================================================================= #
2290
+ # === chemische_technologie_organischer_stoffe
2291
+ # ======================================================================= #
2292
+ when '228',
2293
+ 'chemtech2',
2294
+ /^chem(_|-| |,)?org\??$/i,
2295
+ /^chemische(_|-| |,)?technologie(_|-| |,)?organischer(_|-| |,)?stoffe$/i,
2296
+ /^techorgc$/i,
2297
+ /^techchem2$/i
2298
+ 'chemische_technologie_organischer_stoffe'
2299
+ # ======================================================================= #
2300
+ # === cellulose
2301
+ # ======================================================================= #
2302
+ when '229',
2303
+ /^cellulose$/i
2304
+ 'cellulose'
2305
+ # ======================================================================= #
2306
+ # === microcontroller
2307
+ # ======================================================================= #
2308
+ when '230',
2309
+ /^mi(c|k)rocontrollers?$/i,
2310
+ /^electronics?$/i # <- This may be moved at a later point in time.
2311
+ 'microcontrollers'
2312
+ # ======================================================================= #
2313
+ # === mitochondria
2314
+ # ======================================================================= #
2315
+ when '231',
2316
+ /^mitochondria$/i,
2317
+ /^mitochondrien$/i,
2318
+ /^mtDNA$/i
2319
+ 'mitochondria'
2320
+ # ======================================================================= #
2321
+ # === stickstofffixierung
2322
+ # ======================================================================= #
2323
+ when '232',
2324
+ /^stickstofff?ixierung$/i,
2325
+ /^stickstofff?$/i
2326
+ 'stickstofffixierung'
2327
+ # ======================================================================= #
2328
+ # === Protein Engineering
2329
+ # ======================================================================= #
2330
+ when '233',
2331
+ /^protein(_|-| |,)?engineering\??$/i
2332
+ 'protein_engineering'
2333
+ # ======================================================================= #
2334
+ # === Cytokines
2335
+ # ======================================================================= #
2336
+ when '234',
2337
+ /^cytokines\??$/i
2338
+ 'cytokines'
2339
+ # ======================================================================= #
2340
+ # === Urea cycle
2341
+ # ======================================================================= #
2342
+ when '235',
2343
+ /^urea(_|-| |,)?cycle\??$/i,
2344
+ /^the(_|-| |,)?urea(_|-| |,)?cycle\??$/i,
2345
+ /^urea\??$/i
2346
+ 'urea_cycle'
2347
+ # ======================================================================= #
2348
+ # === Pentosephosphatweg
2349
+ # ======================================================================= #
2350
+ when '236',
2351
+ /^Pentosephosphatweg\??$/i,
2352
+ /^Pentosephosphat\??$/i
2353
+ 'pentosephosphatweg'
2354
+ # ======================================================================= #
2355
+ # === Glykogen
2356
+ # ======================================================================= #
2357
+ when '237',
2358
+ /^Glykogen\??$/i,
2359
+ /^Glycogen\??$/i
2360
+ 'glycogen'
2361
+ # ======================================================================= #
2362
+ # === Proteolyse
2363
+ # ======================================================================= #
2364
+ when '238',
2365
+ /^Proteolyse\??$/i
2366
+ 'proteolyse'
2367
+ # ======================================================================= #
2368
+ # === Geometrie
2369
+ # ======================================================================= #
2370
+ when '239',
2371
+ /^geometrie\??$/i
2372
+ 'geometrie'
2373
+ # ======================================================================= #
2374
+ # === Atomemissionsspektrometrie
2375
+ # ======================================================================= #
2376
+ when '240',
2377
+ /^atomemissionsspektrometrie\??$/i
2378
+ 'atomemissionsspektrometrie'
2379
+ # ======================================================================= #
2380
+ # === Kryptographie
2381
+ # ======================================================================= #
2382
+ when '241',
2383
+ /^kryptographie\??$/i,
2384
+ 'latest',
2385
+ 'last' # ← These two entries have to be adjusted manually to the last entry point. (last tag)
2386
+ 'kryptographie'
2387
+ else
2388
+ if be_verbose and !i.to_s.empty?
2389
+ pp caller()
2390
+ puts "In the method Studium.find_corresponding_exam_topic(), we did "\
2391
+ "not find any match for:"
2392
+ puts " `#{i}` (Encoding: #{i.encoding.to_s}."
2393
+ end
2394
+ false # We did not find anything.
2395
+ end
2396
+ end; self.instance_eval { alias sanitize_topic find_corresponding_exam_topic } # === Studium.sanitize_topic
2397
+ self.instance_eval { alias sanitize_this_potential_exam_topic find_corresponding_exam_topic } # === Studium.sanitize_this_potential_exam_topic
2398
+ self.instance_eval { alias expand_this_exam_topic find_corresponding_exam_topic } # === Studium.expand_this_exam_topic
2399
+
2400
+ # ========================================================================= #
2401
+ # === Studium.find_corresponding_exam_title
2402
+ #
2403
+ # This will return the corresponding exam title. It will pass the input
2404
+ # through Studium.find_corresponding_exam_topic().
2405
+ #
2406
+ # Usage examples:
2407
+ #
2408
+ # title = Studium.find_corresponding_exam_title('technische_grundlagen_der_informatik') # => "Technische Grundlagen der Informatik"
2409
+ # title = Studium.find_corresponding_exam_title('mphysio') # => "Mikrobielle Physiologie"
2410
+ #
2411
+ # ========================================================================= #
2412
+ def self.find_corresponding_exam_title(
2413
+ i, be_verbose = true
2414
+ )
2415
+ i = i.to_s.downcase
2416
+ # ======================================================================= #
2417
+ # First, pass the input through a filter:
2418
+ # ======================================================================= #
2419
+ i = ::Studium.find_corresponding_exam_topic(i, be_verbose)
2420
+ # ======================================================================= #
2421
+ # Next we can pass it in via a simple menu here:
2422
+ # ======================================================================= #
2423
+ i = case i
2424
+ # ======================================================================= #
2425
+ # === basic_virology
2426
+ # ======================================================================= #
2427
+ when 'basic_virology'
2428
+ 'Virologie Allgemein'
2429
+ # ======================================================================= #
2430
+ # === advanced_topics_in_plant_sciences
2431
+ # ======================================================================= #
2432
+ when /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant(_|-| |,)?sciences\??$/i,
2433
+ /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant$/i
2434
+ 'Advanced topics in plant sciences'
2435
+ # ======================================================================= #
2436
+ # === basic_chemistry
2437
+ # ======================================================================= #
2438
+ when 'basic_chemistry'
2439
+ 'Chemie'
2440
+ # ======================================================================= #
2441
+ # === mixed
2442
+ # ======================================================================= #
2443
+ when 'mixed'
2444
+ 'Mixed'
2445
+ # ======================================================================= #
2446
+ # === allgemeine_mikrobiologie
2447
+ # ======================================================================= #
2448
+ when 'allgemeine_mikrobiologie'
2449
+ 'Allgemeine Mikrobiologie'
2450
+ # ======================================================================= #
2451
+ # === embryologie_und_entwicklung
2452
+ # ======================================================================= #
2453
+ when 'embryologie_und_entwicklung'
2454
+ 'Entwicklungsbiologie'
2455
+ # ======================================================================= #
2456
+ # === computer
2457
+ # ======================================================================= #
2458
+ when 'computer',
2459
+ /^computer(_|-| |,)?science$/i
2460
+ 'Computer Science'
2461
+ # ======================================================================= #
2462
+ # === pflanzenwissenschaften
2463
+ # ======================================================================= #
2464
+ when 'pflanzenwissenschaften',
2465
+ /^struktur(_|-| |,)?und(_|-| |,)funktion(_|-| |,)?der$/i
2466
+ 'Struktur und Funktion der Pflanzen'
2467
+ when 'allgemeine_genetik'
2468
+ 'Allgemeine Genetik'
2469
+ # === Basic Biotechnology
2470
+ when 'basic_biotechnology',
2471
+ /^basic(_|-| |,)?biotechnology$/i
2472
+ 'Biotechnologie'
2473
+ when 'neurobiology'
2474
+ 'Neurobiologie'
2475
+ when 'zoologie'
2476
+ 'Allgemeine Zoologie'
2477
+ # ======================================================================= #
2478
+ # === medizin
2479
+ # ======================================================================= #
2480
+ when 'medizin',
2481
+ /^medizin(_|-| |,)?und(_|-| |,)?biomedizinische(_|-| |,)?technik$/i
2482
+ 'Medizin und biomedizinische Technik'
2483
+ # ======================================================================= #
2484
+ # === protein engineering
2485
+ # ======================================================================= #
2486
+ when 'protein_engineering'
2487
+ 'Protein Engineering'
2488
+ when 'organische_chemie'
2489
+ 'Organische Chemie'
2490
+ when 'analytische_chemie_1'
2491
+ 'Analytische Chemie'
2492
+ # ======================================================================= #
2493
+ # === ecology
2494
+ # ======================================================================= #
2495
+ when 'ecology'
2496
+ 'Ökologie'
2497
+ # ======================================================================= #
2498
+ # === physiologie
2499
+ # ======================================================================= #
2500
+ when 'physiologie',
2501
+ /^physiology(_|-| |,)?and(_|-| |,)?histology$/i
2502
+ 'Physiology and Histology'
2503
+ # ======================================================================= #
2504
+ # === vektoren
2505
+ # ======================================================================= #
2506
+ when 'vektoren',
2507
+ /^vectors(_|-| |,)?and(_|-| |,)?gene(_|-| |,)?therapy$/i
2508
+ 'Vektoren in der Gentechnologie'
2509
+ when 'ageing'
2510
+ 'Aging'
2511
+ when 'bioprozesstechnik'
2512
+ 'Bioprozesstechnik'
2513
+ when 'technische_mikrobiologie'
2514
+ 'TU Wien Microbiology'
2515
+ when 'cellbiology'
2516
+ 'Cellbiology'
2517
+ when 'physikalische_chemie'
2518
+ 'Physikalische Chemie'
2519
+ when 'verfahrenstechnik'
2520
+ 'Verfahrenstechnik'
2521
+ when 'analytische_chemie_2'
2522
+ 'Analytische Chemie 2'
2523
+ when 'gentechnik',/gentechnik_?und_?praktische_?biochemie$/
2524
+ 'Gentechnik und praktische Biochemie'
2525
+ when 'festkörperchemie','festkÖrperchemie',
2526
+ 'geochemistry',
2527
+ 'festkörper'
2528
+ 'Festkörper Chemie und Geochemie'
2529
+ when 'geologie',
2530
+ 'geologie_und_mineralogie'
2531
+ 'Geologie und Mineralogie'
2532
+ when 'anorganische_chemie'
2533
+ 'Anorganische Chemie'
2534
+ when 'law','rechtsgrundlagen'
2535
+ 'Rechtsgrundlagen'
2536
+ when 'organische_chemie_2'
2537
+ 'Organische Chemie 2'
2538
+ when 'biologie_des_wasser','wasserkunde'
2539
+ 'Wasserkunde'
2540
+ when 'technische_chemie'
2541
+ 'Technische Chemie'
2542
+ when 'biologie'
2543
+ 'Biologie'
2544
+ when 'umweltchemie'
2545
+ 'Umweltchemie'
2546
+ when 'signal_transduction',
2547
+ /^signal(_|-| |,)?transduction(_|-| |,)?and(_|-| |,)?laser(_|-| |,)?systems$/i
2548
+ 'Signaltransduktion und Lasersysteme'
2549
+ when 'paleobiology'
2550
+ 'Paläobiologie'
2551
+ when 'medizinische_chemie',
2552
+ /^medizinische(_| )?chemie(_| )?und(_| )?pharmazie$/
2553
+ 'Medizinische Chemie und Pharmazie'
2554
+ when 'cancerbiology'
2555
+ 'Cancer'
2556
+ # ======================================================================= #
2557
+ # === cytogenetik
2558
+ # ======================================================================= #
2559
+ when 'cytogenetik',
2560
+ /^cytogenetics(_|-| |,)?and(_|-| |,)?chromosome(_|-| |,)?biology$/i
2561
+ 'Cytogenetics and Chromosome Biology'
2562
+ # ======================================================================= #
2563
+ # === urea_cycle
2564
+ # ======================================================================= #
2565
+ when /^urea(_|-| |,)?cycle\??$/i
2566
+ 'The Urea Cycle'
2567
+ # ======================================================================= #
2568
+ # === statistik
2569
+ # ======================================================================= #
2570
+ when 'statistik',
2571
+ /^qastatistik\??$/i
2572
+ 'Statistik'
2573
+ when 'basic_biochemistry'
2574
+ 'Basic Biochemistry'
2575
+ when 'advanced_biochemistry'
2576
+ 'Advanced Biochemistry'
2577
+ when 'fortgeschrittene_physik'
2578
+ 'Fortgeschrittene Physik'
2579
+ when 'advanced_biotechnology'
2580
+ 'Advanced Biotechnology'
2581
+ # ======================================================================= #
2582
+ # === bioanalytik
2583
+ # ======================================================================= #
2584
+ when 'bioanalytik',
2585
+ /^bioanalytik(_|-| |,)?und(_|-| |,)?biosensoren$/
2586
+ 'Bioanalytik und Biosensoren'
2587
+ # ======================================================================= #
2588
+ # === /^genomics(_|-| |,)?and(_|-| |,)?metagenomics$/
2589
+ # ======================================================================= #
2590
+ when 'genomics',
2591
+ /^genomics(_|-| |,)?and(_|-| |,)?metagenomics$/
2592
+ 'Genomik und Metagenomik'
2593
+ # ======================================================================= #
2594
+ # === netzwerke
2595
+ # ======================================================================= #
2596
+ when /^netzwerke\??$/i,
2597
+ /^-?-?computer(_|-| |,)?networks$/
2598
+ 'Computer networks'
2599
+ # ======================================================================= #
2600
+ # === clinical_microbiology
2601
+ # ======================================================================= #
2602
+ when /^clinical(_|-| |,)?microbiology$/
2603
+ 'Clinical Microbiology'
2604
+ # ======================================================================= #
2605
+ # === molekulare_medizin
2606
+ # ======================================================================= #
2607
+ when 'molekulare_medizin'
2608
+ 'Molekulare Medizin'
2609
+ # ======================================================================= #
2610
+ # === technisches_zeichnen
2611
+ # ======================================================================= #
2612
+ when /^technisches(_|-| |,)?zeichnen$/i
2613
+ 'Technisches Zeichnen'
2614
+ # ======================================================================= #
2615
+ # === evolution
2616
+ # ======================================================================= #
2617
+ when 'evolution',
2618
+ /^evolution(_|-| |,)?and(_|-| |,)?evolutionary(_|-| |,)?genetics$/i
2619
+ 'Evolution and Evolutionary Genetics'
2620
+ # ======================================================================= #
2621
+ # === rna_and_dna
2622
+ # ======================================================================= #
2623
+ when 'rna_and_dna'
2624
+ 'DNA und RNA'
2625
+ # ======================================================================= #
2626
+ # === research_topics_in_immunobiology
2627
+ # ======================================================================= #
2628
+ when 'research_topics_in_immunobiology'
2629
+ 'Research topics in Immunobiology'
2630
+ when 'prokaryote_genetics'
2631
+ 'Prokaryote Genetics'
2632
+ when 'anthropologie'
2633
+ 'Anthropologie'
2634
+ when 'fortgeschrittene_gentechnik'
2635
+ 'Fortgeschrittene Gentechnik'
2636
+ when 'fortgeschrittene_genetik'
2637
+ 'Fortgeschrittene Genetik'
2638
+ when 'pcr'
2639
+ 'PCR'
2640
+ when 'populationsgenetik'
2641
+ 'Populationsgenetik'
2642
+ # ======================================================================= #
2643
+ # === ecogenetics
2644
+ # ======================================================================= #
2645
+ when 'ecogenetics'
2646
+ 'Ökogenetik'
2647
+ # ======================================================================= #
2648
+ # === pathologie
2649
+ # ======================================================================= #
2650
+ when 'pathologie'
2651
+ 'Pathologie'
2652
+ # ======================================================================= #
2653
+ # === chemisches_labor
2654
+ # ======================================================================= #
2655
+ when /^chemisches(_|-| |,)?labor$/i
2656
+ 'Chemisches Labor'
2657
+ # ======================================================================= #
2658
+ # === theoretische_chemie
2659
+ # ======================================================================= #
2660
+ when 'theoretische_chemie'
2661
+ 'Theoretische Chemie'
2662
+ # ======================================================================= #
2663
+ # === plant_biotechnology
2664
+ # ======================================================================= #
2665
+ when 'plant_biotechnology'
2666
+ 'Plant Biotechnology'
2667
+ when 'advanced_virology'
2668
+ 'Advanced Virology'
2669
+ when 'microbial_ecology'
2670
+ 'Mikrobielle Ökologie'
2671
+ # === the_cellcycle
2672
+ when 'the_cellcycle',
2673
+ /^the(_|-| |,)?cell(_|-| |,)?cycle$/i
2674
+ 'The Cellcycle'
2675
+ when 'bioressourcenmanagement'
2676
+ 'Bioressourcenmanagement'
2677
+ when /^object(_|-| |,)?oriented(_|-| |,)?modeling$/i
2678
+ 'Objekt-orientiertes Modellieren'
2679
+ when 'technical_ecology'
2680
+ 'Technische Ökologie'
2681
+ when 'agrar_ecology'
2682
+ 'Agrarökologie'
2683
+ when 'veterinary_medicine'
2684
+ 'Veterinärmedizin'
2685
+ when 'advanced_chemistry'
2686
+ 'Advanced Chemistry'
2687
+ when 'landtechnik'
2688
+ 'Grundlagen der Landtechnik'
2689
+ when 'agrarmarkt'
2690
+ 'Agrarmärkte'
2691
+ when 'human_ecology'
2692
+ 'Humanökologie'
2693
+ when 'quality_management'
2694
+ 'Quality Management'
2695
+ # ======================================================================= #
2696
+ # === artificial_intelligence
2697
+ # ======================================================================= #
2698
+ when 'artificial_intelligence'
2699
+ 'Artificial Intelligence'
2700
+ when 'translational_control',
2701
+ /^translation_?ribosomes_?and_?translational_?control$/
2702
+ 'Translation, Ribosomes and Translational Control'
2703
+ when 'posttranslationale_modifikation_von_proteinen'
2704
+ 'Posttranslationale Modifikation von Proteinen'
2705
+ when 'bodenmikrobiologie'
2706
+ 'Bodenmikrobiologie'
2707
+ when 'stemcells'
2708
+ 'Stammzellen'
2709
+ # ======================================================================= #
2710
+ # === plant_breeding
2711
+ # ======================================================================= #
2712
+ when 'plant_breeding'
2713
+ 'Pflanzenzüchtung (Plant Breeding)'
2714
+ when 'aminoacids'
2715
+ 'Amino Acids'
2716
+ # === enzymes
2717
+ when 'enzymes',
2718
+ /^enzymes(_|-| |,)?and(_|-| |,)?cofactors$/i
2719
+ 'Enzymes and Cofactors'
2720
+ when 'advanced_microbiology'
2721
+ 'Advanced Microbiology'
2722
+ when 'antibodies',/^antibodies(_|-| |,)?and(_|-| |,)?antigens$/
2723
+ 'Antibodies and Antigens'
2724
+ when 'molecular_biology_of_plants',
2725
+ /^molecular(_|-| |,)?biology(_|-| |,)?of(_|-| |,)?the$/i
2726
+ 'Molecular Biology of the Plant'
2727
+ when 'lebensmitteltechnologie'
2728
+ 'Lebensmitteltechnologie'
2729
+ when 'universe','the_universe'
2730
+ 'The Universe'
2731
+ when 'advanced_cellbiology'
2732
+ 'Advanced Cell Biology'
2733
+ # === insulin
2734
+ when 'insulin',
2735
+ /^insulin(_|-| |,)?and(_|-| |,)?diabetes$/
2736
+ 'Insulin and Diabetes'
2737
+ # === rna_seq
2738
+ when 'rna_seq'
2739
+ 'RNA Seq'
2740
+ # === innate_immunity
2741
+ when 'innate_immunity'
2742
+ 'Innate Immunity'
2743
+ when 'genetische_krankheiten'
2744
+ 'Genetische Krankheiten'
2745
+ when 'systematische_zoologie'
2746
+ 'Systematische Zoologie'
2747
+ when /^betriebssysteme?$/
2748
+ 'Betriebssysteme'
2749
+ when 'the_c_programming_language'
2750
+ 'The C Programming Language'
2751
+ when 'fish'
2752
+ 'FISH - Fluorescence in-situ hybridization'
2753
+ when 'ruby_on_rails'
2754
+ 'Ruby on Rails'
2755
+ when 'viral_vectors'
2756
+ 'Virale Vektoren'
2757
+ when 'plant_development'
2758
+ 'Plant Development'
2759
+ when 'grassland_cultivation','grünlandwirtschaft'
2760
+ 'Grünlandbewirtschaftung (Grassland cultivation)'
2761
+ when 'ecological_agriculture'
2762
+ 'Ökologische Landwirtschaft (Ecological Agriculture)'
2763
+ when 'the_european_union'
2764
+ 'The European Union'
2765
+ when 'lipids'
2766
+ 'Lipide'
2767
+ when 'nucleotide_sequencing'
2768
+ 'Nucleotide Sequencing'
2769
+ when 'databases','datenbanken','database',
2770
+ /^databases(_|-| |,)?and(_|-| |,)?sql$/
2771
+ 'Databases and SQL'
2772
+ when 'biological_therapeutics'
2773
+ 'Biological Therapeutics'
2774
+ # ======================================================================= #
2775
+ # === alcohols
2776
+ # ======================================================================= #
2777
+ when 'alcohols','alkohole'
2778
+ 'Alkohole'
2779
+ # ======================================================================= #
2780
+ # === mikrobielle_physiologie
2781
+ # ======================================================================= #
2782
+ when 'mikrobielle_physiologie'
2783
+ 'Mikrobielle Physiologie'
2784
+ # ======================================================================= #
2785
+ # === technische_grundlagen_der_informatik
2786
+ # ======================================================================= #
2787
+ when /^technische(_|-| |,)?grundlagen(_|-| |,)?der(_|-| |,)?informatik$/i
2788
+ 'Technische Grundlagen der Informatik'
2789
+ # ======================================================================= #
2790
+ # === patent_law
2791
+ # ======================================================================= #
2792
+ when /^patent(_|-| |,)?law\??$/i
2793
+ 'Patent Law'
2794
+ # ======================================================================= #
2795
+ # === the_c_plus_plus_programming_language
2796
+ # ======================================================================= #
2797
+ when 'the_c_plus_plus_programming_language'
2798
+ 'The C++ programming language'
2799
+ # ======================================================================= #
2800
+ # === semisynthese_von_proteinen_und_nukleotiden
2801
+ # ======================================================================= #
2802
+ when 'semisynthese_von_proteinen_und_nukleotiden',
2803
+ 'semisynthese_von_proteinen'
2804
+ 'Semisynthese von Proteinen und Nukleotiden'
2805
+ # ======================================================================= #
2806
+ # === naturschutz
2807
+ # ======================================================================= #
2808
+ when 'naturschutz',
2809
+ /^nature(_|-| |,)?conservation(_|-| |,)?and(_|-| |,)?biodiversity(_|-| |,)?$/i
2810
+ 'Naturschutz und Biodiversität'
2811
+ # ======================================================================= #
2812
+ # === biochips
2813
+ # ======================================================================= #
2814
+ when 'biochips',
2815
+ /^biochips(_|-| |,)?and(_|-| |,)?microarray$/i
2816
+ 'Biochips and Microarray'
2817
+ # ======================================================================= #
2818
+ # === urbanism
2819
+ # ======================================================================= #
2820
+ when 'urbanism','urbanism_and_traffic'
2821
+ 'Urbanism and Traffic'
2822
+ # ======================================================================= #
2823
+ # === vaccines_and_vaccination
2824
+ # ======================================================================= #
2825
+ when 'vaccines_and_vaccination'
2826
+ 'Vaccines and Vaccination'
2827
+ # ======================================================================= #
2828
+ # === glycolysis
2829
+ # ======================================================================= #
2830
+ when 'glycolysis',
2831
+ /^glycolysis\??$/i
2832
+ 'Die Glykolyse'
2833
+ # ======================================================================= #
2834
+ # === gluconeogenesis
2835
+ # ======================================================================= #
2836
+ when 'gluconeogenesis',
2837
+ 'gluco',
2838
+ /^gluconeogenesis\??$/i
2839
+ 'Die Gluconeogenesis'
2840
+ # ======================================================================= #
2841
+ # === rnai
2842
+ # ======================================================================= #
2843
+ when /^RNAi$/i,/^RNAi(_|-| |,)?siRNA(_|-| |,)?and(_|-| |,)?miRNA$/i,
2844
+ /^miRNA$/i
2845
+ 'RNAi, siRNA and miRNA'
2846
+ # ======================================================================= #
2847
+ # === mikrobielle_lebensgemeinschaften
2848
+ # ======================================================================= #
2849
+ when /^mikrobielle(_|-| |,)?lebensgemeinschaften$/
2850
+ 'Mikrobielle Lebensgemeinschaften'
2851
+ # ======================================================================= #
2852
+ # === theoretische_informatik
2853
+ # ======================================================================= #
2854
+ when /^theoretische(_|-| |,)?informatik$/
2855
+ 'Theoretische Informatik'
2856
+ # ======================================================================= #
2857
+ # === javascript
2858
+ # ======================================================================= #
2859
+ when 'javascript'
2860
+ 'JavaScript'
2861
+ # ======================================================================= #
2862
+ # === system_biology
2863
+ # ======================================================================= #
2864
+ when 'system_biology',
2865
+ /^system(_|-| |,)?biology(_|-| |,)?and(_|-| |,)?synthetic(_|-| |,)?biology$/
2866
+ 'System Biology and Synthetic Biology'
2867
+ # ======================================================================= #
2868
+ # === architecture
2869
+ # ======================================================================= #
2870
+ when 'architecture','architektur'
2871
+ 'Architektur'
2872
+ # ======================================================================= #
2873
+ # === dna_replication
2874
+ # ======================================================================= #
2875
+ when 'dna_replication'
2876
+ 'DNA Replication'
2877
+ # ======================================================================= #
2878
+ # === endospores_and_spores
2879
+ # ======================================================================= #
2880
+ when 'endospores_and_spores',
2881
+ /^endosporen(_|-| |,)?und(_|-| |,)?sporen$/i
2882
+ 'Endosporen und Sporen'
2883
+ # ======================================================================= #
2884
+ # === the_bacterial_cell_wall
2885
+ # ======================================================================= #
2886
+ when 'the_bacterial_cell_wall'
2887
+ 'The bacterial cell wall'
2888
+ # ======================================================================= #
2889
+ # === biofilms
2890
+ # ======================================================================= #
2891
+ when 'biofilms'
2892
+ 'Biofilme'
2893
+ # ======================================================================= #
2894
+ # === bacteriophages
2895
+ # ======================================================================= #
2896
+ when 'bacteriophages','phages'
2897
+ 'Bakteriophagen'
2898
+ # ======================================================================= #
2899
+ # === dna_mutation_and_dna_repair
2900
+ # ======================================================================= #
2901
+ when /^dna(_|-| |,)?mutation(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repa?i?r?$/,
2902
+ 'dna_mutation_and_dna_repair',
2903
+ 'mutation'
2904
+ 'DNA Mutation and DNA repair'
2905
+ # ======================================================================= #
2906
+ # === the_interferon_system
2907
+ # ======================================================================= #
2908
+ when /^the(_|-| |,)?interferon(_|-| |,)?system$/i
2909
+ 'The Interferon system'
2910
+ # ======================================================================= #
2911
+ # === pharmazeutische_biotechnologie
2912
+ # ======================================================================= #
2913
+ when /^pharmazeutische(_|-| |,)?biotechnologie$/i,
2914
+ /^pharmaceutical(_|-| |,)?biotechnology$/i
2915
+ 'Pharmaceutical Biotechnology'
2916
+ # ======================================================================= #
2917
+ # === molekulare_infektionsbiologie
2918
+ # ======================================================================= #
2919
+ when /^molekulare(_|-| |,)?infektionsbiologie$/i,
2920
+ /^parasitic(_|-| |,)?diseases(_|-| |,)?and(_|-| |,)?molecular(_|-| |,)?infection(_|-| |,)?biology$/i
2921
+ 'Parasitic Diseases and Molecular Infection Biology'
2922
+ # ======================================================================= #
2923
+ # === structural_bioinformatics
2924
+ # ======================================================================= #
2925
+ when /^structural(_|-| |,)?bioinformatics$/i
2926
+ 'Structural Bioinformatics'
2927
+ # ======================================================================= #
2928
+ # === computer_graphics
2929
+ # ======================================================================= #
2930
+ when /^computer(_|-| |,)?graphics$/i
2931
+ 'Computer Graphics'
2932
+ # ======================================================================= #
2933
+ # === food_microbiologiy
2934
+ # ======================================================================= #
2935
+ when /^food(_|-| |,)?microbiology$/i,
2936
+ /^food(_|-| |,)?microbiology(_|-| |,)?and(_|-| |,)?food(_|-| |,)?biotechnology$/i
2937
+ 'Food Microbiology and Food Biotechnology'
2938
+ when 'chemische_technologie_anorganischer_stoffe'
2939
+ 'Chemische Technologie anorganischer Stoffe'
2940
+ # ======================================================================= #
2941
+ # === HTML
2942
+ # ======================================================================= #
2943
+ when 'html'
2944
+ 'HTML'
2945
+ # ======================================================================= #
2946
+ # === splicing_exons_and_introns
2947
+ # ======================================================================= #
2948
+ when /^splicing_exons_and_introns$/i
2949
+ 'Splicing, Exons and Introns'
2950
+ # ======================================================================= #
2951
+ # === cell_cultures
2952
+ # ======================================================================= #
2953
+ when /^cell(_|-| |,)?cultures$/i
2954
+ 'Cell cultures'
2955
+ # ======================================================================= #
2956
+ # === chemotaxis_and_motility_in_prokaryotes
2957
+ # ======================================================================= #
2958
+ when /^chemotaxis(_|-| |,)?and(_|-| |,)?motility(_|-| |,)?in(_|-| |,)?prokaryotes\??$/i
2959
+ 'Chemotaxies and motility in prokaryotes'
2960
+ # ======================================================================= #
2961
+ # === cellular_transport_and_protein_secretion
2962
+ # ======================================================================= #
2963
+ when /^cellular(_|-| |,)?transport/i,
2964
+ /^cellular(_|-| |,)?transport(_|-| |,)?and(_|-| |,)?protein(_|-| |,)?secretion$/i
2965
+ 'Cellular transport and protein secretion'
2966
+ # ======================================================================= #
2967
+ # === elisa
2968
+ # ======================================================================= #
2969
+ when /^elisa$/i
2970
+ 'ELISA'
2971
+ # ======================================================================= #
2972
+ # === mikroskopie
2973
+ # ======================================================================= #
2974
+ when 'mikroskope','mikroskopie',
2975
+ /^imaging(_|-| |,)?and(_|-| |,)?microscopy$/i
2976
+ 'Imaging and Microscopy'
2977
+ # ======================================================================= #
2978
+ # === scientific_writing
2979
+ # ======================================================================= #
2980
+ when /^scientific(_|-| |,)?writing$/i,
2981
+ /^scientific(_|-| |,)?writing(_|-| |,)?and(_|-| |,)?publishing$/i
2982
+ 'Scientific writing and publishing'
2983
+ # ======================================================================= #
2984
+ # === peroxisomes
2985
+ # ======================================================================= #
2986
+ when /^peroxisomes$/i,
2987
+ /^peroxisomes(_|-| |,)?glycosomes(_|-| |,)?and(_|-| |,)?lysosomes\??$/i
2988
+ 'Peroxisomes, Glycosomes and Lysosomes'
2989
+ # ======================================================================= #
2990
+ # === the_microbiome
2991
+ # ======================================================================= #
2992
+ when /^the(_|-| |,)?microbiome$/i
2993
+ 'The Microbiome'
2994
+ # ======================================================================= #
2995
+ # === elektrotechnik
2996
+ # ======================================================================= #
2997
+ when /^elektrotechnik$/i,
2998
+ /^elektrotechnik(_|-| |,)?und(_|-| |,)?elektrizität$/i
2999
+ 'Elektrotechnik und Elektrizität'
3000
+ # ======================================================================= #
3001
+ # === fluorescence_microscopy
3002
+ # ======================================================================= #
3003
+ when /^fluorescence(_|-| |,)?microscopy\??$/i
3004
+ 'Fluorescence Microscopy'
3005
+ # ======================================================================= #
3006
+ # === citric_acid_cycle
3007
+ # ======================================================================= #
3008
+ when /^citric(_|-| |,)?acid(_|-| |,)?cycle$/i
3009
+ 'Citric Acid Cycle'
3010
+ # ======================================================================= #
3011
+ # === mess_und_regeltechnik
3012
+ # ======================================================================= #
3013
+ when /^messtechnik(_|-| |,)?und(_|-| |,)?regeltechnik$/i
3014
+ 'Messtechnik und Regeltechnik'
3015
+ # ======================================================================= #
3016
+ # === abfall
3017
+ # ======================================================================= #
3018
+ when 'abfall',
3019
+ 'abfall_als_ressource'
3020
+ 'Abfall als Ressource'
3021
+ # ======================================================================= #
3022
+ # === python (and more)
3023
+ # ======================================================================= #
3024
+ when 'python','archaea','cyanobacteria','naturstoffe',
3025
+ 'biopolymers',
3026
+ 'bionik',
3027
+ 'vitamine',
3028
+ 'biomembranes',
3029
+ /^transcription$/,
3030
+ 'pflanzenanatomie',
3031
+ 'toxikologie',
3032
+ 'forensik',
3033
+ 'tierzucht',
3034
+ 'biomarkers',
3035
+ 'forstwirtschaft',
3036
+ 'java', # === java
3037
+ 'strukturbiologie',
3038
+ 'geschichte',
3039
+ 'wissenschaft',
3040
+ /^geography$/i,
3041
+ /^geographie$/i,
3042
+ 'informatik',
3043
+ /^excel$/i,
3044
+ 'sexualbiologie',
3045
+ 'betriebswirtschaftslehre',
3046
+ 'klima',
3047
+ 'macroeconomics',
3048
+ 'biomaterials',
3049
+ 'linux',
3050
+ 'elektronenmikroskopie',
3051
+ 'allergie',
3052
+ 'prozesstechnik',
3053
+ 'glykomik',
3054
+ 'glyoxylatzyklus',
3055
+ 'weinbau',
3056
+ 'lebensmittel',
3057
+ 'fungi',
3058
+ 'crispr',
3059
+ 'yeast',
3060
+ 'ruby',
3061
+ 'ethik',
3062
+ 'physik',
3063
+ 'anatomie',
3064
+ 'obstbau',
3065
+ 'hormone',
3066
+ 'nanotechnologie',
3067
+ 'management',
3068
+ 'bauwesen',
3069
+ 'economy',
3070
+ 'nutztierethologie',
3071
+ 'genexpression',
3072
+ 'apoptosis',
3073
+ 'immunologie',
3074
+ 'biophysik',
3075
+ 'pflanzenbau',
3076
+ 'elektrophorese',
3077
+ 'insekten',
3078
+ /^chemische(_|-| |,)?technologie(_|-| |,)?organischer(_|-| |,)?stoffe$/i,
3079
+ 'hygiene',
3080
+ 'cellulose',
3081
+ 'immunanalytik',
3082
+ 'immunoassay',
3083
+ 'microcontrollers',
3084
+ 'mitochondria',
3085
+ 'pflanzenschutz',
3086
+ /^projektmanagement$/i,
3087
+ 'mathematics',
3088
+ 'algorithms',
3089
+ 'psychologie',
3090
+ 'stickstofffixierung',
3091
+ 'cytokines',
3092
+ 'agrarphysik',
3093
+ 'epigenetik',
3094
+ 'pentosephosphatweg',
3095
+ 'bioelektrochemie',
3096
+ 'glycogen',
3097
+ 'proteolyse',
3098
+ 'proteomik',
3099
+ 'metabolismus',
3100
+ 'geometrie',
3101
+ 'audio',
3102
+ 'umweltbiotechnologie',
3103
+ 'parasitologie',
3104
+ 'bodenkunde',
3105
+ 'atomemissionsspektrometrie',
3106
+ 'bioinformatics',
3107
+ 'kryptographie',
3108
+ 'phytochemie'
3109
+ i.capitalize
3110
+ end
3111
+ return i
3112
+ end; self.instance_eval { alias expand find_corresponding_exam_title } # === Studium.expand
3113
+ self.instance_eval { alias beautify_this_topic find_corresponding_exam_title } # === Studium.beautify_this_topic
3114
+ self.instance_eval { alias beautiful_topic find_corresponding_exam_title } # === Studium.beautiful_topic
3115
+ self.instance_eval { alias beautiful_topic find_corresponding_exam_title } # === Studium.beautiful_topic
3116
+ self.instance_eval { alias pretty_topic_name find_corresponding_exam_title } # === Studium.pretty_topic_name
3117
+
3118
+ # ========================================================================= #
3119
+ # === Studium.map_meta_exam_theme_to_corresponding_exam_themes
3120
+ #
3121
+ # Input to this method should be like "meta_biochem". This input
3122
+ # will then be split up into e. g. "aa", "bem1", "bem2" and so
3123
+ # forth, which correspond to exam topics such as "aminoacids",
3124
+ # "biochemistry1", "biochemistry" and so forth.
3125
+ #
3126
+ # Since as of 03.07.2020 this method depends on the yaml file
3127
+ # called grouped_themes.yml.
3128
+ #
3129
+ # On my home system it can be found here:
3130
+ #
3131
+ # bl $RUBY_STUDIUM/yaml/grouped_themes.yml
3132
+ #
3133
+ # ========================================================================= #
3134
+ def self.map_meta_exam_theme_to_corresponding_exam_themes(i, dataset = nil)
3135
+ if dataset.nil?
3136
+ dataset = YAML.load_file(Studium.file_grouped_themes)
3137
+ end
3138
+ return_this = i.dup
3139
+ case return_this # case tag
3140
+ # ======================================================================= #
3141
+ # === n_exams_in_this_topic meta_immunology
3142
+ #
3143
+ # Everything related to Immunology.
3144
+ # ======================================================================= #
3145
+ when /meta(_|-| |,)?immunology$/,
3146
+ /meta(_|-| |,)?immuno$/,
3147
+ /meta(_|-| |,)?imm$/,
3148
+ /meta7/
3149
+ return_this = dataset['immunology']
3150
+ # ======================================================================= #
3151
+ # === n_exams_in_this_topic meta_upcoming_exams
3152
+ #
3153
+ # Invocation example:
3154
+ #
3155
+ # meta_upcoming_exams
3156
+ # metaupcomingexams
3157
+ #
3158
+ # ======================================================================= #
3159
+ when /meta(_|-| |,)?upcoming(_|-| |,)?_exams/,
3160
+ /meta(_|-| |,)?upcoming$/i
3161
+ return_this = dataset['upcoming_exams']
3162
+ # ======================================================================= #
3163
+ # === n_exams_in_this_topic meta_vectors
3164
+ #
3165
+ # Topics that may belong to the "metatopic" virology.
3166
+ #
3167
+ # Invocation example:
3168
+ #
3169
+ # n_exams_in_this_topic meta_virology
3170
+ #
3171
+ # ======================================================================= #
3172
+ when /meta(_|-| |,)?virology$/,
3173
+ /meta(_|-| |,)?virologie$/,
3174
+ /meta(_|-| |,)?vectors$/
3175
+ return_this = dataset['virology']
3176
+ # ======================================================================= #
3177
+ # === n_exams_in_this_topic meta_chemistry
3178
+ #
3179
+ # Everything related to chemistry is stored here.
3180
+ # ======================================================================= #
3181
+ when /^meta(_|-| |,)?chemistry/, # ← metachem
3182
+ /^meta(_|-| |,)?chem$/,
3183
+ /meta6/
3184
+ return_this = dataset['chemistry']
3185
+ # ======================================================================= #
3186
+ # === n_exams_in_this_topic meta_biochem
3187
+ #
3188
+ # All topics related to biochemistry are gathered here.
3189
+ # ======================================================================= #
3190
+ when /^-?-?meta(_|-| |,)?biochemistry$/i,
3191
+ /^-?-?meta(_|-| |,)?biochem$/i,
3192
+ /^-?-?meta(_|-| |,)?biochemistry2/,
3193
+ /^-?-?meta(_|-| |,)?biochem2/,
3194
+ /^-?-?meta(_|-| |,)?advanced(_|-| |,)?biochemistry/,
3195
+ /^-?-?meta1$/i
3196
+ return_this = dataset['biochemistry']
3197
+ # ======================================================================= #
3198
+ # === n_exams_in_this_topic meta_chemistry
3199
+ #
3200
+ # Everything related to informatics/programming is stored here.
3201
+ # ======================================================================= #
3202
+ when /^meta(_|-| |,)?informatics?$/i, # ← metainformatics
3203
+ /^meta(_|-| |,)?programming$/
3204
+ return_this = dataset['programming']
3205
+ # ======================================================================= #
3206
+ # === n_exams_in_this_topic meta_biotechnology
3207
+ #
3208
+ # Everything related to biotechnology.
3209
+ # ======================================================================= #
3210
+ when /^meta(_|-| |,)?biotechnology$/, # ← metabiotechnology
3211
+ /^meta(_|-| |,)?biotech$/
3212
+ return_this = dataset['biotechnology']
3213
+ # ======================================================================= #
3214
+ # === n_exams_in_this_topic meta_gentechnik
3215
+ # ======================================================================= #
3216
+ when /meta(_|-| |,)?gentechnik$/i,
3217
+ /meta(_|-| |,)?gentech$/i
3218
+ return_this = dataset['genetechnology']
3219
+ # ======================================================================= #
3220
+ # === n_exams_in_this_topic meta_cellbiology
3221
+ #
3222
+ # Everything related to cell biology is stored here.
3223
+ # ======================================================================= #
3224
+ when /meta(_|-| |,)?cellbiology/ # ← metacellbio
3225
+ return_this = dataset['cellbiology']
3226
+ # ======================================================================= #
3227
+ # === n_exams_in_this_topic meta_genetics
3228
+ #
3229
+ # Everything related to genes is stored here.
3230
+ # ======================================================================= #
3231
+ when /^meta(_|-| |,)?genetics/ # ← metagen
3232
+ return_this = dataset['genetics']
3233
+ # ======================================================================= #
3234
+ # === n_exams_in_this_topic meta_microbiology
3235
+ #
3236
+ # Everything related to genes is stored here.
3237
+ # ======================================================================= #
3238
+ when /^meta(_|-| |,)?microbiology$/i,
3239
+ /^meta(_|-| |,)?mikrobiologie$/i,
3240
+ /^meta(_|-| |,)?micro$/i,
3241
+ /^microbiology$/i
3242
+ return_this = dataset['microbiology']
3243
+ # ======================================================================= #
3244
+ # === n_exams_in_this_topic meta_zoology
3245
+ # ======================================================================= #
3246
+ when /meta(_|-| |,)?zoology/
3247
+ return_this = dataset['zoology']
3248
+ # ======================================================================= #
3249
+ # === n_exams_in_this_topic meta_plants
3250
+ # ======================================================================= #
3251
+ when /meta(_|-| |,)?plants/,
3252
+ /meta5/
3253
+ return_this = dataset['plants']
3254
+ end
3255
+ if return_this.is_a? Array
3256
+ return_this = return_this.map {|inner_line|
3257
+ find_corresponding_exam_topic(inner_line)
3258
+ }
3259
+ else
3260
+ find_corresponding_exam_topic(return_this)
3261
+ end
3262
+ return return_this
3263
+ end
3264
+
3265
+ # ========================================================================= #
3266
+ # === Studium.obtain_random_topic
3267
+ #
3268
+ # This may be used like so:
3269
+ #
3270
+ # Studium.obtain_random_topic # => "rna_and_dna"
3271
+ #
3272
+ # ========================================================================= #
3273
+ def self.obtain_random_topic
3274
+ Studium.find_corresponding_exam_topic(:random)
3275
+ end
3276
+
3277
+ # ========================================================================= #
3278
+ # === Studium.is_this_exam_topic_registered?(this_topic)
3279
+ #
3280
+ # This method can be used to find out whether the given input is
3281
+ # a registered exam topic or not.
3282
+ #
3283
+ # Usage example:
3284
+ #
3285
+ # Studium.is_this_exam_topic_registered?('rbroken')
3286
+ #
3287
+ # ========================================================================= #
3288
+ def self.is_this_exam_topic_registered?(this_topic)
3289
+ Studium.find_corresponding_exam_topic(this_topic, :be_quiet)
3290
+ end
3291
+
3292
+ # ========================================================================= #
3293
+ # === Studium.is_this_an_exam_topic?
3294
+ #
3295
+ # This method will determine whether the given input to this method
3296
+ # is a valid exam topic or whether it is not.
3297
+ #
3298
+ # Usage examples:
3299
+ #
3300
+ # Studium.is_this_an_exam_topic?('rbroken') # => false
3301
+ # Studium.is_this_an_exam_topic?('amg1') # => true
3302
+ # Studium.is_this_an_exam_topic?('amg11') # => false
3303
+ #
3304
+ # ========================================================================= #
3305
+ def self.is_this_an_exam_topic?(i = :amg)
3306
+ expanded = find_corresponding_exam_topic(i, :be_quiet)
3307
+ return true if expanded
3308
+ return false
3309
+ end; self.instance_eval { alias is_this_exam_topic_available? is_this_an_exam_topic? } # === is_this_exam_topic_available?
3310
+
3311
+ # ========================================================================= #
3312
+ # === Studium.return_location_to_this_exam_topic
3313
+ #
3314
+ # This method can be used to return the location to an exam topic.
3315
+ # ========================================================================= #
3316
+ def self.return_location_to_this_exam_topic(i)
3317
+ i = i.first if i.is_a? Array
3318
+ i = ::Studium.find_corresponding_exam_topic(i.to_s)
3319
+ return "#{::Studium.exam_topics?}#{i}"
3320
+ end; self.instance_eval { alias return_location_to_this_exam return_location_to_this_exam_topic } # === Studium.return_location_to_this_exam_topic
3321
+
3322
+ # ========================================================================= #
3323
+ # === Studium.sanitize_this_theme_topic
3324
+ #
3325
+ # This method will take input such as 'math' and sanitize it towards
3326
+ # the longer (and correct) name called 'mathematics'.
3327
+ # ========================================================================= #
3328
+ def self.sanitize_this_theme_topic(topic)
3329
+ case topic # Add some aliases (case tag, aliases tag, alias tag)
3330
+ # ======================================================================= #
3331
+ # === theoretische_informatik
3332
+ # ======================================================================= #
3333
+ when 'theoretische_informatik'
3334
+ topic = 'theoretical informatics'
3335
+ # ======================================================================= #
3336
+ # === mathematik
3337
+ # ======================================================================= #
3338
+ when 'mathematik',
3339
+ 'mathematic',
3340
+ 'maths',
3341
+ 'math'
3342
+ topic = 'mathematics'
3343
+ # ======================================================================= #
3344
+ # === plants
3345
+ # ======================================================================= #
3346
+ when 'plants'
3347
+ topic = 'plant sciences'
3348
+ # ======================================================================= #
3349
+ # === bioprocess
3350
+ # ======================================================================= #
3351
+ when 'bioprocess',
3352
+ 'bioprozess'
3353
+ topic = 'bioprocess technology'
3354
+ # ======================================================================= #
3355
+ # === biochemie
3356
+ # ======================================================================= #
3357
+ when 'biochemie','biochem'
3358
+ topic = 'biochemistry'
3359
+ # ======================================================================= #
3360
+ # === chemie
3361
+ # ======================================================================= #
3362
+ when 'chemie',
3363
+ 'chem'
3364
+ topic = 'chemistry'
3365
+ # ======================================================================= #
3366
+ # === patho
3367
+ # ======================================================================= #
3368
+ when 'patho',
3369
+ 'pathologie'
3370
+ topic = 'pathology'
3371
+ # ======================================================================= #
3372
+ # === organic_chemistry
3373
+ # ======================================================================= #
3374
+ when 'organic_chemistry'
3375
+ topic = 'organic chemistry'
3376
+ # ======================================================================= #
3377
+ # === mikrobiologie
3378
+ # ======================================================================= #
3379
+ when 'mikrobiologie'
3380
+ topic = 'microbiology'
3381
+ # ======================================================================= #
3382
+ # === biotech
3383
+ # ======================================================================= #
3384
+ when 'biotech'
3385
+ topic = 'biotechnology'
3386
+ # ======================================================================= #
3387
+ # === immuno
3388
+ # ======================================================================= #
3389
+ when 'immuno',
3390
+ 'imuno',
3391
+ 'immunologie'
3392
+ topic = 'immunology'
3393
+ # ======================================================================= #
3394
+ # === diseases
3395
+ # ======================================================================= #
3396
+ when 'diseases'
3397
+ topic = 'disease'
3398
+ # ======================================================================= #
3399
+ # === genetik
3400
+ # ======================================================================= #
3401
+ when 'genetik'
3402
+ topic = 'genetics'
3403
+ # ======================================================================= #
3404
+ # === bioinformatik
3405
+ # ======================================================================= #
3406
+ when 'bioinformatik',
3407
+ 'bioinfo'
3408
+ topic = 'bioinformatics'
3409
+ # ======================================================================= #
3410
+ # === botany
3411
+ # ======================================================================= #
3412
+ when 'botany',
3413
+ 'pflants',
3414
+ 'pflanzen'
3415
+ topic = 'plants'
3416
+ # ======================================================================= #
3417
+ # === cellbio
3418
+ # ======================================================================= #
3419
+ when 'cellbio',
3420
+ 'cell'
3421
+ topic = 'cellbiology'
3422
+ # ======================================================================= #
3423
+ # === virus
3424
+ # ======================================================================= #
3425
+ when 'virus',
3426
+ 'viruses'
3427
+ topic = 'virology'
3428
+ end
3429
+ return topic
3430
+ end
3431
+
3432
+ end
3433
+
3434
+ if __FILE__ == $PROGRAM_NAME
3435
+ alias e puts
3436
+ p Studium.find_corresponding_exam_topic 1
3437
+ p Studium.find_corresponding_exam_topic :rand
3438
+ p Studium.find_corresponding_exam_title 'am'
3439
+ p Studium.find_corresponding_exam_title 'hor'
3440
+ pp Studium.map_meta_exam_theme_to_corresponding_exam_themes('meta_biochem')
3441
+ e Studium.sanitize_this_theme_topic('math') # ← Just for testing.
3442
+ end # findcorrespondingexamtopic amg