www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/26/11:56:45

Message-ID: <D1DE20405ECBD011B2AC0060974BC6EA02A9BC@DBSERVER>
From: "EFT.Eric Devolder" <eric DOT devolder AT eft DOT be>
To: djgpp AT delorie DOT com
Subject: french dictionary for ispell
Date: Tue, 26 May 1998 17:56:20 +0200
MIME-Version: 1.0

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_000_01BD88CF.982066B0
Content-Type: text/plain


> does anyone knows where I can get a french dictionary for ispell3.10
> (the one distributed with djgpp)? because I've found one, but it won't
> compile. 
> (here is the compile process)
> 
>  
> 
> [e:\ispell]buildhash french.med french.aff french.hash
> french.aff line 20: parse error
> 
> However, if someone can expalin why it crashes, you are welcome !
> 
> thank you in advance.
> 
> 
> 
Eric DEVOLDER <eric DOT devolder AT eft DOT be>


------ =_NextPart_000_01BD88CF.982066B0
Content-Type: application/octet-stream;
	name="french.aff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="french.aff"

# --*-Text-*---
#=20
#
#	Affix table for French
#
# A modification of german.aff suitable for the french language. See =
the
# comments in german.aff and english.aff.
#
# Because of the numerous french accents, it is necessary to increase =
some
# parameters of local.h. Among these
#              #define MAXSTRINGCHARS 105
#	       #define MAXSTRINGCHARLEN 6
# seem necessary (and almost optimal).
#
# c/ is sometimes used as cedilla c, hence the following

flagmarker      ":"
defstringtype "text" ".txt"

