A simple script and data file to change Catalan texts from old ortography to new othograpy. All changes have been taken from ORTOGRAFIA Modificacions entrades DIEC2. Please, keep in mind that only orthographic changes have been implemented.
The script can be useful to convert Catalan corpora to the new orthographic norms.
The three files:
should be in the same directory.
To convert the file exemples-antiga.txt to exemples-nova.txt:
python3 modificaIEC.py exemples-antiga.txt exemples-nova.txt
This program is under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.