你好 {{ me.first_name }}

学习 Chinese Study

Translate

The language model isn't configured, so translating is unavailable.

Enter a word or a sentence in any language, or in pinyin.

History

  • {{ h.text }}
    No translation found
    {{ h.results[0].score === null ? '?' : h.results[0].score + '%' }} {{ new Date(h.at).toLocaleString([], { hour12: false }) }}

{{ historyNotice.text }} {{ historyNotice.as === 'word' ? 'Show in words' : 'Show in sentences' }}

Loading…
{{ studyCategories.length ? 'Categories (' + studyCategories.length + ')' : 'All categories' }}

{{ sessionDone ? 'Session complete' : 'Nothing due' }}

Reviewed {{ reviewedCount }} card{{ reviewedCount === 1 ? '' : 's' }}.

Add cards or come back later.

{{ reviewedCount }} reviewed · {{ queue.length }} left

{{ studyCategories.length ? 'Categories (' + studyCategories.length + ')' : 'All categories' }}
{{ current.character }}
{{ current.pinyin || current.character }}
{{ current[l] }}
{{ current.character }}
{{ current.pinyin }}
{{ current.example }}
{{ current.comment }}
Tap to reveal

{{ editingId ? 'Edit card' : 'Add card' }}

All cards ({{ cards.length }})

No cards found.

  • {{ c.character }} {{ c.pinyin }} {{ c.category }}
    {{ meanings(c).join(' · ') }}
    {{ c.comment }}
    {{ c.status }} due next {{ formatDue(c.due_at) }}
    Status
    {{ c.status }}
    Repetitions
    {{ c.repetitions }}
    Interval
    {{ c.interval_days }} d
    Ease
    {{ c.ease.toFixed(2) }}
    Last reviewed
    {{ c.last_review ? formatDate(c.last_review) : 'never' }}
    Next due
    {{ c.due ? 'now' : formatDate(c.due_at) }}
Loading…

{{ sentenceDone ? 'Session complete' : 'No sentences due' }}

Reviewed {{ sentenceReviewed }} sentence{{ sentenceReviewed === 1 ? '' : 's' }}.

Add sentences or come back later.

{{ sentenceReviewed }} reviewed · {{ sentenceQueue.length }} left

{{ currentSentence.chinese }}
{{ currentSentence.pinyin || currentSentence.chinese }}
{{ currentSentence[l] }}
{{ currentSentence.chinese }}
{{ currentSentence.pinyin }}
{{ currentSentence.comment }}
Tap to reveal

{{ sentenceEditingId ? 'Edit sentence' : 'Add sentence' }}

All sentences ({{ sentences.length }})

No sentences found.

  • {{ c.chinese }}
    {{ c.pinyin }}
    {{ meanings(c).join(' · ') }}
    {{ c.comment }}
    {{ c.status }} due next {{ formatDue(c.due_at) }}
    Status
    {{ c.status }}
    Repetitions
    {{ c.repetitions }}
    Interval
    {{ c.interval_days }} d
    Ease
    {{ c.ease.toFixed(2) }}
    Last reviewed
    {{ c.last_review ? formatDate(c.last_review) : 'never' }}
    Next due
    {{ c.due ? 'now' : formatDate(c.due_at) }}

Name

Your first name is shown in the title next to 你好.

{{ profileMsg }}

Languages

The translations you see and train on, in the study view, the card list and the card form. Cards keep every translation you've entered, so turning a language off hides it without deleting it.

{{ languagesMsg }}

Change password

{{ accountMsg }}

Signed-in sessions

Each browser you're signed in on. Changing your password signs out all the others.

  • {{ [s.browser, s.os].filter(Boolean).join(' on ') || 'Unknown browser' }} this browser
    {{ s.ip }} signed in {{ formatDate(s.created_at) }} expires {{ formatDate(s.expires_at) }}

Add user

All users ({{ users.length }})

  • {{ u.username }} · {{ [u.first_name, u.last_name].filter(Boolean).join(' ') }} (you)
    {{ u.role }} disabled {{ u.cards }} card{{ u.cards === 1 ? '' : 's' }} {{ u.sessions }} active session{{ u.sessions === 1 ? '' : 's' }} since {{ formatDate(u.created_at) }}

Stroke order

Speech

Server speech is not configured (TTS_BASE_URL is unset).

{{ ttsStats.model }} · {{ ttsStats.voice }} · {{ ttsStats.format }} · speed {{ ttsStats.speed }}

