diff --git a/README.org b/README.org new file mode 100644 index 0000000..b3a4b7b --- /dev/null +++ b/README.org @@ -0,0 +1,14 @@ +* Detailed French Parser + +This parser aims at creating XML files detailing a parse of French text. As for +now, it doesn’t consider yet French syntax and will only consider the first +option if a word has multiple definitions in the original dictionary. + +* Credits + +The Python code is a modified version of a parser by [[http://www.ai.univ-paris8.fr/index.php?page=membres&member=ap][Anna Pappa]], professor at +the University of Paris 8. + +~dico.dictfr~ is a file extracted from Alter/Ego, a software by the company +Plogue, Art et Technologie, based on the [[http://redac.univ-tlse2.fr/lexiques/psychoglaff.html][PsychoGLÀFF]]. It is distributed under +the [[https://creativecommons.org/licenses/by-sa/3.0/deed.en][CC BY-SA 3.0 licence]]. diff --git a/parser.py b/parser.py index a85467a..c533157 100755 --- a/parser.py +++ b/parser.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- ############################################################################### # imports #