You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,21 +25,25 @@ Update 06/15/2022: Added a feature that counts how many instances of each phonem
25
25
This script is for getting some statistics for your NNSVS/ENUNU database. It reads all the USTs and LABs of the database (it will only count the LABs that already have USTs by default). You can drag and drop the database folder over the script like with lab2audacity, but this script also takes in additional arguments for settings. Here's the whole help documentation of the script, but this may be invoked with `database_stats.py -h` as well.
26
26
27
27
```
28
-
usage: database_stats.py [-h] [--all-labs] [--include-pau] db
28
+
usage: database_stats.py [-h] [--all-labs] [--include-pau] [--skip-diphone] [--write-diphone] db
29
29
30
30
Calculates some statistics for your existing NNSVS database
31
31
32
32
positional arguments:
33
-
db The database's folder location
33
+
db The database's folder location
34
34
35
35
optional arguments:
36
-
-h, --help show this help message and exit
37
-
--all-labs, -L Include all LABs in the LAB pass.
38
-
--include-pau, -P Include pau phoneme in the phoneme tally passes.
36
+
-h, --help show this help message and exit
37
+
--all-labs, -l Include all LABs in the LAB pass.
38
+
--include-pau, -p Include pau phoneme in the phoneme tally passes.
39
+
--skip-diphone, -s Skip diphone density in calculations.
40
+
--write-diphone, -w Include diphone density in the .csv version.
39
41
```
40
42
41
43
This script will then save a `stats.txt` file inside the database folder you have passed to it.
42
44
45
+
**Update 09/27/2022:** This script will now generate a `stats.csv` file as well to import statistics into a spreadsheet format automatically.
46
+
43
47
### lab2ust
44
48
The whole lab2ust folder will be put in the UTAU plugins folder.
0 commit comments