R: bigram
library(dplyr) library(tidytext) library(janeaustenr) library(tidyr) library(igraph) library(ggplot2) library(ggraph) library(readtext) text <- readtext("out.txt") text_bigrams <- text %>% unnest_tokens(bigram, text, token = "ngrams", n = 2) text_bigrams bigrams_separated <- text_bigrams %>% separate(bigram, c("word1", "word2"), sep = " ") # # stopwords default bigrams_filtered <-
| Penerbit | Taratsa |
|---|---|
| Tahun | 2018-10-31 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:3b6513c3-66c6-56d8-8cb5-34c0be3a623b |