wordchars       a               A
stringchar	{ae}		{AE}
# same trick as "ss" in german.aff
stringchar	ae		AE
stringchar	a\`		A\`
stringchar	a\^		A\^
wordchars	[a-c]		[A-C]
stringchar	c\,		C\,
wordchars	[d-e]		[D-E]
stringchar	e\`		E\`
stringchar	e\'		E\'
stringchar	e\^		E\^
stringchar	e\"		E\"
wordchars	[f-i]		[F-I]
stringchar	i\^		I\^
stringchar	i\"		I\"
wordchars	[j-o]		[J-O]
stringchar	o\^		O\^
stringchar	{oe}		{OE}
# same trick as "ss" in german.aff
stringchar	oe		OE
wordchars	[p-u]		[P-U]
stringchar	u\`		U\`
stringchar	u\^		U\^
stringchar	u\"		U\"
wordchars	[v-z]		[V-Z]

#
# TeX/LaTeX
#
altstringtype "tex" ".tex" ".bib" ".ftex"

altstringchar	{\\ae}		{ae}
altstringchar	{\\AE}		{AE}
altstringchar	ae		ae
altstringchar	AE		AE
altstringchar	\\\`a		a\`
altstringchar	\\\`A		A\`
altstringchar	\\\^a		a\^
altstringchar	\\\^A		A\^
altstringchar	\\c{c}		c\,
altstringchar	\\c{C}		C\,
altstringchar	\\\`e		e\`
altstringchar	\\\`E		E\`
altstringchar	\\\'e		e\'
altstringchar	\\\'E		E\'
altstringchar	\\\^e		e\^
altstringchar	\\\^E		E\^
altstringchar	\\\"e		e\"
altstringchar	\\\"E		E\"
altstringchar	\\\^{\\i}	i\^
altstringchar	\\\^I		I\^
altstringchar	\\\"{\\i}	i\"
altstringchar	\\\"I		I\"
altstringchar	\\\^o		o\^
altstringchar	\\\^O		O\^
altstringchar	{\\oe}		{oe}
altstringchar	{\\OE}		{OE}
altstringchar	oe		oe
altstringchar	OE		OE
altstringchar	\\\`u		u\`
altstringchar	\\\`U		U\`
altstringchar	\\\^u		u\^
altstringchar	\\\^U		U\^
altstringchar	\\\"u		u\"
altstringchar	\\\"U		U\"

#
# Alternate forms for ISO latin1 charset
#
altstringtype "latin1" ".latin1"

altstringchar	=E6		{ae}
altstringchar	=C6		{AE}
altstringchar	ae		ae
altstringchar	AE		AE
altstringchar	=E0		a\`
altstringchar	=C0		A\`
altstringchar	=E2		a\^
altstringchar	=C2		A\^
altstringchar	=E7		c\,
altstringchar	=C7		C\,
altstringchar	=E8		e\`
altstringchar	=C8		E\`
altstringchar	=E9		e\'
altstringchar	=C9		E\'
altstringchar	=EA		e\^
altstringchar	=CA		E\^
altstringchar	=EB		e\"
altstringchar	=CB		E\"
altstringchar	=EE		i\^
altstringchar	=CE		I\^
altstringchar	=EF		i\"
altstringchar	=CF		I\"
altstringchar	=F4		o\^
altstringchar	=D4		O\^
altstringchar	{oe}		{oe}
altstringchar	{OE}		{OE}
altstringchar	oe		oe
altstringchar	OE		OE
altstringchar	=F9		u\`
altstringchar	=D9		U\`
altstringchar	=FB		u\^
altstringchar	=DB		U\^
altstringchar	=FC		u\"
altstringchar	=DC		U\"

# Here's a record of flags used, in case you want to add new ones.
#
#            ABCDEFGHIJKLMNOPQRSTUVWXYZ
# Used:      +++++++++++ ++ ++++  +
#            ABCDEFGHIJKLMNOPQRSTUVWXYZ
# Available:            -  -    -- ----
#

prefixes

flag *D:
	[^AEISE\'HOU]	>	DE\'	# composer > de'composer
	[AEIE\'HOU]	>	DE\'S
	S[^AE]		>	DE\'
	S[AE]		>	DES

flag *R:
	[^AEIOUYE\']	>	re	# commander > recommander
	[AEIOUYE\']	>	r	# e'crire > re'crire

flag *Q:
	.		>	re\'	# parer	> re'parer

flag *I:
	.		>	in	# valide > invalide


suffixes

flag *C: 			# verbs of first and second group
				#  common endings
			# pre'sent
	[^AO]I R	>	-R,S		# tu finis
	[^AO]I R	>	-R,T		# il finit
	[^GC]E R	>	-ER,ONS		# nous parlons
	G E R		>	-R,ONS		# nous mangeons
	C E R		>	-CER,C/ONS	# nous plac,ons
	E R		>	-R,Z		# vous parlez
			# passe' simple
	[^GC]E R	>	-ER,AI		# je parlai
	G E R		>	-R,AI		# je mangeai
	C E R		>	-CER,C/AI	# je plac,ai
	[^GC]E R	>	-ER,AS		# tu parlas
	G E R		>	-R,AS		# tu mangeas
	C E R		>	-CER,C/AS	# tu plac/as
	[^GC]E R	>	-ER,A		# il parla
	G E R		>	-R,A		# il mangea
	C E R		>	-CER,C/A	# il plac/a
	[^GC]E R	>	-ER,A^MES	# nous parla^mes
	G E R		>	-R,A^MES	# nous mangea^mes=09
	C E R		>	-CER,C/A^MES	# nous plac/a^mes
	[^AO]I R	>	-IR,I^MES	# nous fini^mes
	[^GC]E R	>	-ER,A^TES	# vous parla^tes
	G E R		>	-R,A^TES	# vous mangea^tes
	C E R		>	-CER,C/A^TES	# vous perc/a^tes
	[^AO]I R	>	-IR,I^TES	# vous fini^tes
	E R		>	-ER,E`RENT	# ils parle`rent
	[^AO]I R	>	ENT		# ils finirent
			# imparfait
	[^GC]E R	>	-ER,AIS		# je parlais
	G E R		>	-R,AIS		# je mangeais
	C E R		>	-CER,C/AIS	# je plac/ais
	[^GC]E R	>	-ER,AIT		# il parlait
	G E R		>	-R,AIT		# il mangeait
	C E R		>	-CER,C/AIT	# il plac/ait
	E R		>	-ER,IONS	# nous parlions
	E R		>	-ER,IEZ		# vous parliez
	[^GC]E R	>	-ER,AIENT	# ils parlaient
	G E R		>	-R,AIENT	# ils mangeaient
	C E R		>	-CER,C/AIENT	# ils plac/aient
			# futur
	[^AO]I R	>	AI		# je finirai
	[^AO]I R	>	AS		# tu finiras
	[^AO]I R	>	A		# il finira
	[^AO]I R	>	ONS		# nous finirons
	[^AO]I R	>	EZ		# vous finirez
	[^AO]I R	>	ONT		# ils finiront
			# conditionnel
	[^AO]I R	>	AIS		# je finirais
	[^AO]I R	>	AIT		# il finirait
	[^AO]I R	>	IONS		# nous finirions
	[^AO]I R	>	IEZ		# vous finiriez
	[^AO]I R	>	AIENT		# ils finiraient
			# pre'sent du subjonctif
	[^AO]I R	>	-R,SSE		# je finisse
	[^AO]I R	>	-R,SSES		# tu finisses
	[^AO]I R	>	-R,SSENT	# ils finissent
			# imparfait du subjonctif
	[^GC]E R	>	-ER,ASSE	# je parlasse
	G E R		>	-R,ASSE		# je mangeasse
	C E R		>	-CER,C/ASSE	# je plac/asse
	[^GC]E R	>	-ER,ASSES	# tu parlasses
	G E R		>	-R,ASSES	# tu mangeasse
	C E R		>	-CER,C/ASSES	# tu perc/asses
	[^GC]E R	>	-ER,A^T		# il parla^t
	G E R		>	-R,A^T		# il mangea^t
	C E R		>	-CER,C/A^T	# il plac/a^t
	[^AO]I R	>	-IR,I^T		# il fini^t
	[^GC]E R	>	-ER,ASSIONS	# nous parlassions
	G E R		>	-R,ASSIONS	# nous mangeassions
	C E R		>	-CER,C/ASSIONS	# nous plac/assions
	[^GC]E R	>	-ER,ASSIEZ	# vous parlassiez
	G E R		>	-R,ASSIEZ	# vous mangeassiez
	C E R		>	-CER,C/ASSIEZ	# vous plac/assiez
	[^GC]E R	>	-ER,ASSENT	# ils parlassent
	G E R		>	-R,ASSENT	# ils mangeassent
	C E R		>	-CER,C/ASSENT	# ils plac/assent

