在下面给出的文本中，替换所有以"a"开头和以"e"结尾的单词为单词"replace"，并输出替换后的文本。
One of the main benefits of active learning is that a machine learning model can be trained with fewer labeled examples; the learner can achieve better performance with the same amount of training data by selecting only the most relevant examples for training. The key idea behind active learning is that a machine learning algorithm can achieve greater accuracy with fewer labeled training instances if it is allowed to select the data from which it learns.
替换后的文本：
One of the main benefits of replace learning is that replace machine learning model can be trained with fewer labeled examples; replace learner can achieve better performance with the same amount of training data by selecting only the most relevant examples for training. The key idea behind replace learning is that replace machine learning algorithm can achieve greater accuracy with fewer labeled training instances if it is allowed to select the data from which it learns.