aoliverg / MTUOC-novaIEC

2 stars 1 forks source link

MTUOC-novaIEC

Introduction

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.

Usage

To convert the file exemples-antiga.txt to exemples-nova.txt:

python3 modificaIEC.py exemples-antiga.txt exemples-nova.txt

License

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.