code: public Set<String> processMentionString(String mention) {
          Set<String> result = new HashSet<String>();
          result.add(mention);
          for (MentionEditor editor : editors) {
              Set<String> newResult = new HashSet<String>();
              for (String mentionEdit : result) {
                  newResult.addAll(editor.editMention(mentionEdit));
              }
              result.addAll(newResult);
          }
          return result;
      }
docs: Run the input string through all of the mention editors to clean and edit
  it