## Package version: 2.1.2
## Parallel computing: 2 of 8 threads used.
## See https://quanteda.io for tutorials and examples.
##
## Attaching package: 'quanteda'
## The following object is masked from 'package:utils':
##
## View
## Loading required package: usethis
##
## Attaching package: 'quanteda.textmodels'
## The following object is masked from 'package:quanteda':
##
## data_dfm_lbgexample
##
## Attaching package: 'seededlda'
## The following object is masked from 'package:stats':
##
## terms
##
## Attaching package: 'rsconnect'
## The following object is masked from 'package:devtools':
##
## lint
##
## Attaching package: 'packrat'
## The following objects are masked from 'package:devtools':
##
## install, install_local
#create corpus
## readtext object consisting of 7 documents and 1 docvar.
## # Description: df[,3] [7 x 3]
## doc_id text docvar1
## <chr> <chr> <chr>
## 1 Murrawarri1.pdf "\" \"..." Murrawarri1
## 2 Murrawarri2.pdf "\" \"..." Murrawarri2
## 3 Murrawarri3.pdf "\" Australia\"..." Murrawarri3
## 4 Murrawarri4.pdf "\" \"..." Murrawarri4
## 5 Murrawarri5.pdf "\"Murray-Dar\"..." Murrawarri5
## 6 Murrawarri6.pdf "\" \"..." Murrawarri6
## # ... with 1 more row
#create corpus
## [1] 7
## docvar1
## 1 Murrawarri1
## 2 Murrawarri2
## 3 Murrawarri3
## 4 Murrawarri4
## 5 Murrawarri5
## 6 Murrawarri6
## Corpus consisting of 7 documents, showing 7 documents:
##
## Text Types Tokens Sentences docvar1
## Murrawarri1.pdf 526 1219 41 Murrawarri1
## Murrawarri2.pdf 481 1148 33 Murrawarri2
## Murrawarri3.pdf 511 1458 41 Murrawarri3
## Murrawarri4.pdf 408 808 31 Murrawarri4
## Murrawarri5.pdf 255 569 21 Murrawarri5
## Murrawarri6.pdf 291 751 22 Murrawarri6
## Murrawarri7.pdf 400 1075 23 Murrawarri7
#create dfm
## Length Class Mode
## 8050 dfm S4
#Cleaning up using tokens
## Length Class Mode
## Murrawarri1.pdf 632 -none- character
## Murrawarri2.pdf 586 -none- character
## Murrawarri3.pdf 659 -none- character
## Murrawarri4.pdf 408 -none- character
## Murrawarri5.pdf 275 -none- character
## Murrawarri6.pdf 365 -none- character
## Murrawarri7.pdf 506 -none- character
#kwic doesn’t work with dfm, so you have to use tokens
| Murrawarri1.pdf |
361 |
361 |
peopl alreadi endur |
coloni |
place like u.s |
coloni |
| Murrawarri1.pdf |
397 |
397 |
enough dismantl way |
coloni |
still oper today |
coloni |
| Murrawarri2.pdf |
149 |
149 |
sovereignti aborigin nation |
coloni |
australian state come |
coloni |
| Murrawarri5.pdf |
128 |
128 |
sovereignti never acquiesc |
coloni |
titl crown england |
coloni |
| Murrawarri7.pdf |
201 |
201 |
crown former british |
coloni |
state new south |
coloni |
| Murrawarri7.pdf |
257 |
257 |
murrawarri ancient land |
occupi |
time settlement colonis |
occupi |
| Murrawarri1.pdf |
226 |
226 |
activist academ indigen |
repres |
australia india us |
repres |
| Murrawarri4.pdf |
169 |
169 |
way ll learn |
repres |
stand much better |
repres |
| Murrawarri5.pdf |
43 |
43 |
voic indigen issu |
repres |
sever nation northern |
repres |
| Murrawarri7.pdf |
392 |
392 |
prepar cooper agenc |
repres |
crown great british |
repres |
| Murrawarri7.pdf |
401 |
401 |
govern australia nomin |
repres |
unite nation implement |
repres |
| Murrawarri7.pdf |
425 |
425 |
republic world famili |
repres |
unite nation extend |
repres |
## Tokens consisting of 7 documents and 1 docvar.
## Murrawarri1.pdf :
## [1] "fight" "land" "cultur" "face" "climat" "chang"
## [7] "premium" "official" "new" "august" "friday" "plus"
## [ ... and 620 more ]
##
## Murrawarri2.pdf :
## [1] "australia" "anderson" "challeng" "prof"
## [5] "georg" "william" "commonwealth" "attorney-gener"
## [9] "public" "debat" "first" "nation"
## [ ... and 574 more ]
##
## Murrawarri3.pdf :
## [1] "australia" "declar" "independ" "advanc" "brisban" "treati"
## [7] "talk" "indigen" "peopl" "issue" "resourc" "may"
## [ ... and 647 more ]
##
## Murrawarri4.pdf :
## [1] "indigen" "backlash" "cost" "labor" "seat" "new"
## [7] "zealand" "herald" "august" "thursday" "new" "zealand"
## [ ... and 396 more ]
##
## Murrawarri5.pdf :
## [1] "murray-darl" "aborigin" "nation" "sign" "treati"
## [6] "hope" "stronger" "voic" "indigen" "right"
## [11] "abc" "region"
## [ ... and 263 more ]
##
## Murrawarri6.pdf :
## [1] "new" "south" "wale" "queen" "recogn"
## [6] "murrawarri" "republ" "indigen" "peopl" "issue"
## [11] "resourc" "may"
## [ ... and 353 more ]
##
## [ reached max_ndoc ... 1 more document ]
Murrawarri.tokens2
#create dfm from first tokenized steps
#word cloud 
#co-occurance
## indigen nation treati peopl aborigin declar
## 9185 7977 7238 7014 6557 5725
## sovereignti independ authorit state
## 5460 5459 4305 4283
## [1] "indigen" "nation" "treati" "peopl"
## [5] "aborigin" "declar" "sovereignti" "independ"
## [9] "authorit" "state" "inform" "court"
## [13] "republ" "intern" "republic" "content"
## [17] "re-distributor" "unite" "govern" "first"
## [21] "declare" "titl" "within" "law"
## [25] "water"
