protected static String processRegister(String text) {
        StringBuilder output = new StringBuilder("");

        text = RegEx.removeAll(text, Patterns.REGISTER);

        String[] arr = text.split("\\|");
        output.append("<span class=\"linguisticRegister\">[");
        for (String string : arr) {
            string = string.trim();
        }

        output.append(ArrayUtils.join(arr, ", "));
        output.append("]</span>");

        return output.toString();
    }