Script to extract glosses from Moodle cloze questions.
Added argparse to run script from command line.
Usage:
Extracteur-Gloses.py [-h] filename

The script requires BeautifulSoup to parse the xml and CData sections and automatically removes span and br tags.

For each entry it checks for duplicates and saves only unique entries.
Entries having the same name but different values are distinguished by appending "#" to the entry name.

It parses "French" questions and creates an xml file with all possible gloses for each word (gloses_francais.xml).

It parses "Kalaba" questions and creates an xml file with all possible gloses for each word (gloses_kalaba.xml).

TODO: manage the remaining edge case = "questions retrouver sons des mots"