• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sile-typesetter / sile / 6713098919

31 Oct 2023 10:21PM UTC coverage: 52.831% (-21.8%) from 74.636%
6713098919

push

github

web-flow
Merge d0a2a1ee9 into b185d4972

45 of 45 new or added lines in 3 files covered. (100.0%)

8173 of 15470 relevant lines covered (52.83%)

6562.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/languages/fr.lua
1
-- French language rules
2

3
local computeSpaces = function()
4
  -- Computes:
5
  --  -  regular inter-word space,
6
  --  -  half inter-word fixed space,
7
  --  -  "guillemet space", as defined in LaTeX's babel-french which is based
8
  --     on Thierry Bouche's recommendations,
9
  --  These should be usual for France and Canada. The Swiss may prefer a thin
10
  --  space for guillemets, that's why we are having settings hereafter.
11
  local enlargement = SILE.settings:get("shaper.spaceenlargementfactor")
×
12
  local stretch = SILE.settings:get("shaper.spacestretchfactor")
×
13
  local shrink = SILE.settings:get("shaper.spaceshrinkfactor")
×
14
  return {
×
15
    colonspace = SILE.length(enlargement.."spc plus "..stretch.."spc minus "..shrink.."spc"),
16
    thinspace = SILE.length((0.5 * enlargement).."spc"),
17
    guillspace = SILE.length((0.8 * enlargement).."spc plus "..(0.3 * stretch).."spc minus "..(0.8 * shrink).."spc")
×
18
  }
19
end
20

21
local spaces = computeSpaces()
×
22
-- NOTE: We are only doing it at load time. We don't expect the shaper settings to be often
23
-- changed arbitrarily _after_ having selected a language...
24

25
SILE.settings:declare({
×
26
  parameter = "languages.fr.colonspace",
27
  type = "kern",
28
  default = SILE.nodefactory.kern(spaces.colonspace),
29
  help = "The amount of space before a colon, theoretically a non-breakable, shrinkable, stretchable inter-word space"
×
30
})
31

32
SILE.settings:declare({
×
33
  parameter = "languages.fr.thinspace",
34
  type = "kern",
35
  default = SILE.nodefactory.kern(spaces.thinspace),
36
  help = "The amount of space before high punctuations, theoretically a fixed, non-breakable space, around half the inter-word space"
×
37
})
38

39
SILE.settings:declare({
×
40
  parameter = "languages.fr.guillspace",
41
  type = "kern",
42
  default = SILE.nodefactory.kern(spaces.guillspace),
43
  help = "The amount of space applying to guillemets, theoretically smaller than a non-breakable inter-word space, with reduced stretchability"
×
44
})
45

46
SILE.settings:declare({
×
47
  parameter = "languages.fr.debugspace",
48
  type = "boolean",
49
  default = false,
50
  help = "If switched to true, uses large spaces instead of the regular punctuation ones"
×
51
})
52

53
local getSpaceGlue = function(options, parameter)
54
  local sg
55
  if SILE.settings:get("languages.fr.debugspace") then
×
56
    sg = SILE.nodefactory.kern("5spc")
×
57
  else
58
    sg = SILE.settings:get(parameter)
×
59
  end
60
  -- Return the absolute (kern) length of the specified spacing parameter
61
  -- with a particular set of font options.
62
  -- As for SILE.shapers.base.measureSpace(), which has the same type of
63
  -- logic, caching this doesn't seem to have any significant speedup.
64
  SILE.settings:temporarily(function ()
×
65
    SILE.settings:set("font.size", options.size)
×
66
    SILE.settings:set("font.family", options.family)
×
67
    SILE.settings:set("font.filename", options.filename)
×
68
    sg = sg:absolute()
×
69
  end)
70
  return sg
×
71
end
72

73
SILE.nodeMakers.fr = pl.class(SILE.nodeMakers.unicode)
×
74

75
-- Unfortunately, there is nothing in the Unicode properties
76
-- database which distinguishes between high and low punctuation, etc.
77
-- But in a way that's precisely why we can't just rely on Unicode
78
-- for everything and need our language-specific typesetting
79
-- processors.
80
SILE.nodeMakers.fr.colonPunctuations = { ":" }
×
81
SILE.nodeMakers.fr.openingQuotes = { "«", "‹" }
×
82
SILE.nodeMakers.fr.closingQuotes = { "»", "›" }
×
83
-- There's catch below: the shaper may have already processed common ligatures (!!, ?!, !?)
84
-- as a single item...
85
SILE.nodeMakers.fr.highPunctuations = { ";", "!", "?", "!!", "?!", "!?" }
×
86
-- High punctuations have some (kern) space before them... except in some cases!
87
-- By the books, they have it "after a letter or digit", at least. After a closing
88
-- punctuation, too, seems usual.
89
-- Otherwise, one shall have no space inside e.g. (?), ?!, [!], …?, !!! etc.
90
-- As a simplication, we reverse the rule and define after which characters the space
91
-- shall not be added. This is by no mean perfect, I couldn't find an explicit list
92
-- of exceptions. French typography is a delicate beast.
93
SILE.nodeMakers.fr.spaceExceptions = { "!", "?", ":", ".", "…", "(", "[", "{", "<", "«", "‹", "“", "‘", "?!", "!!", "!?" }
×
94

95
-- overriden properties from parent class
96
SILE.nodeMakers.fr.isQuoteType = { qu = true } -- split tokens at apostrophes &c.
×
97

98
-- methods defined in this class
99

100
function SILE.nodeMakers.fr.isIn (_, set, text)
×
101
  for _, v in ipairs(set) do
×
102
    if v == text then
×
103
      return true
×
104
    end
105
  end
106
  return false
×
107
end
108

109
function SILE.nodeMakers.fr:isOpeningQuote (text)
×
110
  return self:isIn(self.openingQuotes, text)
×
111
end
112

113
function SILE.nodeMakers.fr:isClosingQuote (text)
×
114
  return self:isIn(self.closingQuotes, text)
×
115
end
116

117
function SILE.nodeMakers.fr:isColonPunctuation (text)
×
118
  return self:isIn(self.colonPunctuations, text)
