wdiff | R Documentation |
replicate the simple wdiff output without writing tempfiles our calling the command line
wdiff(original, correction, sep = " ")
original |
character vector of original sentences |
correction |
character vector of corrected sentences |
sep |
separator for tokenization (use " " to replicate wdiff, or "" for character by character diff) |
a character vector summarising diffs between the two character vectors
wdiff("I haben't idea about that", "I have no idea about that.", "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.