No description
  • Python 90.6%
  • Go Template 8.1%
  • Shell 0.9%
  • HTML 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Streit e0af697131 ré-init
2023-06-04 10:21:55 +02:00
.vscode ré-init 2023-06-04 10:21:55 +02:00
Archives ré-init 2023-06-04 10:21:55 +02:00
BE ré-init 2023-06-04 10:21:55 +02:00
BE-ZH ré-init 2023-06-04 10:21:55 +02:00
Blank sentences.old ré-init 2023-06-04 10:21:55 +02:00
BlankSentences ré-init 2023-06-04 10:21:55 +02:00
Chapter-assignments ré-init 2023-06-04 10:21:55 +02:00
CharacterExercises ré-init 2023-06-04 10:21:55 +02:00
COMP ré-init 2023-06-04 10:21:55 +02:00
DialoguesTexts ré-init 2023-06-04 10:21:55 +02:00
Download ré-init 2023-06-04 10:21:55 +02:00
generators ré-init 2023-06-04 10:21:55 +02:00
Grammaire ré-init 2023-06-04 10:21:55 +02:00
Grammar exercise files ré-init 2023-06-04 10:21:55 +02:00
Grammar exercises Project ré-init 2023-06-04 10:21:55 +02:00
Identify_characters_column_template ré-init 2023-06-04 10:21:55 +02:00
LCAQ ré-init 2023-06-04 10:21:55 +02:00
LCAQ-One ré-init 2023-06-04 10:21:55 +02:00
LCDDC ré-init 2023-06-04 10:21:55 +02:00
LCDDE ré-init 2023-06-04 10:21:55 +02:00
LCFB ré-init 2023-06-04 10:21:55 +02:00
LCFB-One ré-init 2023-06-04 10:21:55 +02:00
LCFC ré-init 2023-06-04 10:21:55 +02:00
LCFE ré-init 2023-06-04 10:21:55 +02:00
LCWC ré-init 2023-06-04 10:21:55 +02:00
LCWCchapter ré-init 2023-06-04 10:21:55 +02:00
LCWCFchapter ré-init 2023-06-04 10:21:55 +02:00
LCWNP ré-init 2023-06-04 10:21:55 +02:00
LCWP ré-init 2023-06-04 10:21:55 +02:00
Lessons-Compound-definitions-V2 ré-init 2023-06-04 10:21:55 +02:00
Media ré-init 2023-06-04 10:21:55 +02:00
OneAttempt ré-init 2023-06-04 10:21:55 +02:00
RC ré-init 2023-06-04 10:21:55 +02:00
RCAQ ré-init 2023-06-04 10:21:55 +02:00
RCAQ-One ré-init 2023-06-04 10:21:55 +02:00
RCDDE ré-init 2023-06-04 10:21:55 +02:00
RCDDNL ré-init 2023-06-04 10:21:55 +02:00
RCDDNL-One ré-init 2023-06-04 10:21:55 +02:00
RCFE ré-init 2023-06-04 10:21:55 +02:00
RCMCC ré-init 2023-06-04 10:21:55 +02:00
RCSC ré-init 2023-06-04 10:21:55 +02:00
RCSCC ré-init 2023-06-04 10:21:55 +02:00
RCWNP ré-init 2023-06-04 10:21:55 +02:00
RCWP ré-init 2023-06-04 10:21:55 +02:00
REDDC ré-init 2023-06-04 10:21:55 +02:00
REFC ré-init 2023-06-04 10:21:55 +02:00
REWC ré-init 2023-06-04 10:21:55 +02:00
REWCchapter ré-init 2023-06-04 10:21:55 +02:00
REWCFchapter ré-init 2023-06-04 10:21:55 +02:00
REWNP ré-init 2023-06-04 10:21:55 +02:00
REWP ré-init 2023-06-04 10:21:55 +02:00
utilities ré-init 2023-06-04 10:21:55 +02:00
11.json ré-init 2023-06-04 10:21:55 +02:00
BE-ZH.h5p ré-init 2023-06-04 10:21:55 +02:00
BE.h5p ré-init 2023-06-04 10:21:55 +02:00
BlankSentences-headers.txt ré-init 2023-06-04 10:21:55 +02:00
blocexforcompound.py ré-init 2023-06-04 10:21:55 +02:00
blockdef.py ré-init 2023-06-04 10:21:55 +02:00
Blocs.csv ré-init 2023-06-04 10:21:55 +02:00
char-ZH.json ré-init 2023-06-04 10:21:55 +02:00
char.json ré-init 2023-06-04 10:21:55 +02:00
char.tpl ré-init 2023-06-04 10:21:55 +02:00
chars-V2.py ré-init 2023-06-04 10:21:55 +02:00
COMP.h5p ré-init 2023-06-04 10:21:55 +02:00
COMP.json ré-init 2023-06-04 10:21:55 +02:00
complete-grammar-spreadsheet-V2.py ré-init 2023-06-04 10:21:55 +02:00
completeBlankSentences-V2.py ré-init 2023-06-04 10:21:55 +02:00
content.json ré-init 2023-06-04 10:21:55 +02:00
createchapterlesson-V2.py ré-init 2023-06-04 10:21:55 +02:00
createCharacterChapterExercise.py ré-init 2023-06-04 10:21:55 +02:00
createCharacterLessonExercise.py ré-init 2023-06-04 10:21:55 +02:00
createGrammarExercises.py ré-init 2023-06-04 10:21:55 +02:00
createlesson-V2.py ré-init 2023-06-04 10:21:55 +02:00
dia.py ré-init 2023-06-04 10:21:55 +02:00
Dialog links.csv ré-init 2023-06-04 10:21:55 +02:00
DominoPrograms.png ré-init 2023-06-04 10:21:55 +02:00
end.h5p ré-init 2023-06-04 10:21:55 +02:00
endChar.json ré-init 2023-06-04 10:21:55 +02:00
Files-used.md ré-init 2023-06-04 10:21:55 +02:00
gogs.txt ré-init 2023-06-04 10:21:55 +02:00
H5PV2.py ré-init 2023-06-04 10:21:55 +02:00
Identify_characters_column.h5p ré-init 2023-06-04 10:21:55 +02:00
Identify_characters_column_template.h5p ré-init 2023-06-04 10:21:55 +02:00
LCAQ-One.h5p ré-init 2023-06-04 10:21:55 +02:00
LCAQ.h5p ré-init 2023-06-04 10:21:55 +02:00
LCDDC.h5p ré-init 2023-06-04 10:21:55 +02:00
LCDDE.h5p ré-init 2023-06-04 10:21:55 +02:00
LCFB-One.h5p ré-init 2023-06-04 10:21:55 +02:00
LCFB.h5p ré-init 2023-06-04 10:21:55 +02:00
LCFC.h5p ré-init 2023-06-04 10:21:55 +02:00
LCFE.h5p ré-init 2023-06-04 10:21:55 +02:00
LCWC.h5p ré-init 2023-06-04 10:21:55 +02:00
LCWCFchapter.h5p ré-init 2023-06-04 10:21:55 +02:00
LCWNP.h5p ré-init 2023-06-04 10:21:55 +02:00
LCWP.h5p ré-init 2023-06-04 10:21:55 +02:00
Lessons-V2.py ré-init 2023-06-04 10:21:55 +02:00
Levels.txt ré-init 2023-06-04 10:21:55 +02:00
makeCharacterExercises.sh ré-init 2023-06-04 10:21:55 +02:00
Mnemonics.csv ré-init 2023-06-04 10:21:55 +02:00
MultipleChoicesOneAnswer.tpl ré-init 2023-06-04 10:21:55 +02:00
MultipleChoicesOneAnswerOne.tpl ré-init 2023-06-04 10:21:55 +02:00
multiplechoicesquestion.tpl ré-init 2023-06-04 10:21:55 +02:00
multiplechoicesquestionOne.tpl ré-init 2023-06-04 10:21:55 +02:00
RC.h5p ré-init 2023-06-04 10:21:55 +02:00
RCAQ-One.h5p ré-init 2023-06-04 10:21:55 +02:00
RCAQ.h5p ré-init 2023-06-04 10:21:55 +02:00
RCDDE.h5p ré-init 2023-06-04 10:21:55 +02:00
RCDDNL-One.h5p ré-init 2023-06-04 10:21:55 +02:00
RCDDNL.h5p ré-init 2023-06-04 10:21:55 +02:00
RCFE.h5p ré-init 2023-06-04 10:21:55 +02:00
RCMCC.h5p ré-init 2023-06-04 10:21:55 +02:00
RCMCC.txt ré-init 2023-06-04 10:21:55 +02:00
RCMCCAnswer.tpl ré-init 2023-06-04 10:21:55 +02:00
RCMCCAnswerOne.tpl ré-init 2023-06-04 10:21:55 +02:00
RCSC.h5p ré-init 2023-06-04 10:21:55 +02:00
RCSCC.h5p ré-init 2023-06-04 10:21:55 +02:00
README.md ré-init 2023-06-04 10:21:55 +02:00
REDDC.h5p ré-init 2023-06-04 10:21:55 +02:00
REFC.h5p ré-init 2023-06-04 10:21:55 +02:00
REWC.h5p ré-init 2023-06-04 10:21:55 +02:00
REWCFchapter.h5p ré-init 2023-06-04 10:21:55 +02:00
REWP.h5p ré-init 2023-06-04 10:21:55 +02:00
speakchinese.tpl ré-init 2023-06-04 10:21:55 +02:00
temp.json ré-init 2023-06-04 10:21:55 +02:00
trie.py ré-init 2023-06-04 10:21:55 +02:00
truefalsequestion.tpl ré-init 2023-06-04 10:21:55 +02:00
truefalsequestionOne.tpl ré-init 2023-06-04 10:21:55 +02:00

