add_text_id | R Documentation |
Internal function for moranajp_all().
Add text_id
column when there is brk ("BPMJP").
"BPMJP": Break Point Of MoranaJP
add_text_id(tbl, method, brk = "BPMJP")
tbl |
A tibble or data.frame. |
method |
A text. Method to use: "mecab", "ginza", "sudachi_a", "sudachi_b", "sudachi_c", or "chamame". "a", "b" and "c" specify the mode of splitting. "a" split shortest, "b" middle and "c" longest. See https://github.com/WorksApplications/Sudachi for detail. "chamame" use https://chamame.ninjal.ac.jp/ and rvest. |
brk |
A string of break point |
A data.frame with column "text_id".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.