R: trigram
library(dplyr) library(tidytext) library(janeaustenr) library(tidyr) library(igraph) library(ggplot2) library(ggraph) library(readtext) text <- readtext("out.txt") text_trigrams <- text %>% unnest_tokens(trigram, text, token = "ngrams", n = 3) text_trigrams trigrams_separated <- text_trigrams %>% separate(trigram, c("word1", "word2", "word3"), sep = " ") # stopwords Indonesia trigrams_filtered <-
| Penerbit | Taratsa |
|---|---|
| Tahun | 2018-11-04 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:7fa82ed7-aec9-517f-8085-36b472b448c6 |