To extract definitions from text, decide which words count as terms, find the sentence that defines each one, copy it with its location, and check it against the source. You can do this by hand in about an hour per chapter, or hand the first pass to an AI tool and spend your time on the check. This guide covers both routes, plus what goes wrong with scanned pages, and how to turn the finished glossary into exam practice.
TL;DR
- Decide what counts as a term before you start. A short rule ("anything bolded, repeated, or tested") saves hours of rework.
- For each term, record the term, the definition as written (quoted, or marked as inferred), and the section it came from.
- AI can do the first pass fast, but automated definition extraction is still the weak point, so always verify against the source.
- Scanned PDFs need clean images and a visual check, because OCR can silently change characters.
- The glossary only helps if you quiz yourself with it: convert entries into flashcards and practice questions.
Table of Contents
- What counts as a term, and what counts as a definition
- The manual method: one section at a time
- Methods compared: manual, rule-based, machine learning and LLMs
- Using an LLM to extract terms and definitions
- How to check extracted definitions
- Scanned PDFs and foreign-language text
- Turn the glossary into exam prep
- Our perspective: extraction is the start, not the goal
- Try it on your own material
- FAQ
- Sources
What counts as a term, and what counts as a definition
Before you extract anything, you need a working answer to "what is a term here?" Professional terminologists call this termhood. The TerminOrgs Term Extraction Guide says termhood should be set by your actual needs, for example whether the list serves internal communication, technical documentation or legal compliance. For a student, the need is simple: what will I be asked on the exam, and what do I need to understand the next chapter?
A practical termhood rule for study material:
- Bolded, italicized or highlighted words in a textbook are the author's own flags.
- Words the instructor repeats or writes on a slide are likely to be tested.
- Words you could not explain to a classmate without looking them up.
- Words that change meaning in the field. "Significant" in a statistics course is not "significant" in conversation.
The same guide asks you to check term boundaries, meaning whether the term is "cell membrane" or just "membrane," and the canonical form, meaning one agreed spelling and singular or plural form for each entry. Pick one early. If your notes say "mitochondria" in one place and "mitochondrion" in another, you will end up with duplicate entries.
The national standard for controlled vocabularies, ANSI/NISO Z39.19, also gives two ideas worth borrowing. One is literary warrant: choose a term because it occurs frequently in the literature you are working from, not because it sounds impressive. The other is consistent spelling, following an established dictionary or convention such as American rather than British English. For a US course, stick to the spelling your textbook uses.
The shapes a definition takes
Definitions rarely arrive in a tidy "X is Y" sentence. Watch for these patterns:
- Direct: "Osmosis is the movement of water across a semipermeable membrane."
- Signal phrases: "known as," "refers to," "is called," "we define."
- Parenthetical: a term followed by a short explanation in brackets or between commas.
- By example: the text never states the meaning but shows it in use. In that case, write your own definition and mark it as inferred.
- Spread across sentences: the first sentence names the idea and the next two narrow it down. Capture all of them.
The manual method: one section at a time
Manual extraction is slow, but it forces you to read closely, and that is a study benefit in itself. A structured workflow that holds up well is to read one section at a time and capture, for each term, the term itself, a quoted definition (or a note that you inferred it), and the section reference. That structure comes from a component-extraction workflow and it works just as well for a biology chapter as for a contract.
Here is the process in practice:
- Set your termhood rule (see above) and write it at the top of your document.
- Read one section only. Do not skim the whole chapter first and then try to remember it.
- Log each term in a table with three columns: term, definition, location (page, slide number or timestamp).
- Quote or flag. If the definition is in the text, quote it. If you wrote it, add "(inferred)".
- Add a one-line plain-language version in your own words. This is the version you will actually study from.
- Move on, then merge. After the chapter, sort alphabetically, merge duplicates and settle spelling.
A finished entry might look like this:
| Term | Definition (quoted or inferred) | Where | In my words |
|---|---|---|---|
| Opportunity cost | "The value of the next best alternative given up" | Ch. 1, p. 6 | What I lose by choosing this option |
| Elasticity | (inferred) How much demand changes when price changes | Lecture 3, slide 12 | Sensitivity of buying to price |
The location column is the part people skip and later regret. When two definitions conflict, or when a practice question uses the term differently, you can go straight back to the source.
If you are working from lectures rather than a book, the same approach applies to a transcript. Our guide to finding and learning key concepts and definitions shows how to sort the terms you pulled out by importance so you do not treat every word as equally urgent.
Methods compared: manual, rule-based, machine learning and LLMs
Researchers have studied this problem for years, and the methods fall along a ladder. A 2023 Springer study describes the range, from manual extraction and linguistic techniques such as pattern recognition and part-of-speech tagging, up to supervised and unsupervised machine-learning approaches. The same paper shows that linguistic techniques alone (pattern recognition, tokenization, part-of-speech tagging and chunking) can pull key terms from a single PDF textbook without statistical models or an external knowledge base.
| Approach | How it works | Best for | Main weakness |
|---|---|---|---|
| Manual reading | You find and log terms yourself | Short chapters, high-stakes courses | Slow |
| Rule-based and linguistic | Patterns like "X is defined as Y," part-of-speech tags | Consistent, well-written textbooks | Misses definitions phrased unusually |
| Supervised machine learning | A model trained on labeled examples tags terms and definitions | Large volumes of similar text | Needs training data |
| LLM-based extraction | A language model reads chunks of text and returns term and definition pairs | Mixed material: lectures, slides, articles | Can paraphrase or invent, so it needs checking |
For students, the last row is the one that matters, because it handles the messy reality of lecture transcripts and slide decks. It is also the one where the check step is not optional.
Using an LLM to extract terms and definitions
If you want to see how an AI-based pipeline is put together, the LlamaIndex terms and definitions tutorial is a clear example. The approach it describes is to submit text to a language model, ask it to answer with labeled "Term:" and "Definition:" lines, parse those lines into a dictionary, and store the terms so they can be queried later. The workflow also chunks documents and generates summaries along the way, so long material is handled in pieces rather than all at once.
You do not need to write code to borrow the key ideas:
- Work in chunks. Feed one section or one lecture segment at a time, not an entire textbook.
- Ask for a fixed format. A labeled structure (term, definition, source section) is easy to check and easy to sort.
- Tell it to stay in the text. Ask for definitions as the source states them, and to say "not defined in the text" instead of filling gaps.
- Refine your prompt. The tutorial itself improves results by tightening the prompt, which is a good reminder that the first output is a draft.
A prompt that follows these rules might read: "From the text below, list every technical term. For each, give the definition exactly as the text states it, or write 'not defined' if the text does not define it. Add the section heading it appears under."
How to check extracted definitions
This is the step that separates a useful glossary from a confident-looking mess. Automated extraction is far from perfect. A Stanford research project on textbook glossaries used supervised deep learning with BIOES tagging to label glossary phrases in sentences, and reported a corrected F1 score of 0.74 for finding terms but only 0.47 for definitions. That was a 2019 class project, and today's language models are different tools, but the pattern is instructive: spotting a term is easier than capturing exactly what the text says about it.
Researchers measure this with precision (how many extracted items are right) and recall (how many of the right items were found). A 2025 survey in the Journal of Big Data describes these as foundational metrics for judging automatically extracted terminology. You can run a homemade version in ten minutes:
- Spot-check precision. Pick ten entries at random and find each in the source. How many are accurate?
- Spot-check recall. Reread one page and list its bolded or key terms. How many are missing from the output?
- Check boundaries. Is each term complete ("supply chain," not "supply")?
- Check context. Does the definition fit this course, or is it a generic dictionary meaning?
- Flag duplicates. The TerminOrgs guide recommends flagging terms already present in an existing database. For you, that means terms already in your glossary from earlier chapters.
- Compare to the textbook glossary. If the book has one, use it as an answer key.
Vocabulary control matters here too. Thesaurus author Vanda Broughton argues in a chapter on selecting terms that automation raises the need for strict control, because software is less forgiving of spelling or form variations than a human reader. In practice: if you plan to search or filter your glossary, settle on one form for each term.
And where two terms look like synonyms, ask someone who knows the subject. The American Society for Indexing notes that subject experts are valuable for resolving that kind of ambiguity. For a student, that expert is your instructor or teaching assistant during office hours.
Scanned PDFs and foreign-language text
Many course materials are scans, photographed pages or PDFs of printed books. Here, the text you are extracting from may already contain errors before any definition is found.
A guide on importing printed dictionaries from PDF warns about two problems in particular: silent substitution of unfamiliar characters, and layout or spacing errors. Its recommended fixes are to render pages at 300 dpi or higher, transcribe visually, and check glyphs and layout against the page images. That advice was written for dictionaries of lesser-documented languages, but it applies to any vocabulary list, including accented characters in a Spanish or French course.
Research from the Linguistic Society of America backs up the concern. A paper on extracting linguistic data from digitized sources notes that OCR errors can corrupt later analysis by misidentifying stems or losing typographic markers, and that commercial OCR software can improve quality and preserve typographic information and tabular layouts by producing HTML. It also suggests that using typographic and layout information, such as bold headwords, improves extraction. The takeaway for students is that bold and italic flags are signal, so use an OCR setting that keeps them if you can.
A short checklist for scans:
- Scan or photograph at high resolution, flat and well lit.
- Compare any term with accents, symbols or special characters against the image.
- Watch for line breaks that split a term across two lines.
- Check tables and two-column pages, where text order often scrambles.
For a hands-on walkthrough, see our guide to turning OCR notes into flashcards, which covers the scan, check and study loop.
Turn the glossary into exam prep
A glossary on its own is a reference, and reading it again and again is passive. The point of building one is to practice with it.
Cover and recall. Hide the definition, say it aloud or write it, then check. Our piece on retrieval practice strategies explains why pulling answers from memory beats rereading.
Make flashcards. Each entry becomes a card: term on the front, your plain-language definition on the back. For vocabulary-heavy courses, the workflow in turning lectures into vocabulary flashcards shows how to do it quickly, and effective flashcards for students covers spacing reviews over days instead of cramming the night before. Language learners can adapt four flashcard templates for words, phrases and example sentences.

