R: tidytext: tf-idf corpus of physics texts
# Ref: https://github.com/dgrtwo/tidy-text-mining/blob/master/03-tf-idf.Rmd library(knitr) opts_chunk$set(message = FALSE, warning = FALSE, cache = TRUE) options(width = 100, dplyr.width = 100) library(ggplot2) theme_set(theme_light()) # gutenbergr library(gutenbergr) physics <- gutenberg_download(c(37729, 14725, 13476, 30155), meta_fields = "author") # count physics_words <- physics %>%
| Penerbit | Taratsa |
|---|---|
| Tahun | 2019-12-03 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:e0679820-8390-5c1c-b44b-3d0cd4f2dd20 |
Tentang teks
295 kata · sekitar 1 menit baca · lebih panjang dari 30% buku di pustaka ini
Paling sering muncul
- physics16
- author15
- idf9
- mutate6
- plot6
- tf-idf6
- library5
- false4
- ggplot3
- https3
- reorder3
- str3
Khas buku ini
Sering di buku ini, jarang di buku lain.
- physics16
- idf9
- author15
- tf-idf6
- mutate6
- plot6
- reorder3
- ggplot3
- false4
- str3
- library5
- https3