new summary query
Browse files
README.md
CHANGED
|
@@ -4,11 +4,11 @@ language:
|
|
| 4 |
tags:
|
| 5 |
- arena
|
| 6 |
---
|
| 7 |
-
Arena's DB is _SQLlite_ DB file.
|
| 8 |
|
| 9 |
## Useful queries for TTS developers and evaluators
|
| 10 |
|
| 11 |
-
### All votes mentioning
|
| 12 |
```sql
|
| 13 |
SELECT
|
| 14 |
spokentext, lang, chosen, rejected, count(spokentext) AS times, MAX(vl.timestamp) AS lastvote
|
|
@@ -22,7 +22,7 @@ ORDER BY times DESC, spokentext ASC
|
|
| 22 |
LIMIT 0, 49999;
|
| 23 |
```
|
| 24 |
|
| 25 |
-
### All rejections of
|
| 26 |
```sql
|
| 27 |
SELECT
|
| 28 |
spokentext, lang, chosen, rejected, count(spokentext) AS times, MAX(vl.timestamp) AS lastvote
|
|
@@ -33,6 +33,25 @@ ORDER BY spokentext ASC
|
|
| 33 |
LIMIT 0, 49999;
|
| 34 |
```
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
If you use this data in your publication, please cite us!
|
| 37 |
|
| 38 |
Copy the BibTeX citation to cite this source:
|
|
|
|
| 4 |
tags:
|
| 5 |
- arena
|
| 6 |
---
|
| 7 |
+
Arena's DB is _SQLlite_ DB file. The above is just a summary query that should be useful for TTS developers to evaluate faults of their model.
|
| 8 |
|
| 9 |
## Useful queries for TTS developers and evaluators
|
| 10 |
|
| 11 |
+
### All votes mentioning specified TTS model:
|
| 12 |
```sql
|
| 13 |
SELECT
|
| 14 |
spokentext, lang, chosen, rejected, count(spokentext) AS times, MAX(vl.timestamp) AS lastvote
|
|
|
|
| 22 |
LIMIT 0, 49999;
|
| 23 |
```
|
| 24 |
|
| 25 |
+
### All rejections of specified TTS model against another:
|
| 26 |
```sql
|
| 27 |
SELECT
|
| 28 |
spokentext, lang, chosen, rejected, count(spokentext) AS times, MAX(vl.timestamp) AS lastvote
|
|
|
|
| 33 |
LIMIT 0, 49999;
|
| 34 |
```
|
| 35 |
|
| 36 |
+
### All rejections of a TTS model against another:
|
| 37 |
+
```sql
|
| 38 |
+
SELECT
|
| 39 |
+
spokentext,
|
| 40 |
+
lang,
|
| 41 |
+
(COUNT(DISTINCT chosen) || ' ' || GROUP_CONCAT(DISTINCT chosen)) AS chosen,
|
| 42 |
+
rejected,
|
| 43 |
+
count(spokentext) AS times,
|
| 44 |
+
MAX(vl.timestamp) AS lastvote
|
| 45 |
+
FROM "main"."spokentext"
|
| 46 |
+
INNER JOIN votelog vl ON votelog_id = vl.id
|
| 47 |
+
GROUP BY spokentext, rejected
|
| 48 |
+
ORDER BY
|
| 49 |
+
times DESC,
|
| 50 |
+
COUNT(DISTINCT chosen) DESC,
|
| 51 |
+
spokentext ASC
|
| 52 |
+
LIMIT 0, 49999;
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
If you use this data in your publication, please cite us!
|
| 56 |
|
| 57 |
Copy the BibTeX citation to cite this source:
|