Group by objective. Sort terms under the learning objectives of the course, so you see which ideas each group supports. We cover that in extracting learning objectives from course material.
Write questions, not just cards. For each term, write one question that needs the definition to answer ("Why does a price floor cause a surplus?"). Terms tested in context stick better than terms memorized alone.
Go from terms to a chapter summary. Once your key terms are clear, you can write the chapter summary using only those terms. The recall-first method for summarizing textbook chapters walks through it. And if you are starting from a research question rather than a chapter, identifying key concepts as search terms helps you find what to define first.
Our perspective: extraction is the start, not the goal
We built AtListen because we kept seeing the same pattern: students who do the extraction work by hand learn a lot from it, but run out of time before they get to practice. Terms and definitions are the raw material of studying, and the hours spent copying them are hours not spent recalling them.
Our view is that a tool should take the mechanical first pass, so you can spend your effort where learning happens. That is why AtListen turns lectures, videos, audio, PDFs, textbooks, notes, web articles and YouTube links into key concepts with definitions, key facts, practice questions with explanations and flashcards built for spaced repetition. We designed depth control so you decide how detailed the output is: a quick overview the night before a quiz, or a thorough breakdown at the start of a semester.
We also think the check step matters as much as the extraction. Instant feedback on practice questions is our way of building that check into your routine: you find out what you do not know while there is still time to fix it. Treat any generated definition as a draft, compare it to your source, and make it yours. That habit is what carries over to the exam.
— William
Try it on your own material
If you want to skip the copying, you can upload a lecture recording, a PDF chapter or a YouTube link to AtListen and get structured study materials, including key concepts with definitions and flashcards, generated in minutes. Plans are Free at $0 per month, Pro at $19.99 per month and Max at $39.99 per month. Start with the free plan at AtListen and test it on one chapter.

