Skip to content

Commit

Permalink
Merge pull request #1095 from GeneralNuisance0/master
Browse files Browse the repository at this point in the history
Update EnglishVCCVPhonemizer.cs
  • Loading branch information
stakira authored Apr 20, 2024
2 parents 9ef2d4f + bee9706 commit 42f9752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenUtau.Plugin.Builtin/EnglishVCCVPhonemizer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand All @@ -16,7 +16,7 @@ namespace OpenUtau.Plugin.Builtin {
// Thanks to cubialpha, Cz, Halo/BagelHero, nago, and AnAndroNerd for their help.
public class EnglishVCCVPhonemizer : SyllableBasedPhonemizer {

private readonly string[] vowels = "a,@,u,0,8,I,e,3,A,i,E,O,Q,6,o,1ng,9,&,x,1".Split(",");
private readonly string[] vowels = "a,@,u,0,8,I,e,3,A,i,E,O,Q,6,o,1ng,9,&,x,1,Y,L,W".Split(",");
private readonly string[] consonants = "b,ch,d,dh,f,g,h,j,k,l,m,n,ng,p,r,s,sh,t,th,v,w,y,z,zh,dd,hh,sp,st".Split(",");
private readonly Dictionary<string, string> dictionaryReplacements = ("aa=a;ae=@;ah=u;ao=9;aw=8;ay=I;" +
"b=b;ch=ch;d=d;dh=dh;eh=e;er=3;ey=A;f=f;g=g;hh=h;hhy=hh;ih=i;iy=E;jh=j;k=k;l=l;m=m;n=n;ng=ng;ow=O;oy=Q;" +
Expand Down

0 comments on commit 42f9752

Please sign in to comment.