###########################################################
#
# rules for the recognition of french subsentences
# this file uses the syntax for the declarations of automatons by Romaric
# Besancon (Cf. his 2003/03/11 document)
#
# Created on Tue Mar 15 2005
# by Gael de Chalendar (Gael.de-Chalendar@cea.fr)
#
# $Id: simplification-first-rules-fre.txt 10353 2009-03-12 15:05:33Z dn220953 $
#
###########################################################

set encoding=utf8
using modex lima-analysis.xml
using groups LinguisticProcessing

#----------------------------------------------------------------------
# microcategories classes
#----------------------------------------------------------------------
use categoriesClassesDeclaration-fre.txt

#----------------------------------------------------------------------
# Supprime les guillemets :
# Le "gentil" chien de la voisine a mordu le facteur
#----------------------------------------------------------------------
"::(^"){0-n} ":SYNTACTIC_RELATION:
+SubsentenceBounds(trigger.1,"Quotes")
+SubsentenceBounds(right.2,"Quotes")
=>Simplify()
=<ClearStoredSubsentences()

#----------------------------------------------------------------------
# Supprime les apostrophes :
# Le "gentil" chien de la voisine a mordu le facteur
#----------------------------------------------------------------------
'::(^'){0-n} ':SYNTACTIC_RELATION:
+SubsentenceBounds(trigger.1,"Quotes")
+SubsentenceBounds(right.2,"Quotes")
=>Simplify()
=<ClearStoredSubsentences()

