sillsdev / sillsdev/interlinearizer-extension

Split/join tokens that were wrongly tokenized

Open
#43 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2
Forks
0
Avg merge
1d 17h
Merged PRs (30d)
55

Description

If we tokenize two separate words as a single token, the user should be able to split them, and that should be remembered when the book is retokenized in the future.

Dependency update: "remembered when the book is retokenized" is the crux. Token refs are derived from character offsets, so a split/join shifts every subsequent token's ref in the segment and orphans their analysis links. This issue is blocked on the re-anchoring strategy decision (#136); the likely shape here is a persisted per-project list of token operations (split/join at snapshot positions) replayed after tokenization.

Size: L

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the re-anchoring strategy decision in issue #136, then trace how token references derived from character offsets are handled with analysis links. The work is done when split and join operations can be persisted and replayed after retokenization without orphaning subsequent analysis links.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.