flag *B: 			# verbs of first group and second group
				# other endings
	E R		>	-ER,E		# je parle
	E R		>	-R,S		# tu parles
	E R		>	-R,NT		# ils parlent
	[^AO]I R	>	-R,SSONS	# nous finissons
	[^AO]I R	>	-R,SSEZ		# vous finissez
	[^AO]I R	>	-R,SSENT	# ils finissent
	[^AO]I R	>	-R,SSAIS	# je finissais
	[^AO]I R	>	-R,SSAIT	# il finissait
	[^AO]I R	>	-R,SSIONS	# nous finissions
	[^AO]I R	>	-R,SSIEZ	# vous finissiez
	[^AO]I R	>	-R,SSAIENT	# ils finissaient


flag *A:			# idem
			# futur
	E R		>	AI		# je parlerai
	E R		>	AS		# tu parleras
	E R		>	A		# il parlera
	E R		>	ONS		# nous parlerons
	E R		>	EZ		# vous parlerez
	E R		>	ONT		# ils parleront
			# conditionnel
	E R		>	AIS		# je parlerais
	E R		>	AIT		# il parlerait
	E R		>	IONS		# nous parlerions
	E R		>	IEZ		# vous parleriez
	E R		>	AIENT		# ils parleraient

flag *F:			# other verbs of the first group
				# pre'sent
