Analysis Catalog: morpheme rows
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Inizia con analysis-identity.ts e il lavoro esistente su Analysis Catalog di #186, quindi traccia come vengono gestiti TokenAnalysis.morphemes e mergeIntoIdenticalPayload. Definisci l’identità della riga del morfema e l’unione degli utilizzi, e assicurati che siano rappresentati i conteggi indipendenti, l’ordinamento, il filtraggio, la modifica di gloss/ref e l’eliminazione della sola analisi. Il completamento include la visualizzazione delle cascate quando le modifiche uniscono le analisi dei token.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Add a morpheme list to the Analysis Catalog (#186), so morphemes can be counted, sorted, and edited independently of the words that contain them.
What is already reachable without this
Morpheme data is not invisible in the token-only catalog: morphemes render as detail inside a token row, and token search matches morpheme forms and glosses. Typing DAT.SG already finds the words that use it.
What is missing is everything that needs a morpheme to be its own row:
- independent counts and sorting ("how many times have I used
DAT.SGacross all words?") - filtering to bare-form morphemes — split out but never glossed, which is real unfinished-work triage
- a global morpheme gloss edit that fixes every containing analysis at once
Why this is the hardest of the three lists
MorphemeAnalysis is not a payload. It is a nested array inside TokenAnalysis.morphemes, with an id unique only within that array, no link table, and no dedupe. So:
- Identity has to be derived. Group by the projection that already exists —
morphemeIdentityinanalysis-identity.ts(form + gloss +entryRef/senseRef/allomorphRef/grammarRef). This makes the catalog its second consumer; keep the two in step. - Usage locations are a union. A morpheme row's locations are the locations of every containing token analysis.
- Editing fans out and can cascade. Writing a morpheme gloss into M containing
TokenAnalysispayloads can make several of them content-identical to other analyses, firingmergeIntoIdenticalPayload. Editing one morpheme row can silently collapse several token rows into each other. That has to be surfaced, not silently applied.
Delete semantics: clears the analysis, keeps the parse
Deleting a morpheme row removes the analysis, not the morpheme. The M morphemes lose their gloss and lexicon refs; form and position stay. The row -ῇ -> DAT.SG (40) disappears and -ῇ -> (unglossed) (40) appears. Every parse stays intact.
Rejected: removing the morpheme from each parse. That leaves M breakdowns that no longer decompose their word, and it fires the cascade above as a second surprise from one click. Re-cutting a word is what the morpheme editor on the token chip is for, where the whole word is visible.
This keeps delete meaning one thing everywhere: it removes recorded analysis, never the shape of the text or its decomposition.
Note on breakdown editing
Editing how a word is cut stays on the token row, not here — that is a property of the token analysis, and one edit there already fixes every usage. A morpheme row edits a morpheme's gloss and refs. Two different questions about two different objects, which is why they are separate lists.
Follow-up to #186.
- Lingua principale
- TypeScript
- Stelle
- 2
- Fork
- 0
- Merge medio
- 1g 20h
- PR unite (30g)
- 53
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sillsdev/interlinearizer-extension
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
sillsdev/interlinearizer-extension#419 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 48/100
sillsdev/interlinearizer-extension#490 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
sillsdev/interlinearizer-extension#479 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
sillsdev/interlinearizer-extension#478 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 54/100
sillsdev/interlinearizer-extension#473 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sillsdev/interlinearizer-extension
Issue simili
-
bug hacktoberfest help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
libredb/libredb-studio#1941 ·
I maintainer di solito rispondono entro 1 giorno
-
chore other
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
alastair-smith/card-games#308 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
paperclipai/paperclip#17379 ·
I maintainer di solito rispondono entro 1 giorno
-
[good first issue, hacktoberfest] 🏯 Hacktoberfest Task - Add new Anime Quote 626 (good-first-issue)Apertacommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
lingdojo/kana-dojo#33040 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
bug mobile ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno