This is a specialized function for use in connection
with text reordering. It is designed to facilitate manual splitting
of block boundary boxes and typically takes a one-row block dataframe
generated by from_labelme()
.
reassign_tokens2(token_df, block, page = 1)
a token data frame
if (FALSE) { # \dontrun{
new_token_df <- reassign_tokens2(token_df, new_block_df)
new_token_df <- reassign_tokens2(token_df, new_block_df, 5)
} # }