# In a simpler world we would write
#      E\([CMSV]\)E R 	> -E\1ER,E`\1E
#      E\([LT]\)E R   	> -E\1ER,E\1\1E
# which is expanded here:
	E C E R		>	-ECER,E`CE	# je de'pe`ce
	E L E R		>	-ELER,ELLE	# j'appelle
	E M E R		>	-EMER,E`ME	# je se`me
	E S E R		>	-ESER,E`SE	# je pe`se
	E T E R		>	-ETER,ETTE	# je jette
	E V E R		>	-EVER,E`VE	# je le`ve
	E C E R		>	-ECER,E`CES
	E L E R		>	-ELER,ELLES
	E M E R		>	-EMER,E`MES
	E S E R		>	-ESER,E`SES
	E T E R		>	-ETER,ETTES
	E V E R		>	-EVER,E`VES
	E C E R		>	-ECER,E`CENT
	E L E R		>	-ELER,ELLENT
	E M E R		>	-EMER,E`MENT
	E S E R		>	-ESER,E`SENT
	E T E R		>	-ETER,ETTENT
	E V E R		>	-EVER,E`VENT
			# futur
	E C E R		>	-ECER,E`CERAI
	E L E R		>	-ELER,ELLERAI
	E M E R		>	-EMER,E`MERAI
	E S E R		>	-ESER,E`SERAI
	E T E R		>	-ETER,ETTERAI
	E V E R		>	-EVER,E`VERAI
	E C E R		>	-ECER,E`CERAS
	E L E R		>	-ELER,ELLERAS
	E M E R		>	-EMER,E`MERAS
	E S E R		>	-ESER,E`SERAS
	E T E R		>	-ETER,ETTERAS
	E V E R		>	-EVER,E`VERAS
	E C E R		>	-ECER,E`CERA
	E L E R		>	-ELER,ELLERA
	E M E R		>	-EMER,E`MERA
	E S E R		>	-ESER,E`SERA
	E T E R		>	-ETER,ETTERA
	E V E R		>	-EVER,E`VERA
	E C E R		>	-ECER,E`CERONS
	E L E R		>	-ELER,ELLERONS
	E M E R		>	-EMER,E`MERONS
	E S E R		>	-ESER,E`SERONS
	E T E R		>	-ETER,ETTERONS
	E V E R		>	-EVER,E`VERONS
	E C E R		>	-ECER,E`CEREZ
	E L E R		>	-ELER,ELLEREZ
	E M E R		>	-EMER,E`MEREZ
	E S E R		>	-ESER,E`SEREZ
	E T E R		>	-ETER,ETTEREZ
	E V E R		>	-EVER,E`VEREZ
	E C E R		>	-ECER,E`CERONT
	E L E R		>	-ELER,ELLERONT
	E M E R		>	-EMER,E`MERONT
	E S E R		>	-ESER,E`SERONT
	E T E R		>	-ETER,ETTERONT
	E V E R		>	-EVER,E`VERONT
			# conditionnel
	E C E R		>	-ECER,E`CERAIS
	E L E R		>	-ELER,ELLERAIS
	E M E R		>	-EMER,E`MERAIS
	E S E R		>	-ESER,E`SERAIS
	E T E R		>	-ETER,ETTERAIS
	E V E R		>	-EVER,E`VERAIS
	E C E R		>	-ECER,E`CERAIT
	E L E R		>	-ELER,ELLERAIT
	E M E R		>	-EMER,E`MERAIT
	E S E R		>	-ESER,E`SERAIT
	E T E R		>	-ETER,ETTERAIT
	E V E R		>	-EVER,E`VERAIT
	E C E R		>	-ECER,E`CERIONS
	E L E R		>	-ELER,ELLERIONS
	E M E R		>	-EMER,E`MERIONS
	E S E R		>	-ESER,E`SERIONS
	E T E R		>	-ETER,ETTERIONS
	E V E R		>	-EVER,E`VERIONS
	E C E R		>	-ECER,E`CERIEZ
	E L E R		>	-ELER,ELLERIEZ
	E M E R		>	-EMER,E`MERIEZ
	E S E R		>	-ESER,E`SERIEZ
	E T E R		>	-ETER,ETTERIEZ
	E V E R		>	-EVER,E`VERIEZ
	E C E R		>	-ECER,E`CERAIENT
	E L E R		>	-ELER,ELLERAIENT
	E M E R		>	-EMER,E`MERAIENT
	E S E R		>	-ESER,E`SERAIENT
	E T E R		>	-ETER,ETTERAIENT
	E V E R		>	-EVER,E`VERAIENT