×
119
end
120

121
function SILE.nodeMakers.fr:isHighPunctuation (text)
×
122
  return self:isIn(self.highPunctuations, text)
×
123
end
124

125
function SILE.nodeMakers.fr:isSpaceException (text)
×
126
  return self:isIn(self.spaceExceptions, text)
×
127
end
128

129
function SILE.nodeMakers.fr:isPrevSpaceException ()
×
130
  return self.i > 1 and self:isSpaceException(self.items[self.i-1].text) or false
×
131
end
132

133
function SILE.nodeMakers.fr:makeUnbreakableSpace (parameter)
×
134
  self:makeToken()
×
135
  self.lastnode = "glue"
×
136
  coroutine.yield(getSpaceGlue(self.options, parameter))
×
137
end
138

139
function SILE.nodeMakers.fr:handleSpaceBefore (item)
×
140
  if self:isHighPunctuation(item.text) and not self:isPrevSpaceException() then
×
141
    self:makeUnbreakableSpace("languages.fr.thinspace")
×
142
    self:makeToken()
×
143
    self:addToken(item.text, item)
×
144
    return true
×
145
  end
146
  if self:isColonPunctuation(item.text) and not self:isPrevSpaceException() then
×
147
    self:makeUnbreakableSpace("languages.fr.colonspace")
×
148
    self:makeToken()
×
149
    self:addToken(item.text, item)
×
150
    return true
×
151
  end
152
  if self:isClosingQuote(item.text) then
×
153
    self:makeUnbreakableSpace("languages.fr.guillspace")
×
154
    self:makeToken()
×
155
    self:addToken(item.text, item)
×
156
    return true
×
157
  end
158
  return false
×
159
end
160

161
function SILE.nodeMakers.fr:handleSpaceAfter (item)
×
162
  if self:isOpeningQuote(item.text) then
×
163
    self:addToken(item.text, item)
×
164
    self:makeUnbreakableSpace("languages.fr.guillspace")
×
165
    self:makeToken()
×
166
    return true
×
167
  end
168
  return false
×
169
end
170

171
function SILE.nodeMakers.fr:mustRemove (i, items)
×
172
  -- Clear "manual" spaces we do not want, so that later we only have to
173
  -- insert the relevant kerns.
174
  local curr = items[i].text
×
175
  if self:isSpace(curr) then
×
176
    if i < #items then
×
177
      local next = items[i+1].text
×
178
      if self:isSpace(next)
×
179
          or self:isHighPunctuation(next)
×
180
          or self:isColonPunctuation(next)
×
181
          or self:isClosingQuote(next) then
×
182
        return true
×
183
      end
184
    end
185
    if i > 1 then
×
186
      local prev= items[i-1].text
×
187
      if self:isOpeningQuote(prev) then
×
188
        return true
×
189
      end
190
    end
191
  end
192
  return false
×
193
end
194

195
-- overriden methods from parent class
196

197
function SILE.nodeMakers.fr:dealWith (item)
×
198
  if self:handleSpaceBefore(item) then return end
×
199
  if self:handleSpaceAfter(item) then return end
×
200
  self._base.dealWith(self, item)
×
201
end
202

203
function SILE.nodeMakers.fr:handleWordBreak (item)
×
204
  if self:handleSpaceBefore(item) then return end
×
205
  if self:handleSpaceAfter(item) then return end
×
206
  self._base.handleWordBreak(self, item)
×
207
end
208

209
function SILE.nodeMakers.fr:handleLineBreak (item, subtype)
×
210
  if self:isSpace(item.text) then
×
211
    self:handleWordBreak(item)
×
212
    return
×
213
  end
214
  if self:handleSpaceBefore(item) then return end
×
215
  if self:handleSpaceAfter(item) then return end
×
216

217
  self._base.handleLineBreak(self, item, subtype)
×
218
end
219

220
function SILE.nodeMakers.fr:iterator (items)
×
221
  -- We start by cleaning up the input once for all.
222
  local cleanItems = {}
×
223
  local removed = 0
×
224
  for k = 1, #items do
×
225
    if self:mustRemove(k, items) then
×
226
      removed = removed + 1
×
227
    else
228
      items[k].index = items[k].index - removed -- index has changed due to removals
×
229
      table.insert(cleanItems, items[k])
×
230
    end
231
  end
232
  return self._base.iterator(self, cleanItems)
×
233
end
234

