Repository: jaraco/inflect (language: python)

Issue:
Singular of "tranches" should be "tranche"
SIngularizing "tranches" as a noun results in "tranch", which is incorrect. The correct singularization is "tranche".

Tranche has French etymology, but is a [well-known word in English](https://www.merriam-webster.com/dictionary/tranche), especially in finance.


Discussion / hints:

Fix patch:
diff --git a/inflect.py b/inflect.py
index 3bb946b..b8b7583 100644
--- a/inflect.py
+++ b/inflect.py
@@ -1413,6 +1413,7 @@ def make_pl_si_lists(
     "quiches",
     "stomachaches",
     "toothaches",
+    "tranches",
 )
 
 si_sb_xes_xe = ("annexes", "axes", "deluxes", "pickaxes")


Test patch:
diff --git a/tests/inflections.txt b/tests/inflections.txt
index b37377c..3d49749 100644
--- a/tests/inflections.txt
+++ b/tests/inflections.txt
@@ -779,6 +779,7 @@
             trapezium  ->  trapeziums|trapezia
                trauma  ->  traumas|traumata
               travois  ->  travois
+              tranche  ->  tranches
               trellis  ->  trellises
      TODO:siverb           tries  ->  try
                trilby  ->  trilbys