code: function setAnnotationSets(sets) {
    annotationSets = sets.map(function(s) {
      var r = '\\b(' + s.terms.join('|') + ')\\b';
      s.re = new RegExp(r, 'mi');
      return s;
    });
  }
docs: configure with these annotation sets