235
SILE.hyphenator.languages["fr"] = {}
×
236
SILE.hyphenator.languages["fr"].patterns =
×
237
{
238
------------------------------------------------
239
-- phonetic patterns -- etymological patterns --
240
------------------------------------------------
241
----*
242
"2'2",
243
------------------------------------------------
244
-- phonetic patterns -- etymological patterns --
245
------------------------------------------------
246
----a
247
".a4",
248
"'a4",
249
".â4",
250
"'â4",
251
"ab2h", -- df-bg 1998/02/07 for abhorrer
252
".ab3réa",
253
"'ab3réa",
254
"ad2h", -- df-bg 1998/02/07 for adhèsion & co
255
"a1è2dre",
256
".ae3s4ch",
257
"'ae3s4ch",
258
"1alcool",
259
"'2alcool",
260
"a2l1algi",
261
".amino1a2c",
262
"'amino1a2c",
263
".ana3s4tr",
264
"'ana3s4tr",
265
"1a2nesthési",
266
"'2a2nesthési",
267
".anti1a2",
268
"'anti1a2",
269
".anti1e2",
270
"'anti1e2",
271
".anti1é2",
272
".anti2enne",
273
"'anti2enne",
274
"'anti1é2",
275
".anti1s2",
276
"'anti1s2",
277
".apo2s3ta",
278
"'apo2s3ta",
279
"apo2s3tr",
280
"archi1é2pis",
281
".as2ta",
282
"'as2ta",
283
"a2s3tro",
284
------------------------------------------------
285
-- phonetic patterns -- etymological patterns --
286
------------------------------------------------
287
----b
288
"1ba",
289
"1bâ",
290
".bai2se3main", -- hyphen disappeared from french  5/2/94
291
"1be",
292
"1bé",
293
"1bè",
294
"1bê",
295
"4be.",
296
"4bes.",
297
"2bent.", -- mute syllable: tombent (df) 22/02/94
298
"1bi",
299
"1bî",
300
".bi1a2c",
301
".bi1a2t", -- like .tri1a2t for tri-athlon bg 12/27/93
302
".bi1au",
303
".bio1a2",
304
".bi2s1a2",
305
".bi1u2",
306
"1b2l",
307
"4ble.",
308
"4bles.",
309
"2blent.", -- mute syllable: troublent (df) 28/02/94
310
"1bo",
311
"1bô",
312
"1b2r",
313
"4bre.",
314
"4bres.",
315
"2brent.", -- mute syllable: palabrent (df) 28/02/94
316
"1bu",
317
"1bû",
318
"1by",
319
------------------------------------------------
320
-- phonetic patterns -- etymological patterns --
321
------------------------------------------------
322
----c
323
"1ç",
324
"1ca",
325
"1câ",
326
"ca3ou3t2", -- for caoutchou... added 3/1/94 df-bg
327
"1ce",
328
"1cé",
329
"1cè",
330
"1cê",
331
"4ce.",
332
"4ces.",
333
-- words ending with -cent (df) 22/02/94
334
"2cent.",
335
"ja3cent.",
336
"ac3cent.",
337
"é3cent.",
338
"munifi3cent.",
339
"réti3cent.",
340
"privatdo3cent.",
341
"inno3cent.",
342
"es3cent.",
343
"acquies4cent.",
344
"is3cent.",
345
"immis4cent.",
346
--
347
".ch4",
348
"1c2h",
349
"4ch.",
350
"2chb",
351
"4che.",
352
"4ches.",
353
"2chent.", -- mute syllable: touchent (df) 22/02/94
354
".chè2vre3feuille", -- hyphen disappeared from french 5/2/94
355
"2chg",
356
"ch2l",
357
"4chle.",
358
"4chles.",
359
"chlo2r3a2c",
360
"chlo2r3é2t",
361
"2chm",
362
"2chn",
363
"2chp",
364
"ch2r",
365
"4chre.",
366
"4chres.",
367
"2chs",
368
"2cht",
369
"2chw",
370
"1ci",
371
"1cî",
372
".ci2s1alp",
373
"1c2k",
374
"4ck.",
375
"2ckb",
376
"4cke.",
377
"4ckes.",
378
"2ckent.", -- mute syllable: stockent (df) 22/02/94
379
"2ckf",
380
"2ckg",
381
"2ck3h",
382
"2ckp",
383
"2cks",
384
"2ckt",
385
"1c2l",
386
"4cle.",
387
"4cles.",
388
"2clent.", -- mute syllable: encerclent (df) 28/02/94
389
"1co",
390
"1cô",
391
"co1acc",
392
"co1acq",
393
"co1a2d",
394
"co1ap",
395
"co1ar",
396
"co1assoc",
397
"co1assur",
398
"co1au",
399
"co1ax",
400
"1cœ",
401
"co1é2",
402
"co1ef",
403
"co1en",
404
"co1ex",
405
".con4",  -- missing from nb list
406
".cons4", -- missing from nb list
407
".contre1s2c",
408
".contre3maître", -- hyphen disappeared from french 5/2/94
409
"co2nurb",
410
".co1o2",
411
".co2o3lie",
412
"1c2r",
413
"4cre.",
414
"4cres.",
415
"2crent.", -- mute syllable: massacrent (df) 28/02/94
416
"1cu",
417
"1cû",
418
"1cy",
419
".cul4", -- -- as .con4 .cons4 (march 92)
420
------------------------------------------------
421
-- phonetic patterns -- etymological patterns --
422
------------------------------------------------
423
----d
424
"1d'",
425
"1da",
426
"1dâ",
427
".dacryo1a2",
428
"d1d2h",
429
"1de",
430
"1dé",
431
"1dè",
432
"1dê",
433
"4de.",
434
"4des.",
435
-- words ending with -dent (df) 22/02/94
436
"2dent.",
437
"déca3dent.",
438
"é3dent.",
439
"cci3dent.",
440
"inci3dent.",
441
"confi3dent.",
442
"tri3dent.",
443
"dissi3dent.",
444
"chien3dent.",
445
".ar3dent.",
446
"impu3dent.",
447
"pru3dent.",
448
".dé1a2",
449
".dé1io",
450
".dé1o2",
451
".dé2s", -- originaly in JD file
452
-- .dé2s1a2 removed 09/17/92 because wrong for the
453
--  original JD 500 words test
454
".dé3s2a3cr",
455
".dés2a3m", -- .dés2a2mi introduced 09/17/92 bec. i
456
-- can't see why désamidonner ran in JD.
457
-- Moved to .dés2a3m df 12/27/93.
458
".dé3s2a3tell",
459
".dé3s2astr",
460
".dé3s2c", -- 1 moved 3 due to .dé2s 09/17/92
461
--.dé2s1e2 removed 09/17/92 because wrong for the
462
-- original JD 500 words test
463
".dé2s1é2",
464
".dé3s2é3gr",
465
".dé3s2ensib",
466
".dé3s2ert",
467
".dé3s2exu",
468
--.dé2s3h removed 09/17/92 because wrong for the
469
-- original JD 500 words test
470
".dé2s1i2",
471
".dé3s2i3d",
472
".dé3s2i3gn",
473
".dé3s2i3li",
474
".dé3s2i3nen",
475
".dé3s2invo",
476
".dé3s2i3r",
477
".dé3s2ist",
478
--.dé2s1o2 removed 09/17/92 because wrong for the
479
-- original JD 500 words test
480
".dé3s2o3dé",
481
".dé2s1œ",
482
".dé3s2o3l",
483
".dé3s2o3pil",
484
".dé3s2orm",
485
".dé3s2orp",
486
".dé3s2oufr",
487
".dé3s2p", -- 1 moved 3 due to .dé2s 09/17/92
488
".dé3s2t", -- 1 moved 3 due to .dé2s 09/17/92
489
".dé2s1u2n",
490
"3d2hal",
491
"3d2houd",
492
"1di",
493
"1dî",
494
"di2s3cop",
495
".di1a2cé",
496
".di1a2cid",
497
".di1ald",
498
".di1a2mi",
499
".di1a2tom",
500
".di1e2n",
501
".di2s3h",
502
"2dlent.", -- mute syllable: jodlent (df) 28/02/94
503
"1do",
504
"1dô",
505
"1d2r",
506
"4dre.",
507
"4dres.",
508
"2drent.", -- mute syllable: engendrent (df) 28/02/94
509
"d1s2",
510
"1du",
511
"1dû",
512
"1dy",
513
".dy2s3",
514
".dy2s1a2",
515
".dy2s1i2",
516
".dy2s1o2", -- missing from nb list
517
".dy2s1u2",
518
------------------------------------------------
519
-- phonetic patterns -- etymological patterns --
520
------------------------------------------------
521
----e
522
".e4",
523
"'e4",
524
".ê4",
525
"'ê4",
526
".é4",
527
"'é4",
528
".è4",
529
"'è4",
530
"éd2hi", -- df-bg 1998/02/07 for rédhibitoire
531
"1é2drie",
532
"1é2drique",
533
"1é2lectr",
534
"1é2lément",
535
".en1a2",
536
"'en1a2",
537
"1é2nerg",
538
"e2n1i2vr",
539
".en1o2",
540
"'en1o2",
541
"épi2s3cop",
542
"épi3s4cope",
543
"e2s3cop",
544
".eu2r1a2",
545
"'eu2r1a2",
546
"eu1s2tat",
547
"extra1",
548
"extra2c",
549
"extra2i",
550
------------------------------------------------
551
-- phonetic patterns -- etymological patterns --
552
------------------------------------------------
553
----f
554
"1fa",
555
"1fâ",
556
"1fe",
557
"1fé",
558
"1fè",
559
"1fê",
560
"4fe.",
561
"4fes.",
562
"2fent.", -- mute syllable: agrafent chauffent (df) 22/02/94
563
--
564
"1fi",
565
"1fî",
566
"1f2l",
567
"4fle.",
568
"4fles.",
569
"2flent.", -- mute syllable: gonflent (df) 28/02/94
570
"1fo",
571
"1fô",
572
"1f2r",
573
"4fre.",
574
"4fres.",
575
"2frent.", -- mute syllable: balafrent (df) 28/02/94
576
"f1s2",
577
"1fu",
578
"1fû",
579
"1fy",
580
------------------------------------------------
581
-- phonetic patterns -- etymological patterns --
582
------------------------------------------------
583
----g
584
"1ga",
585
"1gâ",
586
"1ge",
587
"1gé",
588
"1gè",
589
"1gê",
590
"4ge.",
591
"4ges.",
592
-- words ending with -gent (df) 22/02/94
593
"2gent.",
594
"ré3gent.",
595
"entre3gent.",
596
"indi3gent.",
597
"dili3gent.",
598
"intelli3gent.",
599
"indul3gent.",
600
"tan3gent.",
601
"rin3gent.",
602
"contin3gent.",
603
".ar3gent.",
604
"'ar3gent.",
605
"ser3gent.",
606
"ter3gent.",
607
"résur3gent.",
608
--
609
"1g2ha",
610
"1g2he",
611
"1g2hi",
612
"1g2ho",
613
"1g2hy",
614
"1gi",
615
"1gî",
616
"1g2l",
617
"4gle.",
618
"4gles.",
619
"2glent.", -- mute syllable: meuglent (df) 28/02/94
620
"1g2n",
621
"'a2g3nat", -- (df) 16/01/02
622
".a2g3nat", -- (df) 16/01/02
623
"a2g3nos", -- (df) 16/01/02 (pattern dia2g3n deleted)
624
"co2g3niti", -- (df) 16/01/02
625
"'i2g3né", -- (df) 16/01/02
626
".i2g3né", -- (df) 16/01/02
627
"'i2g3ni", -- (df) 16/01/02
628
".i2g3ni", -- (df) 16/01/02
629
".ma2g3nicide", -- (df) 16/01/02
630
".ma2g3nificat", -- (df) 16/01/02
631
".ma2g3num", -- (df) 16/01/02
632
"o2g3nomoni", -- (df) 16/01/02
633
"o2g3nosi", -- (df) 16/01/02
634
".pro2g3nath", -- (df) 16/01/02
635
"pu2g3nable", -- (df) 16/01/02
636
"pu2g3nac", -- (df) 16/01/02
637
".sta2g3n",
638
".syn2g3nath", -- (df) 16/01/02
639
"wa2g3n",
640
"4gne.",
641
"4gnes.",
642
"2gnent.", -- mute syllable: accompagnent (df) 28/02/94
643
"1go",
644
"1gô",
645
"1g2r",
646
"4gre.",
647
"4gres.",
648
"2grent.", -- mute syllable: immigrent (df) 28/02/94
649
"1gu",
650
"1gû",
651
"g1s2",
652
"4gue.",
653
"4gues.",
654
-- words ending with -guent (df) 22/02/94
655
"2guent.",
656
".on3guent.",
657
"'on3guent.",
658
--
659
"1gy",
660
------------------------------------------------
661
-- phonetic patterns -- etymological patterns --
662
------------------------------------------------
663
----h
664
"1ha",
665
"1hâ",
666
"1he",
667
"1hé",
668
"1hè",
669
"1hê",
670
"hémi1é",
671
"hémo1p2t",
672
"4he.",
673
"4hes.",
674
"1hi",
675
"1hî",
676
"1ho",
677
"1hô",
678
"1hu",
679
"1hû",
680
"1hy",
681
"hypera2",
682
"hypere2",
683
"hyperé2",
684
"hyperi2",
685
"hypero2",
686
"hypers2",
687
"hype4r1",
688
"hyperu2",
689
"hypo1a2",
690
"hypo1e2", -- missing from nb list
691
"hypo1é2",
692
"hypo1i2",
693
"hypo1o2",
694
"hypo1s2",
695
"hypo1u2",
696
------------------------------------------------
697
-- phonetic patterns -- etymological patterns --
698
------------------------------------------------
699
----i
700
".i4",
701
"'i4",
702
".î4",
703
"'î4",
704
"i1algi",
705
"i1arthr",
706
"i1è2dre",
707
-- ill patterns missing from nb list
708
"il2l",
709
"cil3l",
710
"rcil4l",
711
"ucil4l",
712
"vacil4l",
713
"gil3l",
714
"hil3l",
715
"lil3l",
716
"l3lion",
717
"mil3l",
718
"mil4let",
719
"émil4l",
720
"semil4l",
721
"rmil4l",
722
"armil5l",
723
"capil3l",
724
"papil3la",
725
"papil3le",
726
"papil3li",
727
"papil3lom",
728
"pupil3l",
729
"piril3l",
730
"thril3l",
731
"cyril3l",
732
"ibril3l",
733
"pusil3l",
734
".stil3l",
735
"distil3l",
736
"instil3l",
737
"fritil3l",
738
"boutil3l",
739
"vanil3lin",
740
"vanil3lis",
741
"vil3l",
742
"avil4l",
743
"chevil4l",
744
"uevil4l",
745
"uvil4l",
746
"xil3l",
747
-- end of ill patterns
748
"1informat", -- missing from nb list
749
"'2informat",
750
".in1a2",
751
"'in1a2",
752
".in2a3nit",
753
"'in2a3nit",
754
".in2augur",
755
"'in2augur",
756
".in1e2",
757
"'in1e2",
758
".in1é2",
759
"'in1é2",
760
".in2effab", -- missing from nb list
761
"'in2effab",
762
".in2é3lucta",
763
"'in2é3lucta",
764
".in2é3narra",
765
"'in2é3narra",
766
".in2ept",
767
"'in2ept",
768
".in2er",
769
"'in2er",
770
".in2exora", -- missing from nb list
771
"'in2exora",
772
".in1i2",
773
"'in1i2",
774
".in2i3miti",
775
"'in2i3miti",
776
".in2i3q",
777
"'in2i3q",
778
".in2i3t",
779
"'in2i3t",
780
".in1o2",
781
"'in1o2",
782
".in2o3cul",
783
"'in2o3cul",
784
".in2ond",
785
"'in2ond",
786
".in1s2tab",
787
"'in1s2tab",
788
"'inte4r3",
789
".intera2",
790
"'intera2",
791
".intere2",
792
"'intere2",
793
".interé2",
794
"'interé2",
795
".interi2",
796
"'interi2",
797
".intero2",
798
"'intero2",
799
".inte4r3",
800
".interu2",
801
"'interu2",
802
".inters2",
803
"'inters2",
804
".in1u2",
805
"'in1u2",
806
".in2uit",
807
"'in2uit",
808
".in2u3l",
809
"'in2u3l",
810
"io1a2ct",
811
"i1oxy",
812
"i1s2tat",
813
------------------------------------------------
814
-- phonetic patterns -- etymological patterns --
815
------------------------------------------------
816
----j
817
"1j",
818
"2jk",
819
"4je.",
820
"4jes.",
821
"2jent.", -- mute syllable: galèjent (df) 22/02/94
822
------------------------------------------------
823
-- phonetic patterns -- etymological patterns --
824
------------------------------------------------
825
----k
826
"1ka",
827
"1kâ",
828
"1ke",
829
"1ké",
830
"1kè",
831
"1kê",
832
"4ke.",
833
"4kes.",
834
"2kent.", -- mute syllable: jerkent (df) 22/02/94
835
"1k2h",
836
"4kh.",
837
".kh4",
838
"1ki",
839
"1kî",
840
"1ko",
841
"1kô",
842
"1k2r",
843
"1ku",
844
"1kû",
845
"1ky",
846
------------------------------------------------
847
-- phonetic patterns -- etymological patterns --
848
------------------------------------------------
849
----l
850
"1la",
851
"1lâ",
852
"1là",
853
"la2w3re",
854
"1le",
855
"1lé",
856
"1lè",
857
"1lê",
858
"4le.",
859
"4les.",
860
-- words ending with -lent (df) 22/02/94
861
"2lent.",
862
".ta3lent.",
863
"iva3lent.",
864
"équiva4lent.",
865
"monova3lent.",
866
"polyva3lent.",
867
"re3lent.",
868
".do3lent.",
869
"indo3lent.",
870
"inso3lent.",
871
"turbu3lent.",
872
"succu3lent.",
873
"fécu3lent.",
874
"trucu3lent.",
875
"opu3lent.",
876
"corpu3lent.",
877
"ru3lent.",
878
"sporu4lent.",
879
--
880
"1li",
881
"1lî",
882
"1lo",
883
"1lô",
884
"l1s2t",
885
"1lu",
886
"1lû",
887
"1ly",
888
------------------------------------------------
889
-- phonetic patterns -- etymological patterns --
890
------------------------------------------------
891
----m
892
"1ma",
893
"1mâ",
894
".ma2c3k",
895
".macro1s2c",
896
".ma2l1a2dres",
897
".ma2l1a2dro",
898
".ma2l1aisé",
899
".ma2l1ap",
900
".ma2l1a2v",
901
".ma2l1en",
902
".ma2l1int",
903
".ma2l1oc",
904
".ma2l1o2d",
905
".ma2r1x", -- nb (jbb: ?)
906
"1me",
907
"1mé",
908
"1mè",
909
"1mê",
910
".mé2g1oh",
911
".mé2sa", -- missing from nb list
912
".mé3san", -- missing from nb list
913
".mé2s1es",
914
".mé2s1i",
915
".mé2s1u2s",
916
".méta1s2ta",
917
"4me.",
918
"4mes.",
919
-- words ending with -ment (df) 22/02/94
920
"â2ment.",
921
"da2ment.",
922
"fa2ment.",
923
"amalga2ment.",
924
"cla2ment.",
925
"ra2ment.",
926
"tempéra3ment.",
927
"ta2ment.",
928
"testa3ment.",
929
"qua2ment.",
930
"è2ment.",
931
"carê2ment.",
932
"diaphrag2ment.",
933
"ryth2ment.",
934
"ai2ment.",
935
"rai3ment.",
936
"abî2ment.",
937
"éci2ment.",
938
"vidi2ment.",
939
"subli2ment.",
940
"éli2ment.",
941
"reli2ment.",
942
"mi2ment.",
943
"ani2ment.",
944
"veni2ment.",
945
"ri2ment.",
946
"détri3ment.",
947
"nutri3ment.",
948
"inti2ment.",
949
"esti2ment.",
950
"l2ment.",
951
"flam2ment.",
952
"gram2ment.",
953
".gem2ment.",
954
"om2ment.",
955
".com3ment.",
956
"ô2ment.",
957
"slalo2ment.",
958
"chro2ment.",
959
"to2ment.",
960
"ar2ment.",
961
".sar3ment.",
962
"er2ment.",
963
"antifer3ment.",
964
".ser3ment.",
965
"fir2ment.",
966
"or2ment.",
967
"as2ment.",
968
"au2ment.",
969
"écu2ment.",
970
"fu2ment.",
971
"hu2ment.",
972
"fichu3ment.",
973
"llu2ment.",
974
"plu2ment.",
975
"bou2ment.",
976
"bru2ment.",
977
"su2ment.",
978
"tu2ment.",
979
--
980
"1mi",
981
"1mî",
982
".milli1am",
983
"1m2némo",
984
"1m2nès",
985
"1m2nési",
986
"1mo",
987
"1mô",
988
"1mœ",
989
".mono1a2",
990
".mono1e2",
991
".mono1é2",
992
".mono1i2",
993
".mono1ï2dé",
994
".mono1o2",
995
".mono1u2",
996
".mono1s2",
997
"mon2t3réal", -- missing from nb list
998
"m1s2",
999
"1mu",
1000
"1mû",
1001
"1my",
1002
"moye2n1â2g",
1003
------------------------------------------------
1004
-- phonetic patterns -- etymological patterns --
1005
------------------------------------------------
1006
----n
1007
"1na",
1008
"1nâ",
1009
"1ne",
1010
"1né",
1011
"1nè",
1012
"1nê",
1013
"4ne.",
1014
"4nes.",
1015
-- words ending with -nent (df) 22/02/94
1016
"2nent.", -- fric-tionnent - syllable muette - bg 27/12/93
1017
"réma3nent.",
1018
"imma3nent.",
1019
"perma3nent.",
1020
".émi3nent.",
1021
"préémi3nent.",
1022
"proémi3nent.",
1023
"surémi3nent.",
1024
"immi3nent.",
1025
"conti3nent.",
1026
"perti3nent.",
1027
"absti3nent.",
1028
--
1029
"1ni",
1030
"1nî",
1031
"1no",
1032
"1nô",
1033
"1nœ",
1034
".no2n1obs",
1035
"1nu",
1036
"1nû",
1037
"n3s2at.",
1038
"n3s2ats.",
1039
"n1x",
1040
"1ny",
1041
------------------------------------------------
1042
-- phonetic patterns -- etymological patterns --
1043
------------------------------------------------
1044
----o
1045
".o4",
1046
"'o4",
1047
"'ô4",
1048
".ô4",
1049
--'ö2 -- mjf -- deleted 3/1/94 df-bg
1050
"o2b3long",
1051
"1octet", -- missing from nb list
1052
"'2octet",
1053
"o1d2l",
1054
"o1è2dre",
1055
"o1ioni",
1056
"ombud2s3",
1057
"omni1s2",
1058
"o1s2tas",
1059
"o1s2tat",
1060
"o1s2téro",
1061
"o1s2tim",
1062
"o1s2tom",
1063
"o1s2trad",
1064
"o1s2tratu",
1065
"o1s2triction",
1066
".oua1ou",
1067
"'oua1ou",
1068
".ovi1s2c",
1069
"'ovi1s2c",
1070
"oxy1a2",
1071
------------------------------------------------
1072
-- phonetic patterns -- etymological patterns --
1073
------------------------------------------------
1074
----p
1075
"1pa",
1076
"1pâ",
1077
"paléo1é2",
1078
".pa2n1a2f",
1079
".pa2n1a2mé",
1080
".pa2n1a2ra",
1081
".pa2n1is",
1082
".pa2n1o2ph",
1083
".pa2n1opt",
1084
".pa2r1a2che",
1085
".pa2r1a2chè",
1086
".para1s2",
1087
".pa2r3hé",
1088
"1pe",
1089
"1pé",
1090
"1pè",
1091
"1pê",
1092
"4pe.",
1093
"4pes.",
1094
-- words ending with -pent (df) 22/02/94
1095
"2pent.",
1096
"re3pent.",
1097
".ar3pent.",
1098
"'ar3pent.",
1099
"ser3pent.",
1100
--
1101
".pen2ta", -- pent- or penta- but never pen-ta bg 12/27/93
1102
"per3h",
1103
"pé2nul", -- pé2n1ul moved back 09/17/92 to JD def.
1104
".pe4r",
1105
".per1a2",
1106
".per1e2",
1107
".per1é2",
1108
".per1i2",
1109
".per1o2",
1110
".per1u2",
1111
"pé1r2é2q", -- 2r1 moved 09/17/92 to 1r2(it was a typo)
1112
".péri1os",
1113
".péri1s2",
1114
".péri2s3s",
1115
".péri2s3ta",
1116
".péri1u2",
1117
"1p2h",
1118
".ph4",
1119
"4ph.",
1120
".phalan3s2t",
1121
"4phe.",
1122
"4phes.",
1123
"2phent.", -- mute syllable: triomphent (df) 22/02/94
1124
"ph2l",
1125
"4phle.",
1126
"4phles.",
1127
"2phn",
1128
"photo1s2",
1129
"ph2r",
1130
"4phre.",
1131
"4phres.",
1132
"2phs",
1133
"2pht",
1134
"3ph2talé",
1135
"3ph2tis",
1136
-------- Here is an example of a pb involving phonetic and etymologic patterns 5/94
1137
--------                .phyto3ph2 -- originaly, but wrong for phy-toph-thora   9/92
1138
--------                .phy2topha -- for -pharmacie but wrong for phyto-biol.. 5/94
1139
"1pi",
1140
"1pî",
1141
"1p2l",
1142
"4ple.",
1143
"4ples.",
1144
"2plent.", -- mute syllable: accouplent (df) 28/02/94
1145
".pluri1a",
1146
"1p2né",
1147
"1p2neu",
1148
"1po",
1149
"1pô",
1150
"po1astre",
1151
"poly1a2",
1152
"poly1e2",
1153
"poly1é2",
1154
"poly1è2",
1155
"poly1i2",
1156
"poly1o2",
1157
"poly1s2",
1158
"poly1u2",
1159
".pon2tet", -- JD hypenated it asis 09/17/92, exception
1160
".pos2t3h",
1161
".pos2t1in",
1162
".pos2t1o2",
1163
".pos2t3r",
1164
".post1s2",
1165
"1p2r",
1166
"4pre.",
1167
"4pres.",
1168
"2prent.", -- mute syllable: empourprent (df) 28/02/94
1169
".pré1a2",
1170
".pré2a3la", -- missing from nb list
1171
".pré2au",
1172
".pré1é2",
1173
".pré1e2",
1174
".pré1i2",
1175
".pré1o2",
1176
".pré1u2",
1177
".pré1s2",
1178
".pro1é2",
1179
".pro1s2cé",
1180
"pro2s3tat",
1181
".prou3d2h",
1182
"1p2sych",
1183
".psycho1a2n",
1184
"1p2tèr",
1185
"1p2tér",
1186
"1pu",
1187
".pud1d2l",
1188
"1pû",
1189
"1py",
1190
------------------------------------------------
1191
-- phonetic patterns -- etymological patterns --
1192
------------------------------------------------
1193
----q
1194
"1q",
1195
"4que.",
1196
"4ques.",
1197
-- words ending with -quent (df) 22/02/94
1198
"2quent.",
1199
"é3quent.",
1200
"élo3quent.",
1201
"grandilo3quent.",
1202
------------------------------------------------
1203
-- phonetic patterns -- etymological patterns --
1204
------------------------------------------------
1205
----r
1206
"1ra",
1207
"1râ",
1208
"radio1a2", -- missing from nb list
1209
"1re",
1210
"1ré",
1211
"1rè",
1212
"1rê",
1213
".ré1a2",
1214
".ré2a3le",
1215
".ré2a3lis",
1216
".ré2a3lit",
1217
".ré2aux",
1218
".ré1é2",
1219
".ré1e2",
1220
".ré2el",
1221
".ré2er",
1222
".ré2èr",
1223
".ré1i2",
1224
".ré2i3fi",
1225
".ré1o2",
1226
".re1s2",
1227
".re2s3cap",
1228
".re2s3cisi", -- for res-cision  09/17/92 (missing from nb)
1229
".re2s3ciso", -- for res-cisoire 09/17/92(missing from nb)
1230
".re2s3cou",
1231
".re2s3cri",
1232
".re2s3pect",
1233
".re2s3pir",
1234
".re2s3plend",
1235
".re2s3pons",
1236
".re2s3quil",
1237
".re2s3s",
1238
".re2s3t",
1239
".re3s4tab",
1240
".re3s4tag",
1241
".re3s4tand",
1242
".re3s4tat",
1243
".re3s4tén",
1244
".re3s4tér",
1245
".re3s4tim",
1246
".re3s4tip",
1247
".re3s4toc",
1248
".re3s4top",
1249
".re3s4tr",
1250
".re4s5trein",
1251
".re4s5trict",
1252
".re4s5trin",
1253
".re3s4tu",
1254
".re3s4ty",
1255
".réu2", --.ré1u2 -- pattern rejected 12/2/92
1256
-- (don't hyphenate as ré-union nor réu-nion)
1257
".ré2uss",
1258
".rétro1a2",
1259
"4re.",
1260
"4res.",
1261
-- words ending with -rent (df) 22/02/94
1262
"2rent.", -- es-pèrent - syllable muette - bg 27/12/93
1263
".pa3rent.",
1264
"appa3rent.",
1265
"transpa3rent.",
1266
"é3rent.",
1267
"tor3rent.",
1268
"cur3rent.",
1269
--
1270
"1r2h",
1271
"4rhe.",
1272
"4rhes.",
1273
"2r3heur",
1274
"2r3hydr",
1275
"1ri",
1276
"1rî",
1277
"1ro",
1278
"1rô",
1279
"1ru",
1280
"1rû",
1281
"1ry",
1282
------------------------------------------------
1283
-- phonetic patterns -- etymological patterns --
1284
------------------------------------------------
1285
----s
1286
"1sa",
1287
"1sâ",
1288
".sch4",
1289
"1s2caph",
1290
"1s2clér",
1291
"1s2cop",
1292
"1s2ch",
1293
"e2s3ch",
1294
"i2s3ché",
1295
"i2s3chia",
1296
"i2s3chio",
1297
"4sch.",
1298
"4sche.",
1299
"4sches.",
1300
"2schs",
1301
"1se",
1302
"1sé",
1303
"1sè",
1304
"1sê",
1305
"sesqui1a2",
1306
"4se.",
1307
"4ses.",
1308
-- words ending with -sent (df) 22/02/94
1309
"2sent.", -- massent - syllable muette - bg 27/12/93
1310
"ab3sent.",
1311
"pré3sent.",
1312
".res3sent.",
1313
--
1314
".seu2le", -- jbb
1315
".sh4",
1316
"1s2h",
1317
"4sh.",
1318
"4she.",
1319
"4shes.",
1320
"2shent.", -- mute syllable: smashent (df) 22/02/94
1321
"2shm",
1322
"2s3hom",
1323
"2shr",
1324
"2shs",
1325
"1si",
1326
"1sî",
1327
"1s2lav",
1328
"1s2lov",
1329
"1so",
1330
"1sô",
1331
"1sœ",
1332
"1s2patia",
1333
"1s2perm",
1334
"1s2por",
1335
"1s2phèr",
1336
"1s2phér",
1337
"1s2piel",
1338
"1s2piros",
1339
"1s2tandard",
1340
"1s2tein",
1341
"stéréo1s2",
1342
"1s2tigm",
1343
"1s2tock",
1344
"1s2tomos",
1345
"1s2troph",
1346
"1s2tructu",
1347
"1s2tyle",
1348
"1su",
1349
"1sû",
1350
".su2b1a2",
1351
".su3b2alt",
1352
".su2b1é2",
1353
".su3b2é3r",
1354
".su2b1in",
1355
".su2b3limin",
1356
".su2b3lin",
1357
".su2b3lu",
1358
"sub1s2",
1359
".su2b1ur",
1360
"supero2",
1361
"supe4r1",
1362
"supers2",
1363
".su2r1a2",
1364
"su3r2ah",
1365
".su3r2a3t",
1366
".su2r1e2",
1367
".su3r2eau",
1368
".su3r2ell",
1369
".su3r2et",
1370
".su2r1é2",
1371
".su2r3h",
1372
".su2r1i2m",
1373
".su2r1inf",
1374
".su2r1int",
1375
".su2r1of",
1376
".su2r1ox",
1377
"1sy",
1378
------------------------------------------------
1379
-- phonetic patterns -- etymological patterns --
1380
------------------------------------------------
1381
----t
1382
"1ta",
1383
"1tâ",
1384
"1tà",
1385
"tachy1a2",
1386
"tchin3t2",
1387
"1te",
1388
"1té",
1389
"1tè",
1390
"1tê",
1391
"télé1e2",
1392
"télé1i2",
1393
"télé1o2b",
1394
"télé1o2p",
1395
"télé1s2",
1396
"4te.",
1397
"4tes.",
1398
-- words ending with -tent (df) 22/02/94
1399
"2tent.", -- mentent - syllable muette - bg 27/12/93
1400
".la3tent.",
1401
".pa3tent.",
1402
"compé3tent.",
1403
"éni3tent.",
1404
"mécon3tent.",
1405
"omnipo3tent.",
1406
"ventripo3tent.",
1407
"équipo3tent.",
1408
"impo3tent.",
1409
"mit3tent.",
1410
--
1411
".th4",
1412
"1t2h",
1413
"4th.",
1414
"4the.",
1415
"4thes.",
1416
"thermo1s2",
1417
"2t3heur",
1418
"2thl", -- th2l  was wrong for ...ath-lon (jd said 2thl) df 12/27/93
1419
"2thm",
1420
"2thn",
1421
"th2r",
1422
"4thre.",
1423
"4thres.",
1424
"2ths",
1425
"1ti",
1426
"1tî",
1427
"1to",
1428
"1tô",
1429
"1t2r",
1430
"tran2s1a2",
1431
"tran3s2act",
1432
"tran3s2ats",
1433
"tran2s3h",
1434
"tran2s1o2",
1435
"tran2s3p",
1436
"tran2s1u2",
1437
"4tre.",
1438
"4tres.",
1439
"2trent.", -- mute syllable: infiltrent (df) 28/02/94
1440
".tri1a2c",
1441
".tri1a2n",
1442
".tri1a2t",
1443
".tri1o2n",
1444
"t1t2l",
1445
"1tu",
1446
"1tû",
1447
"tung2s3",
1448
"1ty",
1449
------------------------------------------------
1450
-- phonetic patterns -- etymological patterns --
1451
------------------------------------------------
1452
----u
1453
".u4",
1454
"'u4",
1455
".û4",
1456
"'û4",
1457
"uni1o2v",
1458
"uni1a2x",
1459
"u2s3tr",
1460
------------------------------------------------
1461
-- phonetic patterns -- etymological patterns --
1462
------------------------------------------------
1463
----v
1464
"1va",
1465
"1vâ",
1466
"1ve",
1467
"1vé",
1468
"1vè",
1469
"1vê",
1470
"vélo1s2ki",
1471
"4ve.",
1472
"4ves.",
1473
-- words ending with -vent (df) 22/02/94
1474
"2vent.",
1475
"conni3vent.",
1476
".sou3vent.",
1477
--
1478
"1vi",
1479
"1vî",
1480
"1vo",
1481
"1vô",
1482
"vol2t1amp",
1483
"1v2r",
1484
"4vre.",
1485
"4vres.",
1486
"2vrent.", -- mute syllable: recouvrent (df) 28/02/94
1487
"1vu",
1488
"1vû",
1489
"1vy",
1490
------------------------------------------------
1491
-- phonetic patterns -- etymological patterns --
1492
------------------------------------------------
1493
----w
1494
"1wa",
1495
"1we",
1496
"4we.",
1497
"4wes.",
1498
"2went.", -- mute syllable: interviewent (df) 22/02/94
1499
"1wi",
1500
"1wo",
1501
"1wu",
1502
"1w2r",
1503
------------------------------------------------
1504
-- phonetic patterns -- etymological patterns --
1505
------------------------------------------------
1506
----x
1507
"2xent.", -- mute syllable:  malaxent (df) 22/02/94
1508
------------------------------------------------
1509
-- phonetic patterns -- etymological patterns --
1510
------------------------------------------------
1511
----y
1512
".y4",
1513
"'y4",
1514
"y1asth",
1515
"y1s2tom",
1516
"y1algi",
1517
------------------------------------------------
1518
-- phonetic patterns -- etymological patterns --
1519
------------------------------------------------
1520
----z
1521
"1za",
1522
"1ze",
1523
"1zé",
1524
"1zè",
1525
"4ze.",
1526
"4zes.",
1527
-- words ending with -zent (df) 22/02/94
1528
"2zent.",
1529
"privatdo3zent.",
1530
--
1531
"1zi",
1532
"1zo",
1533
"1zu",
1534
"1zy",
1535
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc