Repository navigation
Plan Import Text
github-actions[bot] edited this page Oct 22, 2026
·
1 revision
Source of truth: this wiki page.
Written 2026-10-05.
Import any text (LingQ): paste text, tap unknown words, create cards with sentence context. think about this feature as well
The ROADMAP already lists "Sentence mining from imported text" under "Later".
-
Decks can be added (#22), as files, and are kept by
FileDeckStoreunderadded/. A deck of mined words can live there. -
Readings and IPA are not made in the app.
tools/transcribe.pywrites them when decks are made, and the app only compares typed answers with them (romanised.dart). A pasted word has no reading until one is made. - Meanings come only from the decks. The app has no dictionary.
-
Words are split at spaces (
wordsOf). That does not work for Thai, Chinese or Japanese (language-paths.md).
- Paste or share text into the app, for a language being learnt.
-
The text is shown with each word marked:
- known: a card the learner has learnt;
- learning: a card being learnt;
- in the course, not yet taught;
- new: in no deck.
-
Tap a word to see its card, if it has one, or to make one:
- the meaning: from the decks where the word is in one; otherwise typed by the learner, or from an offline dictionary (see below);
- the sentence it was in, kept as the card's example, with its source;
- the reading and IPA, if the app can make them; otherwise typed.
- The cards go to a deck of the learner's own per language, such as "My words", and are learnt and reviewed like any other.
- The text is kept to read again, with its words marked as they are learnt.
- A reader screen: words marked by state, tapping, and the sentence around a word.
- Matching words to cards, forgiving inflection where it can: a form a grammar table lists matches its lemma.
- A card maker that writes cards into the learner's own deck, with ids that stay unique and permanent (AGENTS.md).
-
Readings and IPA in the app: a Dart port of
transcribe.py's rules, for the languages it knows (in-app-readings.md, which measures how accurate they are). Otherwise the learner types the reading. -
Meanings, one of:
- the learner types them (works offline, no licence question);
- an offline dictionary per language, downloaded like the decks, built from Wiktionary through kaikki.org. That is CC BY-SA, the licence question settled for the decks in ADR-0040.
- Tests for word states, matching, the card maker, and ids.
- Where meanings come from: typed, a downloaded dictionary, or both.
- Whether to port the reading and IPA rules to Dart, or ask the learner.
- Whether imported texts can be shared, or stay on the phone.
- The languages without spaces: wait for their word splitting, or leave them out.
| Part | Hours |
|---|---|
| Reader, word states, tapping, card maker | 8–12 |
| Readings and IPA in Dart, for the seven Indian languages | 8–12 |
| An offline dictionary from Wiktionary, per language | 4–6 each |
Confidence: low; most of it depends on the choices above.
See also: Roadmap · Plans-Index · Home
1. Learner guides
- Learner Guide
- Getting Started
- Today and Daily Lessons
- Drills and Skills
- Courses and Paths
- Proficiency Levels
- Scripts and Readings
- Readings ISO 15919
- Speaking and Listening
- Progress and Stats
- Profiles and Settings
- Backup and Restore
- Reporting a Problem
2. Deck building guides
- Deck Building Guide
- Deck Format
- Romanising Indic Languages
- Deck Licences and Quoted Books
- Deck Tools
3. Review guides
4. Translation guide
5. Building on iOS
6. Roadmap
7. Sources and attributions
8. Contribution and agentic coding