reassign_tokens | R Documentation |
This is a specialized function for use in connection with text reordering. It modifies a token dataframe by assigning new block bounding box values to a subset of tokens based on prior modifications made to a block dataframe.
reassign_tokens(token_df, block_df)
token_df |
a dataframe generated by |
block_df |
a dataframe generated by |
The token and block data frames provided as input must be from the same JSON output file.
a token data frame
## Not run:
new_token_df <- reassign_tokens(token_df, new_block_df)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.