FAQ
Can I extract definitions from a PDF automatically?
Yes, if the PDF contains real text rather than page images. For scans, run OCR first and then check the output against the page, because character errors and scrambled layouts are common. After that, an AI tool or a rule-based script can pull out terms and definitions, which you should still spot-check.
How do I know if an AI-generated definition is accurate?
Find the same term in your source and compare. Ask whether the definition matches the course's usage, not just a general dictionary meaning. A quick method is to check ten random entries; if more than one or two are off, tighten your prompt or work in smaller chunks.
What is the difference between a term and a key concept?
A term is the word or phrase itself, such as "opportunity cost." A key concept is the idea behind it and how it connects to others. A good glossary covers terms, but studying works best when you also understand the concepts the terms point to.
How many terms should a chapter glossary have?
There is no fixed number; it depends on your termhood rule and the chapter. A useful sign is that every entry is something you could be tested on or need for later material. If you cannot say why a term is in the list, it probably does not belong.
Should I write definitions in my own words?
Keep the source's wording in one column so you can verify it, and add your own plain-language version in another. Studying from your own phrasing helps you understand the idea, while the quoted version protects you from drifting away from what the course expects.
Sources
- A Guide to Extracting Terms and Definitions (LlamaIndex)
- Component extraction workflow
- Term Extraction Starter Guide (TerminOrgs, 2022)
- ANSI/NISO Z39.19-2005 (R2010)
- Vocabulary control 1: selection of terms (Cambridge)
- How Do I Build a Thesaurus? (American Society for Indexing)
- An unsupervised linguistic-based model for automatic term extraction (Springer, 2023)
- Automatic Extraction of Textbook Glossaries Using Deep Learning (Stanford)
- Survey on terminology extraction from texts (Journal of Big Data, 2025)
- Importing printed dictionaries from PDF
- Automatic Extraction of Linguistic Data from Digitized Sources (Linguistic Society of America, 2013)
