A syllabic highlighter for Word in French language. Developed in VBA Word, the macro SurlignageSyllabique analyses every word contained in selection, calling a Python script to make their syllabation. Finally, it highlights each syllable with different colors, thanks to this analysis. This project has been made-to-mesure for a French teacher in reading learning grade.
-
Please note that the syllabation is based on French grammar rules and therefore brings no garantee for other languages.
-
In addition to SurlignageSyllabique, the project comes with SurlignageSemantique, which highlights words the same way.
These instructions will get you a copy of the project up and running on your local machine for running purposes.
What things you need to install the software and how to install them
Download the adequate installer, version 3.2 or ulterior, Stable Releases category, at the address https://www.python.org/downloads/windows/. Then follow the installation instructions.
Installation of the Word and Python files in Word Add-Ins default location.
Just run the batch file :
%PathToRepository%\surlyllabe>setup.bat
Output should be :
%PathToRepository%\surlyllabe>ECHO OFF
Appuyez sur une touche pour lancer la copie des fichiers
word\Surlyllabe.dotm
1 fichier(s) copié(s)
python\syllabes.py
1 fichier(s) copié(s)
python\syllabation_encoder.py
1 fichier(s) copié(s)
My work here is done. Now it is time for me to retire.
Appuyez sur une touche pour continuer...
/word
: the Word Add-in containing VBA code of the macros/python
: the Python files handling syllabation part of the project/docs
: the documents used for project management
- Syllabation part is greatly inspired by @Stilnoxx's work available in this interesting thread
- Python call handling is taken from @bburns.km's answer available there