feat: add audio clip annotation view for dialect rating
This commit is contained in:
19
src/lib/dialects.ts
Normal file
19
src/lib/dialects.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export const DIALECT_LABELS: Record<string, string> = {
|
||||
ch_be: 'Bern',
|
||||
ch_bs: 'Basel',
|
||||
ch_gr: 'Graubünden',
|
||||
ch_in: 'Innerschweiz',
|
||||
ch_os: 'Ostschweiz',
|
||||
ch_vs: 'Wallis',
|
||||
ch_zh: 'Zürich',
|
||||
de: 'Deutsch',
|
||||
};
|
||||
|
||||
export type AnnotationEntry = {
|
||||
id: number;
|
||||
externalId: string;
|
||||
fileName: string;
|
||||
dialect: string;
|
||||
durationMs: number | null;
|
||||
datasetId: number;
|
||||
};
|
||||
Reference in New Issue
Block a user