From c3116695a7759f4814f71d898c3b150f670b4c6f Mon Sep 17 00:00:00 2001
From: "Silas S. Brown" <ssb22@cam.ac.uk>
Date: Thu, 26 Apr 2018 06:57:57 +0100
Subject: [PATCH] Gradint update

---
 gradint-build/server/cantonese.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradint-build/server/cantonese.py b/gradint-build/server/cantonese.py
index ca4a160..339f0dc 100644
--- a/gradint-build/server/cantonese.py
+++ b/gradint-build/server/cantonese.py
@@ -148,7 +148,7 @@ def jyutping_to_yale_TeX(j): # returns space-separated syllables
     for i in range(len(syl)):
       if syl[i] in "aeiou":
         vowel=i ; break
-    if vowel==None and re.match(r"h?(m|ng)[4-6]",syl): # standalone nasal syllables
+    if vowel==None and re.match(r"h?(m|ng)[456]",syl): # standalone nasal syllables
       vowel = syl.find('m')
       if vowel<0: vowel = syl.index('n')
     if vowel==None:
-- 
GitLab