Prepare a text corpus
Keep the same or closely related text from appearing in both practice and checking groups, so repeated examples do not inflate the score.
- Starting information
Two documents repeat the same passage
- Relationship or operation
Keep related text in the same partition
- Consequence
Fewer copied answers across training and checking
A corpus is a collection of texts. Splitting by tokens alone can leak duplicated or closely related passages across partitions.
Your learning goal
Prepare a traceable document split, fit a vocabulary without development leakage and justify filtering and mixing choices with evidence.