{{ ttsStats.total }} requests cache hit rate {{ ttsStats.hit_rate == null ? '–' : Math.round(ttsStats.hit_rate * 100) + '%' }} generated: median {{ formatMs(ttsStats.synth_median_ms) }}, p95 {{ formatMs(ttsStats.synth_p95_ms) }} {{ k }}: {{ v.count }}, avg {{ formatMs(v.avg_ms) }} (min {{ formatMs(v.min_ms) }}, max {{ formatMs(v.max_ms) }}) cache: {{ ttsStats.cache_entries }} / {{ ttsStats.cache_limit }} words, {{ (ttsStats.cache_bytes / 1048576).toFixed(1) }} MB

Speaking speed

1 is normal; lower is slower (for example 0.8). Applies to everyone. Audio is generated again at the new speed the first time each word is played, or by the daily pre-generation / Run now. Browser voices use the same speed.


Regenerate one word

Deletes the saved audio for one word or sentence and generates it again, for example when it sounds wrong.


Daily pre-generation

Every day at this time (server time) all words and sentences that have no audio yet are generated, so Listen is instant. A missed run happens when the server is back up.

Running: {{ ttsStats.prefetch.done }} / {{ ttsStats.prefetch.total }} Last run {{ new Date(ttsStats.prefetch.last.at * 1000).toLocaleString([], { hour12: false }) }}: {{ ttsStats.prefetch.last.generated }} generated, {{ ttsStats.prefetch.last.failed }} failed of {{ ttsStats.prefetch.last.phrases }} phrases in {{ ttsStats.prefetch.last.seconds }} s{{ ttsStats.prefetch.last.stopped_early ? ' (stopped early)' : '' }} Not run yet.

Recent requests

TimeTextResultTookSize
{{ new Date(r.at * 1000).toLocaleTimeString([], { hour12: false }) }} {{ r.phrase }} {{ r.outcome === 'hit' ? 'cached' : r.outcome === 'synth' ? 'generated' : r.outcome === 'prefetch' ? 'pre-generated' : 'error' }} {{ formatMs(r.ms) }} {{ r.bytes ? Math.round(r.bytes / 1024) + ' KB' : '' }}
No requests yet.

Translation

Translation is not configured (LLM_BASE_URL is unset).

{{ llmStats.model }}

{{ llmStats.total }} requests cache hit rate {{ llmStats.hit_rate == null ? '–' : Math.round(llmStats.hit_rate * 100) + '%' }} model calls: median {{ formatMs(llmStats.model_median_ms) }}, p95 {{ formatMs(llmStats.model_p95_ms) }} speed: {{ llmStats.avg_tok_per_s == null ? '–' : llmStats.avg_tok_per_s + ' tokens/s' }}, avg {{ llmStats.avg_prompt_tokens ?? '–' }} prompt / {{ llmStats.avg_completion_tokens ?? '–' }} generated tokens {{ k }}: {{ v.count }}, avg {{ formatMs(v.avg_ms) }} (min {{ formatMs(v.min_ms) }}, max {{ formatMs(v.max_ms) }}) cache: {{ llmStats.cache_entries }} / {{ llmStats.cache_limit }} lookups

Recent requests

TimeInputTypeResultTookModelSpeed
{{ new Date(r.at * 1000).toLocaleTimeString([], { hour12: false }) }} {{ r.input }} {{ r.kind === 'example' ? 'examples' : r.kind === 'sentence' ? 'sentence' : r.kind === 'category' ? 'category' : 'translation' }} {{ r.source === 'cache' ? 'cached' : r.source === 'model' ? 'generated' : r.source === 'shared' ? 'shared' : 'error' }} {{ formatMs(r.total_ms) }} {{ r.llm_ms == null ? '' : formatMs(r.llm_ms) }} {{ r.tok_per_s ? r.tok_per_s + ' tok/s' : '' }}
No requests yet.

Word categories

Everyone picks from these categories for their words. Adding one makes it available right away; the language model also uses it when categorizing.


Categorize words

The language model gives every word that has no category one, in the background. Words that already have a category are left alone.

{{ categorizeStatus.uncategorized }} of {{ categorizeStatus.words }} words have no category Running: {{ categorizeStatus.done }} / {{ categorizeStatus.total }} Last run {{ new Date(categorizeStatus.last.at * 1000).toLocaleString([], { hour12: false }) }}: {{ categorizeStatus.last.categorized }} categorized, {{ categorizeStatus.last.failed }} failed of {{ categorizeStatus.last.words }} words in {{ categorizeStatus.last.seconds }} s{{ categorizeStatus.last.stopped_early ? ' (stopped early)' : '' }} Not run yet.

Words without a category ({{ categorizeStatus.uncategorized }})

  • {{ w.character }} {{ w.pinyin }} {{ [w.english, w.dutch, w.swedish].filter(Boolean).join(' · ') }}

Showing the first {{ uncategorizedWords.length }}.