feat: add prototype-based annotation view with single-choice rating

This commit is contained in:
smaubio
2026-03-13 16:03:23 +01:00
parent d645f87f8e
commit 0d7e6ed19f
8 changed files with 779 additions and 126 deletions

View File

@@ -0,0 +1,9 @@
CREATE TABLE IF NOT EXISTS `annotation` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`dataset_entry_id` integer NOT NULL,
`user_id` text NOT NULL,
`rating` integer NOT NULL,
`dialect_label` text NOT NULL,
`created_at` integer DEFAULT (unixepoch()) NOT NULL,
FOREIGN KEY (`dataset_entry_id`) REFERENCES `dataset_entry`(`id`) ON UPDATE no action ON DELETE no action
);