GithubHelp home page GithubHelp logo

cadlaxa / openutau-dictionary-editor Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 4.0 113.68 MB

A python GUI toolkit for creating/editing Aesthetic YAML dictionaries for OpenUtau

License: Apache License 2.0

Python 28.46% Tcl 71.54%
diffsinger openutau python tkinter-gui utau cmudict synthv sv-ttk

openutau-dictionary-editor's Introduction

English ่ฏ่ชž

OpenUtau-Dictionary-Editor

A python GUI toolkit for creating and editing Aesthetic YAML dictionaries for OpenUtau ๐Ÿฅฐ๐Ÿ˜

ou dict prev layout
  • To use this GUI Toolkit, for Windows I recommend using the portable .exe file and for MacOs and Linux I recommend using the .pyw file and use python version 3.10 and above 3.9 and below is untested and it may not work properly.
  • installing the modules for MacOs and Linux:
    pip install -r requirements.txt
    
  • pip is not on the path yet do python get-pip.py then pip install:
    python get-pip.py
    

๐Ÿ“ Download the latest version here:

Download Latest Release

๐Ÿ“ language support

  • 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.

Features

Open/Append YAML Dictionaries

image

  • 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.

Create a YAML Dictionary from Scratch

image

  • 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 then shift + 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

Using G2P for Faster Dictionary Editing/Creation

image

  • You can turn on G2P Suggestions on the Others 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 OpenUtau YAML Templates or Custom Template

image

  • 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

Sorting the Entries

image

  • Users can sort their entries alphabetically either A-Z or Z-A

Converting CMUdict to OU YAML dictionary

image

  • 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.

Editing the Symbols and saving them as a Template

image

  • 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.

Using the Entries Viewer

image

  • In the Entries Viewer, users can interact with the entries by clicking, deleting, adding, and arranging the entries.
  • Clicking the Entries to Edit

    image
  • Users can Ctrl + click and Shift + click to select multiple entries in the viewer.
  • Double Clicking the Cell for Direct Entry Edit

    image
    • By double clicking the selected entry or right-click > edit, users can directly edit the entry.
  • Dragging the Entries to Change Their Positions

    image
  • Users can drag and drop the entries to change their positions manually.

Using the Regex Function

image

  • Users can use the Regex search and replace to replace the grapheme or the phonemes.

Saving and Importing the Dictionary

  • There are currently 3 formats for saving the created/edited dictionary:
    • OpenUtau YAML Format
    • image
    • image
    • CMUDICT Format
    • image
    • image
    • Synthv Format
    • image
    • image

Changing Themes and Color Accents

image

  • 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 their Light and dark 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.

openutau-dictionary-editor's People

Contributors

astel123457 avatar cadlaxa avatar lolsalt avatar oxygen-dioxide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.