English 華語
A python GUI toolkit for creating and editing Aesthetic YAML dictionaries for OpenUtau 🥰😍
![ou dict prev layout](https://private-user-images.githubusercontent.com/92255161/347658704-6b533bcb-0e2e-4d67-98ff-b4cd6adb94a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjIyMTUsIm5iZiI6MTczOTE2MTkxNSwicGF0aCI6Ii85MjI1NTE2MS8zNDc2NTg3MDQtNmI1MzNiY2ItMGUyZS00ZDY3LTk4ZmYtYjRjZDZhZGI5NGE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0MzE1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYzOTkyYThmNWI1YTdiMWM0NGExZTgyYmUyMzE5MzgwNDJhZTM3Njc0MTNhMGVhODE1NTQ5YjdkZTEzNTc5YmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AHVX9dhX5kAPQslfEfkUOqN3eVhWMhGyr6RfynOzkFI)
- To use this GUI Toolkit, for
Windows
I recommend using the portable.exe
file and forMacOs
andLinux
I recommend using the.pyw
file and usepython version 3.10 and above
3.9 and below
is untested and it may not work properly. - installing the modules for
MacOs
andLinux
:pip install -r requirements.txt
- pip is not on the path yet do
python get-pip.py
then pip install:python get-pip.py
- OpenUtau Dictionary Editor uses a preformated yaml file for GUI translation. All users are welcome to translate the text found in
Templates/Localizations/en_US.yaml
to other languages and submit a pull request.
- By clicking the
[Open YAML File]
button, you can open a premade OpenUTAU YAML dictionary to edit them directly with this GUI toolkit. The[Append YAML File]
button's function is to merge multiple YAML files so that users can merge them together.
- You can add the graphemes and phonemes onto the Manual Entry section. Pressing the
[Add Entry]
button will add them to the Entries viewer. Using the[Delete Entry]
button or the delete button on your keyboard will delete the selected entry. By clicking the entries first thenshift
+click
to other entries will highlight them so that users can batch delete the entries using the[Delete Entry]
button or the delete keyboard button. Note: If creating a dictionary from scratch, choose a yaml template from the combobox picker
- You can turn on
G2P Suggestions
on theOthers
tab and it will generate phonemes automatically when you type the words on the word entry - Currently the G2p models are the same with Openutau + Millefeuille French G2p model by UFR
- Using the combobox picker, users can choose their OpenUtau YAML template to create their dictionary. Also, users can add their own templates by placing them in the
[Templates]
folder so the GUI toolkit will recognize the files via the templates.ini and use them for dictionary creation. Tip: if you're creating a custom dict from scratch, add your template from the templates folder so that you can use it on the picker and add your entries, if you have already made a custom dict, just import them to the editor then use 'Current Template' so that it add the entries to the current imported yaml file and still preserve the custom symbols
- Users can sort their entries alphabetically either
A-Z
orZ-A
- Function to convert the CMUdict.txt into a functional OpenUTAU dictionary. Note that the CMUdict mustn't have a
;;;
or the GUI toolkit will throw an error.
- Users can edit the symbols of the yaml dictionary by clicking the
Edit symbols
, add or delete the symbols (phonemes and phoneme type) and saving them for future use.
- In the Entries Viewer, users can interact with the entries by clicking, deleting, adding, and arranging the entries.
-
- Users can
Ctrl
+ click andShift
+ click to select multiple entries in the viewer. -
- By double clicking the selected entry or
right-click > edit
, users can directly edit the entry.
- By double clicking the selected entry or
-
- Users can drag and drop the entries to change their positions manually.
- Users can use the Regex search and replace to replace the grapheme or the phonemes.
- There are currently 3 formats for saving the created/edited dictionary:
- Users change the theme and color accents of the GUI toolkit as they please. Currently there are
23
color accents to choose from corresponding with theirLight
anddark
theme.
- And other features of this GUI Toolkit such as automatic
' '
for the special characters for the grapheme and phonemes, Light mode and Dark mode theming, Entry sorting, Remove number accents, Make phonemes lowercase and more.