tatoeba-sentence-pairs-in-mandarin-chinese-english
v0.20260520.0
Published
Tatoeba sentence pairs in Mandarin Chinese and English, exported as JSON.
Readme
tatoeba-sentence-pairs-in-mandarin-chinese-english
Tatoeba sentence pairs in Mandarin Chinese and English, exported as JSON.
The data is sourced from Tatoeba and shipped as an array of [chineseSentenceId, chineseSentence, englishSentenceId, englishSentence] tuples.
Install
npm install tatoeba-sentence-pairs-in-mandarin-chinese-englishUsage
import sentences from "tatoeba-sentence-pairs-in-mandarin-chinese-english";
console.log(sentences[0]);
// ["1", "我們試試看!", "413789", "Let's try it."]You can also import the JSON directly with import attributes:
import sentences from "tatoeba-sentence-pairs-in-mandarin-chinese-english/sentences.json" with { type: "json" };Regenerating the JSON
The JSON file is produced from the TSV in data/ by running:
bun run parse