-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolve conflicts, move diffsinger phonemizers into a subfolder
- Loading branch information
1 parent
dc1ef9a
commit bbd48c2
Showing
5 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
...DiffSinger/DiffSingerItalianPhonemizer.cs → ...honemizers/DiffSingerItalianPhonemizer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
using OpenUtau.Api; | ||
using OpenUtau.Core.G2p; | ||
|
||
namespace OpenUtau.Core.DiffSinger { | ||
[Phonemizer("DiffSinger Italian Phonemizer", "DIFFS IT", language: "IT")] | ||
public class DiffSingerItalianPhonemizer : DiffSingerG2pPhonemizer { | ||
protected override string GetDictionaryName() => "dsdict-it.yaml"; | ||
protected override IG2p LoadBaseG2p() => new ItalianG2p(); | ||
protected override string[] GetBaseG2pVowels() => new string[] { | ||
"a", "a1", "e", "e1", "EE", "i", "i1", "o", "o1", "OO", "u", "u1" | ||
}; | ||
|
||
protected override string[] GetBaseG2pConsonants() => new string[] { | ||
"b", "d", "dz", "dZZ", "f", "g", "JJ", "k", "l", "LL", "m", "n", | ||
"nf", "ng", "p", "r", "rr", "s", "SS", "t", "ts", "tSS", "v", "w", "y", "z" | ||
}; | ||
} | ||
} | ||
using OpenUtau.Api; | ||
using OpenUtau.Core.G2p; | ||
|
||
namespace OpenUtau.Core.DiffSinger { | ||
[Phonemizer("DiffSinger Italian Phonemizer", "DIFFS IT", language: "IT")] | ||
public class DiffSingerItalianPhonemizer : DiffSingerG2pPhonemizer { | ||
protected override string GetDictionaryName() => "dsdict-it.yaml"; | ||
protected override IG2p LoadBaseG2p() => new ItalianG2p(); | ||
protected override string[] GetBaseG2pVowels() => new string[] { | ||
"a", "a1", "e", "e1", "EE", "i", "i1", "o", "o1", "OO", "u", "u1" | ||
}; | ||
|
||
protected override string[] GetBaseG2pConsonants() => new string[] { | ||
"b", "d", "dz", "dZZ", "f", "g", "JJ", "k", "l", "LL", "m", "n", | ||
"nf", "ng", "p", "r", "rr", "s", "SS", "t", "ts", "tSS", "v", "w", "y", "z" | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.