import re


def fix_rst_treebank_tree_str(rst_tree_str):
    """
    Fix errors in some gold standard RST trees.

    This function removes some unexplained comments in two files
    that cannot be parsed.
      - data/RSTtrees-WSJ-main-1.0/TRAINING/wsj_2353.out.dis
      - data/RSTtrees-WSJ-main-1.0/TRAINING/wsj_2367.out.dis
    """
    return re.sub(r'\)//TT_ERR', ')', rst_tree_str)