Add framework for training chunkers.