Exercise generator

You'll find here some programs to generate h5P, Hotpotatoes and moodle exercises from a .CSV file with vocabulary / sentences.

You need the python3 interpreter with some libraries. It's free software, one of the most popular programming language, so available for any plateform.

How to run the program

Download the archive from the git server (only available for Felix, Kyle and me). Decompress it, and go into the folder just created.

just type in a console:

python3 H5P.py

or just

python H5P.py

You'll encounter errors because you don't have the libraries needed.

Every system has his own method to install the libraries. One way is to use “pip” (or pip3 ... same pip, but specific to python3 if there are multiiple python installed (version 2 and 3 together)):

pip install the-name-of-the-library

Here is the list of libraries needed to run the program :

  • csv
  • jieba
  • pypinyin wget
  • json
  • os
  • shutil
  • urllib
  • re
  • random

Where are the exercises?

All the exercises will be generated in a minute (depending on the power of your computer).

They are all located in the Exercises folder :

.
├── LCDDC
├── LCDDE
├── LCFC
├── LCFE
├── LCWC
├── LCWNP
├── LCWP
├── Lessons
├── RCDDE
├── RCSC
├── RCWNP
├── RCWP
├── REDDC
├── REFC
├── REWC
├── REWNP
└── REWP

I created 2 versions of the repository of the exercises:

  • in the first the exercises are classed by type of exercise, and by Level, Chapter, Lesson. The names of the folders follow the type of exercise. So REWP means “Read English / Write Pinyin”.

  • in the second, the folder is named "Lessons", and all the exercises (all kind) are stored under a lesson folder. In the Lessons folder, you'll find this :

      .
        ── H5P
      ├── L1
      ├── L2
      ├── L3
      ├── L4
      ├── L5
      └── L6
    

