Apply learned mask reviews by local cue and highlight the reviewed mention.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3f7c0d71a5
commit
f7ffd28332
10 files changed
+413
-36
No files matched your search
@@ -0,0 +1,12 @@
|
||||
-- Remember mask-review decisions per local context cue (previous word).
|
||||
-- Not a word list: cues come from the user line, e.g. Frau vs. a food mention.
|
||||
|
||||
CREATE TABLE IF NOT EXISTS label_sense_cues (
|
||||
profile_id TEXT NOT NULL REFERENCES profiles(id) ON DELETE CASCADE,
|
||||
normalized_label TEXT NOT NULL,
|
||||
cue TEXT NOT NULL,
|
||||
decision TEXT NOT NULL,
|
||||
hits INTEGER NOT NULL DEFAULT 1,
|
||||
updated TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP::text,
|
||||
PRIMARY KEY (profile_id, normalized_label, cue)
|
||||
);
|
||||
Reference in new issue
Block a user