flag *G: 		# other verbs
	E' C E R	>	-E'CER,E`CE	# je rapie`ce
	E' D E R	>	-E'DER,E`DE	# je ce`de
	E' G E R	>	-E'GER,E`GE	# je pie`ge
	E' J E R	>	-E'JER,E`JE	# je gale`je
	E' L E R	>	-E'LER,E`LE	# je he`le
	E' M E R	>	-E'MER,E`ME	# j'e'cre`me
	E' N E R	>	-E'NER,E`NE	# j'alie`ne
	E' R E R	>	-E'RER,E`RE	# je ge`re
	E' S E R	>	-E'SER,E`SE	# je le`se
	E' T E R	>	-E'TER,E`TE	# je comple`te
	E' B R E R	>	-E'BRER,E`BRE	# je ce'le`bre
	E' C H E R	>	-E'CHER,E`CHE	# je se`che
	E' C R E R	>	-E'CRER,E`CRE	# j'exe`cre
	E' G L E R	>	-E'GLER,E`GLE	# je re`gle
	E' G N E R	>	-E'GNER,E`GNE	# je re`gne
	E' G R E R	>	-E'GRER,E`GRE	# j'inte`gre
	E' G U E R	>	-E'GUER,E`GUE	# je le`gue
	E' Q U E R	>	-E'QUER,E`QUE	# je disse`que
	E' T R E R	>	-E'TRER,E`TRE	# je pe'ne`tre
	E' V R E R	>	-E'VRER,E`VRE	# je m'enfie`vre
	E' C E R	>	-E'CER,E`CES
	E' D E R	>	-E'DER,E`DES
	E' G E R	>	-E'GER,E`GES
	E' J E R	>	-E'JER,E`JES
	E' L E R	>	-E'LER,E`LES
	E' M E R	>	-E'MER,E`MES
	E' N E R	>	-E'NER,E`NES
	E' R E R	>	-E'RER,E`RES
	E' S E R	>	-E'SER,E`SES
	E' T E R	>	-E'TER,E`TES
	E' B R E R	>	-E'BRER,E`BRES
	E' C H E R	>	-E'CHER,E`CHES
	E' C R E R	>	-E'CRER,E`CRES
	E' G L E R	>	-E'GLER,E`GLES
	E' G N E R	>	-E'GNER,E`GNES
	E' G R E R	>	-E'GRER,E`GRES
	E' G U E R	>	-E'GUER,E`GUES
	E' Q U E R	>	-E'QUER,E`QUES
	E' T R E R	>	-E'TRER,E`TRES
	E' V R E R	>	-E'VRER,E`VRES
	E' C E R	>	-E'CER,E`CENT
	E' D E R	>	-E'DER,E`DENT
	E' G E R	>	-E'GER,E`GENT
	E' J E R	>	-E'JER,E`JENT
	E' L E R	>	-E'LER,E`LENT
	E' M E R	>	-E'MER,E`MENT
	E' N E R	>	-E'NER,E`NENT
	E' R E R	>	-E'RER,E`RENT
	E' S E R	>	-E'SER,E`SENT
	E' T E R	>	-E'TER,E`TENT
	E' B R E R	>	-E'BRER,E`BRENT
	E' C H E R	>	-E'CHER,E`CHENT
	E' C R E R	>	-E'CRER,E`CRENT
	E' G L E R	>	-E'GLER,E`GLENT
	E' G N E R	>	-E'GNER,E`GNENT
	E' G R E R	>	-E'GRER,E`GRENT
	E' G U E R	>	-E'GUER,E`GUENT
	E' Q U E R	>	-E'QUER,E`QUENT
	E' T R E R	>	-E'TRER,E`TRENT
	E' V R E R	>	-E'VRER,E`VRENT

