Scripts and Extraction Online Learning
You can create a script that evaluates a document and marks it for Extraction Online Learning.
Creating a script for this purpose is similar to automatically marking a document for Extraction Online Learning.
See the Scripting Help for more information about the script events that you can use for online learning.