In addition to the final replacement file mechanism, add a new replacement taxonomy that behaves as follows:
Any data file named replacement_*.txt is identified.
Every line in that file becomes a target to scan for.
Any occurrences of any entry in a replacement vocab in the input template get replaced with <replacement_[vocab]>.
Then, they are processed like normal templates.
This allows intelligent replacement of common phrases without requiring specially templating them ahead of time. A stock set of replacement vocabs should be shipped with the standard data set.
In addition to the final replacement file mechanism, add a new
replacement
taxonomy that behaves as follows:replacement_*.txt
is identified.<replacement_[vocab]>
.This allows intelligent replacement of common phrases without requiring specially templating them ahead of time. A stock set of replacement vocabs should be shipped with the standard data set.