powered by
Runs the repair on a string.
str_to_repair_grammar(str)
the input string.
N.J. Larsson and A. Moffat. Offline dictionary-based compression. In Data Compression Conference, 1999.
# NOT RUN { str_to_repair_grammar("abc abc cba cba bac xxx abc abc cba cba bac") # }
Run the code above in your browser using DataLab