Now, you can see the “D” Lesson of “Level 6” “Chapter 5” content. All the different exercises for this peticuliar lesson are here.

eric@aldebaran:~/Cours-chinois/CourseDominoChinese/Programmes/Exercises/Lessons/H5P/L6/C5$ tree

.
└── LD
    ├── L6-C5-LD-0-LCDDC.h5p
    ├── L6-C5-LD-0-LCDDE.h5p
    ├── L6-C5-LD-0-LCWC.h5p
    ├── L6-C5-LD-0-LCWNP.h5p
    ├── L6-C5-LD-0-LCWP.h5p
    ├── L6-C5-LD-0-RCDDE.h5p
    ├── L6-C5-LD-0-RCSC.h5p
    ├── L6-C5-LD-0-RCWNP.h5p
    ├── L6-C5-LD-0-RCWP.h5p
    ├── L6-C5-LD-0-REDDC.h5p
    ├── L6-C5-LD-0-REWC.h5p
    ├── L6-C5-LD-0-REWNP.h5p
    ├── L6-C5-LD-0-REWP.h5p
    ├── L6-C5-LD-1-LCDDC.h5p
    ├── L6-C5-LD-1-LCDDE.h5p
    ├── L6-C5-LD-1-LCWC.h5p
    ├── L6-C5-LD-1-LCWNP.h5p
    ├── L6-C5-LD-1-LCWP.h5p
    ├── L6-C5-LD-1-RCDDE.h5p
    ├── L6-C5-LD-1-RCSC.h5p
    ├── L6-C5-LD-1-RCWNP.h5p
    ├── L6-C5-LD-1-RCWP.h5p
    ├── L6-C5-LD-1-REDDC.h5p
    ├── L6-C5-LD-1-REWC.h5p
    ├── L6-C5-LD-1-REWNP.h5p
    ├── L6-C5-LD-1-REWP.h5p
    ├── L6-C5-LD-2-LCDDC.h5p
    ├── L6-C5-LD-2-LCDDE.h5p
    ├── L6-C5-LD-2-LCWC.h5p
    ├── L6-C5-LD-2-LCWNP.h5p
    ├── L6-C5-LD-2-LCWP.h5p
    ├── L6-C5-LD-2-RCDDE.h5p
    ├── L6-C5-LD-2-RCSC.h5p
    ├── L6-C5-LD-2-RCWNP.h5p
    ├── L6-C5-LD-2-RCWP.h5p
    ├── L6-C5-LD-2-REDDC.h5p
    ├── L6-C5-LD-2-REWC.h5p
    ├── L6-C5-LD-2-REWNP.h5p
    └── L6-C5-LD-2-REWP.h5p

1 directory, 39 files

So 2 ways of organisation, every one suited for some flow of work.

How to use these exercises

One by one

You can use the exercises one by one, upload it on moodle (I'll check if it's possible to do a batch upload of all the exercises) and make your own composition of exercises.

Combined in Lumi

You can also use Lumi to combine some of the exercises into one "exercises page". You just chose the exercises you want and load them on Lumi. Then you can copy/past the exercises in a column kind.

Be aware that some exercises are already colums and you cannot integrate a column ito a column.

You'll have to select the parts of the column you want to integrated in the column-exercise-page.

Dialogues exercises

I wrote a programme named dia.py to generate 4 kinds of dialogues exercises.

To run it, just type :

python3 dia.py

The program uses the file provided by Felix. You'll have to export it in .CSV format, tab separated fields.

(I use only tab separated values CSV files)

Pay attention to this : sometimes, Felix forget to modify the fields names :

  • Blank_text
  • English_blank_sentence

These names must be written like above, and not with "-" characters.

New exercises with sentences manually crafted by Felix

the program name is Lessons.py

python3 Lessons.py

That's it! A lot of new exercises ...

Character Decomposition exercises

These will deal with dividing any charachter into blocs/radicals and make exercises to combine them