parse moodle2 glossary