flag *J:		# other verbs
	E L E R		>	-ELER,E`LE	# je ge`le
	E L E R		>	-ELER,E`LES
	E L E R		>	-ELER,E`LENT
	E L E R		>	-ELER,E`LERAI
	E L E R		>	-ELER,E`LERAS
	E L E R		>	-ELER,E`LERA
	E L E R		>	-ELER,E`LERONS
	E L E R		>	-ELER,E`LEREZ
	E L E R		>	-ELER,E`LERONT
	E L E R		>	-ELER,E`LERAIS
	E L E R		>	-ELER,E`LERAIT
	E L E R		>	-ELER,E`LERIONS
	E L E R		>	-ELER,E`LERIEZ
	E L E R		>	-ELER,E`LERAIENT

flag *K:		# other verbs in -ir
	[^AO]I R	>	-IR,ONS		# nous mentons
	[^AO]I R	>	-IR,EZ
	[^AO]I R	>	-IR,AIS
	[^AO]I R	>	-IR,AIT
	[^AO]I R	>	-R,ONS
	[^AO]I R	>	-R,EZ
	[^AO]I R	>	-IR,AIENT

flag *V:			# these ones have feminine and plural
				# ge'rondif
	[^CG]E R	>	-ER,ANT		# parlant
	C E R 		>	-CER,C/ANT
	G E R		>	-R,ANT
	[^AO]I R	>	-R,SSANT	# finissant
				# participe passe'
	E R		>	-ER,E'		# parle'
	[^AO]I R	>	-IR,I		# fini

flag *S:			# pluriel
	[^A] L		>	S
	[^LSXZ]		>	S
	A L		>	-L,UX
	A L		>	ES

flag *E:			# feminin et feminin pluriel
	D		>	E
	D		>	ES
	E'		>	E
	E'		>	ES
	C		>	-C,QUE
	C		>	-C,QUES
	F		>	-F,VE
	F		>	-F,VES
	L O N G		>	UE
	L O N G		>	UES
	[^AEIOY]I	>	E
	[^AEIOY]I	>	ES
	[AOU]L		>	E
	[AOU]L		>	ES
	[EI]L		>	LE
	[EI]L		>	LES
	[EO]N		>	NE
	[EO]N		>	NES
	[AIU]N		>	E
	[AIU]N		>	ES
	E R		>	-E,E`RE
	E R		>	-E,E`RES
	[UY] R		>	E
	[UY] R		>	ES
	U\^ R		>	E
	U\^ R		>	ES
	A I R		>	E
	A I R		>	ES
	[EO]T		>	TE
	[EO]T		>	TES
	[^EO]T		>	E
	[^EO]T		>	ES
	E A U		>	-AU,LLE
	E A U		>	-AU,LLES
	[^A]U		>	E
	[^A]U		>	ES
	E U X		>	-X,SE
	E U X		>	-X,SES

flag *N:		=09
	E R		>	-ER,ATION
	E R		>	-ER,ATIONS

flag *M:
	A N T		>	-ANT,EMENT

flag *H:
	A N T		>	-NT,GE
	A N T		>	-NT,GES

------ =_NextPart_000_01BD88CF.982066B0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019