A classifier for maintenance logs misreads abbreviations such as "hyd lk" and "rpl brg", which appear in many forms. What pre-processing helps most?
- Exam domain
- Data Preparation for ML and AI28% of the exam
- Difficulty
- Medium
- In this mock
- 24 questions on this domainPractise this domain
Why the exam asks this
Task 1.2: Perform data transformation, feature engineering, and pre-processing.
Objective in the exam guide: Skill 1.2.6: Apply advanced text pre-processing techniques (for example, tokenization, domain-specific augmentation).
Real business text is full of jargon and shorthand. Pre-processing that respects the domain often helps more than a bigger model.
Why A is the answer
Normalize domain-specific terms and abbreviations before tokenization, and augment training data with their variants
Domain-specific normalization and augmentation help the model understand jargon it would otherwise mis-tokenize.
Remember: Teach the model your domain's language: normalize and augment jargon.
How it works
Tokenization splits text into units the model processes. Domain jargon and abbreviations can tokenize into fragments with little meaning.
Normalizing known abbreviations to full terms gives the model consistent input.
Domain-specific augmentation adds realistic variants to training data, so the model learns them.
Clues in the question
The words that point to the answer, and what each one tells you.
- Abbreviations in many forms
- Inconsistent domain language.
In detail
- Tokenization splits text into units; jargon can split into meaningless pieces.
- Domain-specific augmentation adds realistic variants so the model learns them.
Side by side with look-alikes
| Step | Effect |
|---|---|
| Normalize and augment | Consistent, learnable input |
| Remove abbreviations | Loses meaning |
| Shuffle columns | No effect |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Normalize domain-specific terms and abbreviations before tokenization, and augment training data with their variantsRight
Teach the model your domain's language: normalize and augment jargon.
B. Remove all abbreviations from the dataWrongMost tempting
Removing abbreviations throws away the key information.
Why it tempts: It removes the confusing tokens. But the abbreviations carry the meaning the classifier needs.
C. Increase the image resolutionWrong
There are no images involved.
D. Shuffle the column orderWrong
Column order does not affect text understanding.
In practice
- Build the abbreviation map with domain experts.
- Apply the same normalization at inference time.
Use case
An illustrative scenario, not a real incident.
A team maps 300 common maintenance abbreviations to full terms and adds variant spellings, and accuracy on logs rises.
See how it works
flowchart LR R["hyd lk on pump 3"] --> N["Normalize: hydraulic leak on pump 3"] N --> T["Tokenize"] T --> M["Classifier"]
How to read this chart
- Read it in order: hyd lk on pump 3, then Normalize: hydraulic leak on pump 3, then Tokenize, then Classifier.