How do I make a vocabulary book from PDF, Word or Excel?
To study your own words and phrases on your phone, use the Xiaolv Vocab converter xiaolv-vocab-convert. Convert a two-column Excel sheet directly. For PDF or Word, ask an AI that can read the file to extract entries first. Validate the TXT, import it and start reviewing or listening.
Tool and installation instructions on npm
How do I convert a sheet with English in one column and Chinese in the other?
On the first worksheet put English in column A and Chinese definitions in B. For example, enter keep up with in A2 and 跟上 in B2. Keep the whole phrase in one cell. Both .xlsx and .xls work. If a definition comes from a formula, paste it as a value first.
Download the Excel sample · Download the converted TXT
On a computer with Node.js 20 or later, save the sample as words.xlsx and run these commands in its directory.
npm install -g xiaolv-vocab-convert@0.2.1
xiaolv-vocab-convert convert words.xlsx -o book.txt
xiaolv-vocab-convert validate book.txt
Open the generated file book.txt to see these three lines.
address | 回应、处理 keep up with | 跟上 draw a conclusion | 得出结论
How do I extract vocabulary from PDF handouts?
Give a file-aware AI the handout and page range. Scans need text recognition. Check line breaks and two-column layouts against the original so that each word keeps the right definition. Try this prompt.
Extract entries with Chinese definitions from pages [start] to [end] of this PDF. Write one English entry | Chinese definition per line in source order. Keep phrases intact. List unclear or missing definitions separately for me to check. Save the verified entries as UTF-8 plain text in draft.txt.
How do I turn Word class notes into a vocabulary book?
If your Word table already has English and Chinese columns, paste it into Excel and follow the steps above. For .doc or .docx notes mixing words, example sentences and comments, ask an AI that can read the file to organize them first.
From these Word notes, extract only entries marked as new words or collocations. Keep their original Chinese definitions and keep phrases such as draw a conclusion on one line. Write verified entries as English | Chinese definition, without headings or numbers, and save as draft.txt.
For the extracted draft.txt file, check the definitions and run the following commands.
xiaolv-vocab-convert convert draft.txt -o book.txt
xiaolv-vocab-convert validate book.txt
If your AI agent has terminal access, ask it to run xiaolv-vocab-convert instructions and deliver a validated file. In a text-only chat, copy the entries into a plain-text file.
How do I study the book on my phone?
Save book.txt to your phone and select it from storage or WeChat on the Xiaolv Vocab import screen. Check your entries, then start a study plan or listen to the words. You can try the sample TXT first.
Download Xiaolv Vocab · Practice IELTS, Chinese graduate entrance exam and PTE vocabulary with AI
Make an exam vocabulary book with AI (three samples)
Study a book in 21 days and listen to words, phrases and sentences