Ruby example for working with annotator