A Text Analysis of the Harry Potter Books and Movies
‘Anna Clarkson
Ihave beens huge Hany Ptr in| was in rae sooo, an ent gt te change oak lass where we sen tree weksoking at the sre from an -depth
IMeary perspective Lering bot he ngage thaughot he books meme want talon the books 2s wel athe moist seth silts and derenesin tte
lage The orga toks were pubs fam 1998 to 2007, andthe mavies wer released to 2001 to 201, Snes rake the Hay Paros have ben
‘ranted no over 8 anges, ands one the most sucess franchises fal time.
Forth boos, se the byl R package Tis presen sr cals, as was uate to ica the gue automaticaly. Theis tabu was rt anyuere
ale ole sol mae he densi dot renwal, wing Micros Wordand Text, Some fhe tet was Imereti resend furtharchalenges This proces tok
sveralhaurs foreach bok parila th tr or). For Gal of ean Cao th Pen ued an etal sac instead othe package, ater encountering
lvonitences wth the way thetext was ad ut thal made cu to seperate he cao ont aloge as ayting within double quotations. (°°). Samemes. ts
ince characters rating a nespape (mos ote Te Daly Ponte artic ot Fr he moves, used Siete Siringti' database, wich has sity dala,
Nota stopwords were renved so founda is one and tok ut ote tp wards according ot alsa rerved “hay and pater" fom the wor sa they
‘peared inl ofthe asthe op wards witout hen, you cant se the frees bee eah movi an book. My ypotesisthal eth fst two ad teat two
wile the closest othe bok in ters of dague,
Henry Potter and te Soroorer's Stone
ats a te Sires Se wasps te Unt Kg one 25,1097 sory
teat Psa St te Unt Sts n Sept | 1988. Taare was chet f hie
cet asc hats odo war oa bok wt ‘iki ease
by 12 pubs bee Bunbury bgt it Th dornac tS’ Stara th oli bcs
tothe New Yk Tsai it fetal cle’ dk. wa iach 000
that his Colts woud th ave, Veteran atau tard Hari Magi Al
Fickra, and obi Calan, Neer ai ade, Era Was rd gen weet st
oT ana was oe on Nownbr18,200.The pt rae stand Harnett the
wedge
ears
iiaieprotessor &
‘irsthogwarts bis
Inthe ook word chu, nthe tls itresting to oe presence of ye, yer” and "ter, to words used excuse by Hag, he gamekeeper at Hogwarts wha
befriends Hay, Ronan Herioe ‘proesso, "ptr, hagwarts’, "Gamble, "hart, find are sa rominat on bth word cous. oe the lop wards
are taken ofthe op 10 wars, fe are characters (oti “profess one alan (hogwats').ard the ote oe "pos and “gina or he ook,
‘our ofthe top 10 most requert words characters agin, ating “pratess),woinvbe Hari’ ile (yeh and Yr), ones aloaton (Yoga). and he
ther two are "ook ado. Wh he exception of Hari lec, these resus are ay slr, The characters nthe top 10 wore the samen te xk ad move,
Heres thecode itis te same forthe maw just stchet "SS for"SSbak” and thee was SorcaesStone tt the word clout cols “a4:
Heap Potter and the Chamber of Seovets
Aa Eo ate abr f Snes pbs inthe Ko hy 2, 998d inthe US on a2 eae
1986 Theme nse ont, 02h roves eto tote cect Crs (A
Calas Tis was ote ral mve ith chard Haris Durbar eased anc hry bet
see seen inte movie poster an thei, was a inaded, and came nan ut ofthe sais,
playing crucial rent tal bok The pl invade Chater of Secrets beng opened ty hr ot
iter eating to students beng attacked. Harrys canning to eal is tru poner sa wzard with
‘coment o Lord Volo, the datestwzardt al me,
often,
orig faces
: Salar a fe
#3) dobb
hiatal irene,
“Bprot fessor
\Words thal repaint nb the ravi anbokncle eoby’, th tose hts stadud ein heback and pays an mortar ro in terest oth srs,
"profess," tothe fered oth professors when nts “profesor and ‘sh’ iinet ta Is featured in bh, but ‘aan or someting
sins net werd cou, ‘chars ar gin’ vere mare requnt inthe mi Othe Wrst eqn word nthe rie, fur were characters on was
Ioan tare efeing tothe Chanberf Sere), wo werchaw thay referenced super (sn professor) and the cer thre wore scho, "tend tne.
Forth nk trae of the top 10 words were characters, or ws alacain haba," and" profesor were featured andthe ler ards were," and.
Tote fo fab bad thai sare wash’, yards. reasons? ray beso prone brsiestheuse ity he
students ih aw ty erence Hay. "hag stato 10 word forth bok an "ist op 10 word rte mow esis ths wo. he remain
worse inboth radios.
Herts codes the sane far thebok ust site "CaSbook for "CaSmvieand thee was CarberoSeces tthe word cud coli “reste
Harry Potor andthe Prisoner of Azkaban
|, uted Pionalastesptsot ne ny ats Son
Sota, 185 was en 4,204 es ree es Cut thats il CO ME
ach er mod ting the rt ett th sere (hs canes in ie ar, Smee a
apt alte anes tthe mv ad ean neigh aes al Then
intro ay Oranas Sr Back Hays tater avi Tel wa as iodo as Pros bee |
Rerus ip thats acento te ean. Te pl rer ent
atrat of Sis la soca om th izing pris an Haryana et of ewig
wr ae tbelrtat risa lets ars andthe was tng et a Harvie
Hove
HatPotte
Sy
ate tan SiFIUS
ssc black
‘=, professor
Wor tha re featue an teth wor ccs include “profess, "lack, ich in reference ta ris Bleck, focal pot a th ook (sisal feature on oth) her
rezes onthe ‘ron and "hermione, andere, another ay parte bck Oth top 10 most requent wrt othe bok ard move, ight of them are
shared between the mains “profesor” she dest frequent wort froth, ani “ary'isthe most oman. “tine isance aganan bt ntrestng, "tas the
Sth mes request wr in the book but ison he top 10 forthe nie
Here ste cadet isthe same forthe move, ust swtted "PuAmave for “Pobck’ andthe fe was Prsoneofzkaban i: the word clude “gl":
Harry Potter andthe Goblet ot Fre
Et ane ate ost et Har Patek pte tes hi 8, PT
‘2000-inthe UK and th US Amazon layed arr role thas Amercaneadeshad bec aréing Bg i rea ae) We
revauoxks of saz before thy re kas inte US, ess Stl to as money. 1989
_Tnoraguineatlstats, A spckesprsn at aan coukooris ta tere as en cose
inert fromaeseas aston, ich nas tat Sons, eS pubishs, ils nol sas 0
Bits usher Bleomsbuny-an ees sky sue tetas rasa he bares
Ineret Tena lan Neer 1, 205. Te fim feature actor ober Patson who
woud go onto starin Fight Tem as ected y Mike Neve Te psu te Tz
Ten tic Harstad fovea core in
Se
ane it a
Seen pega
Suir a
Bees
itis mre fat tan for prevous installment fndconmon words Mary othe lage wr on ohare characters bu ty ean he bck, rorinet
carats nce ormeh’,rbledre ad "chy. Far the move, ines hu, "cdi nd “ron. For the op 10 wards, theres sin comer thon previ
aves. rly four words starad—"ary’, "pte", and oo’, Tis sup gvan hata” and "pote" ae ges, and cad “kare probly
praia most vies and books The wards ature prainentyin th bck but ol the nv wee" ruc [sin Barty Crouch and Barty Creuch jr), "dle,
"ead tol’. The words featured inthe mi pointy, bata thebook, ware", ‘profes’, "by, cei® (ecg. amin chractr in the stale),
“fst. "un (Veta Kru anothe ain character ann.
Here ste code the samo the book just swthed "Gorm for “Grbac the le was GoFbokt the word coud cli")
Hany Potes and the Order ofthe Phoeniy
vt fy Pe ott (oi Hany Patter and tte Grae of the Phoenix was published on June 21,2003. The movie was released on July
= 11,2007. tt was the first Potter movie to be leasad in IMAX 3D. It was the first Harry Patter movie to be
directed by David Yates. He would goon to direct the remaining three movies, plus Fantastic Beasts and ya
‘Where to Find Them a mavie based aff the Hogwarts textbook ofthe same name, released in 2016. It was.
prelate pote ware ceo te sees, bt Roi ten, cae MS
‘acructal role it would play inthe final book. The plot is basad around a provheoy revealed to Harry by his
Divination professor (payed by Emma Thompson, andhis eventual seach frit wil tying to save his
‘Bodfather. Tis was Helena Bonham Carter's first appearance as Bolatrix Lestrange: she starred inthe
einige risa well
se is cake
me professor
tel ima —
dumblec dore: “eedum|
‘ rim voller
TE Bee
es
"dunbltre i proinent on both rd cots, 2s "sus and profess”. When the ward frequen i exained forthe tp 10 words sic of han ae share, ko wth
Gable af reer ws the top 10 forthe tookbut ot the mov. Irterestgy, ‘alana’ and srs" ween he op 10 forthe moi ard atthe bon They both
played an mpatant rl inthe instalment; however, the word ut forth books sigan ihe, soit wold take mre to et int the tp 10. "istry" is sin the top
10forthe movie but atthe bock, ich ssa sus benase te Mn of Magi waste stg or thecaxcf the bok.
Heres the code tthe same for teak ust swith "OtPmai" for "Oat Pboka the fe was ot Pbk the word clout eos "grey":
Harty Potter andthe Hal Bld Prine
Hartera ti Ha Sot Prva shel, 2005, nove was east nl 15,
2008.Areoré ekg 14 ilo cis were aren afar rom Ara Hoo iw ft
son of Pal Fees, vo pled ad Vlora prayed bs yore: sf lam dle. so featue
i Brahe as Profs Hace Suh. Te pees ound Hay kari rae abut Vlora
tina tundra Hones nd thal hey ith eta ves acral pt pot wh gl
ary sus tions entink which cases it infest Har fet towases sigs tof
o's yuige sis, iy nis ital Ron ala as lees aver Bown wich dso
erie’ eng fo Ron cing are vice eal Tiss est mv eat he tro
atedng ta.
Hotty Potter
amare
nomi anape ee :
“Se asecaree SP
sSeeesaidime, eu i
jaledui
re og
one voldemort
aan cee
[aie :
Between the two wort cud, caren wardsinca "tesa, although thee ar many dferenoes, Sir is much mee prevaet in tern, whi" dunbloreisruch
rare soln he book “rao s aso ore prevalent inthe mov. Fv ofthe tp ten st requent words ae shared"hary’, oh, "proessar, "sand “ta. The presen
tris iteresting a thisas ol gpeare wih ay ofthe revs books ves. Tare were a lato ark eens in his mov ut asa he fst meta feature
¢eriess(metaphrcal or ter). "voHaro” ad ‘cublecore” were two th tp TO wards nthe bok that were onthe op 10 for terme. “due ot beng in
thelop 10's surprising, gen tha elas amore crucial ok in is ntallment thane asin reuse and at spend a good dao tne tgehe exainingmemares
Inreparaton or Hary's understanding of Volant ands orrias Words that were nthe tp 10 forthe move ut a the book nude “éac’, "ta (LrdVoldomat's
bit nae was Tom ile, and his chad is tone he Halla Pied, an “pater, Ti is thers ime “pater isra op 10 word ar thebook hich s so
‘supring given that Hays often cefaredtoas imply “Patri books,
Herts he code (or hemo |snitced"HBPbosk” to “HBPove, and used the fie "HEP vet, The wor aud olor as “grey67":
Hany Bote andthe Deathly Hallows
Harry Potter and the Deathly Hallows was published on july 21, 2007, The movie was split into two parts, due to the importance af the contents of the bonk (although it was nat
‘the longest of the novels-that was Order of the Phoenij. However, the movies were shot back-to-back In an interview after it was announced that the book would be split in
‘two, producer David Heyman {who produced all eight mavies) said that unlixe with previous books, there weren't things that could be cut. na 2014 intarvicw, he said it was due
‘to “creative imperative’. Part | was released on November 19, 2010, and Part on July 16, 2071, Many franchises have since split the final book of a series into twa movies, a
‘éetision that has been criticiaed. The final Harry Potter is about Harry's search for Voldemort's Horcruxes and fulfills prophecy, knowing that “neither can live while the other
Sess aoe wots ne
=a
~Eahiie cI o
aur Bee ee erhermione
atc wan
Saale a brkilitelllords seo
Words wand’, nein, andere ae proinanton oth word lots Mayo the words ar regte, wich makes see 2s Harry spends much of he book
thnkng e's warking is way towards setae deat tthe ards of Voller. The op 10 words for the Ceti Hafons wee nies somenew wards appeared
that werent in the previous movies. "War, "hone, and “rd” wee nth top 10 farbath teva the took, While “on haben nthe op TO ele, his was the
{rst ine Heron was, whichis somewtatbizae as se was 1 ter, However, Hermione dd have abo lrg role n Deady Hofows de to Ron larg or abit
inthe ml ofthe try. Te presence of "andi kel de the story arcnd the Eder Ward andthe Deahiy Halos. lars ot ery suprising athe, as Lord
older was molt inc espe in Death Halos
Heres the cade or the mv | sith "DH" to “DHook, an used the "DHmovet’ The word cud color ws ‘rab
All Harry Patter Books
Wor Frauen Among A Mary Pot Gackt War Curt Among ALT Mary Por Boks
Thegraphon tet shows he most commman ward in he Geagu of all the ary Potrbooks combined. Not suri he two most conrnon words re "hay" and
"pole Kis interesting sean bul na "heron, wtch was alten son trughat he word aus abou aswel,
Thograph onthe right stows the word count for al evnooks As yu cane, the ngestis Cc af he Poon Th fit four increasing with eachor, het ures
aro,
Heres my code forthe word reuonysrnh flowed by the ward nut graph
Te fling graphs were create sing Gane Sees to show theuse of cartintemsin the deg nt how it fer between the Hany tt books ad the movies. Tis
|scny someaftte many chraters, eats, spel and lcatonsin Hy Pat ober rats can be fund he To gt he roprtons, | go the number tines each ward
‘was mentioned in the books ard moves by using the code elo thn put alt GongleShets docuent whee | vied the umber bythe word coun forthe ookor
mv, and tiple that umber by 10.
Preperto "Ron a Dispos Proper ermine a Digs
Run nd Hosmion arermentianed sameway in any ofthe banks ard mvs, wth some ots nds. n Sorc’ Sto, Ps of kab, lt lod
Princ, and Dechy Halos nthe Sorcerer's Stanemavi tok anger fo Hermione tobecame rns wth Harry tan td for Ronn Prisoner a Actin Haron is
rad at Har and Rn for apron, ashe slo vry busy wth scholar due aking moreclasses than ara. Te hgherpregortan for "Ron inthe Halad Prae
rm maybe bezause Hermione as angry a on fr much of he move beau fe wasting a she fou annoying and so was no spcng ohm r Hay. Shas
twlved tat Rng onthe quit team tity, and was angry tthe interesting thal despite the act hat Ron was absent fra and part Deathly Halls,
“Hermione isnt mented ay mareoresinthe bok,
Propet of “Esper” Diag Proper of Avda Kedar ie Dinoge
{apeliarus rte Dsaring Char, bees ono Hay mes-used spel In Deathly Halos Remus Luin tel Hay, “apelirmusis 2 seu spo, Hay, but the
Death ates bel i'syursgrture nave and urge you mot tolet it became sal" Hany lately uses itt cent Volo. It fist gpears in th ook and movies in
Granbero Seorets wen Stage techs to sufets the Dving Cb. Gang forward was mestont/ust more fen inthe mais than in he ook, unt thy
Halls Oder ofthe hoot Har each the spel o Dumbledore’ Army, and trues iin the atl ofthe Deparnt of Mysteries.
ata Koda cers maya the King Cus, is hemos spin Hay Pt Asis rane would sages the ago isonet tre Uafrgable
Curses. tether wo eingthe Crus Cure and the Imari Crs. is engl rts las of ren ght. Hary Ptr’ parents erebth ile byt frst
anptrsint Hay Ptr sis n Gable Fr when Loré Veo kits Frank rye (a garda the Rede aly hose). Atte endothe ook ar mov, Petr
Petre wes ttl Cetric Dg. nC ofthe Phan is sed inthe Batt ofthe Department of Mystere. Snape ssn Ha Bod Prince tll urbe.
is usd freuen Day Hatbwsty Volar nd eat ater
Proprio of “Hogwarts in Dialogue Proparo f“Diag Ae)” Diatgue
Looking at mentions of "Hogwarts tines thal despite mre than al of hback and moves ot aig place there, ts lwest mantis dnt come fom Ces
allows Tiss kely dt the ongoing cscussions betwen the rio about the aan of Vodorats Hoare, mary f whch werd the wal of Hoga
‘igen Ales entoned in allo the books, ut cl treo the mei Itpasa bigger rele in Camber of Serta isis where Harry meets Gilroy Lockhart forthe
Ars tne and Lucu Malfoy sips To i'r nto Gm Weasy' caver. twas ot cud in many ofthe lr, sseanere~haneve, there was a tenn al
‘Bod Prince, at the Weasley tins new sore, Weasley Wizarding Wheszes. Hower, Diagn Aly was eer mentoned by nae, But was exclude tom he Sd,
th and thai Because can rly search fr one werd, searched “Dlg: however, the resus re stl acura stat word sony usa in eferan to lagn Al,
‘Some characters and creatures were manned bean eos, but ruthless so inte mais.
Preperton of “SiulDisoge Proper of “Lipa a Dilgne
see Bice news moc
Proprton of Peeves in Dinloge
wee
Sila first anpearedin Frise of kan, were, 2 mentined above e escaped fam Aakatan ands thought tobe after Hay, Siu was best rind with
[arent (espeialyhis athe), whe et nen they were 2 Hogwarts, ans asa Hay’ goat. reason the propa fr the ookray besa much ihe that
was refered toin th book at 2 “Black here wasn reason oa hi Sirus” when the thought he was abd guy. es mentioned by namein Sarees Stoebecasse
agi oroshis matory ake ary tthe Dusles, He pears in Gable of reve Gyfindr Corman Roam flac, ann Order ote Phen save Harty
at the Department of Mystere. He isu ied here In Cai Hallows he appears wa he Reston Soe shart betore Har Wile” by Volemor. They tave
2 ouching arent when ary akin, Does it hurt?" and Sis sponds, "Dying? Not at al Quicker and easier than fling aie.”
eos ui st epeare in Prise of ott bee he sve Harry fom a dementoron the Hogwarts Express He was mal caracter inthe navi zd fas the
Defers Against he Dar Ais professor, eathng Hay the Patras carminhis pare. Lupin wasbest fend with tary’ parent (expec ifthe), whom he met
hen they were at Hogwarts, nt hs isthe st time Harry has gate to ro any fis parents rns, He apears iyi the emaring books Howeve, eis eve
‘met ane by ra nay of thse raves.
ews thepltergest was character inal sven Hay Potrtaks, Howe, he isin wasrrafe wit eding tefl mv to cut the ten wih the characte layed
by Ryall. He was ot cued nay ofthe cher mais and the soene was never esa,
Heres thc used to get the numberof tires ctan wards appeared, Below isan xampleof at used tof hermione” inthe mae, owed by pin from te
broks. ended up coring bth Batt Halow avis into on tora it eas: to conpar tothe singular book
Conclusions
twas ey interesting to soe the mast sommn words hen it was jst the calaue apposed toevery ward fo tha books. This lave for abet cormparson wth the
ries stage ition co ot have the sare inpaat sthe non -ogue wardsin books. was uri by the ack of appearance ot neon” nthe op 10 wor tabs.
Fonasina ot of thea seeng a much ofthe eres iad thereof te together, twas suring tat she was excl, This cult mean tat thy dd not eter to
hea much, but thal woud som naewrat because she waste bras etd he group uchot thee.
lms a interesting tose the sims betwee theft book, nd haw names tke “turer and swap" appeared in many of th wrd cuts, at thn there
were words ike "wand” an "eat that ony aneared in sare, Teer movi sem much ore similar t th books than theater ones at lest inter ilague,
| preted thatthe tt two andre st worries woul he coset the ook intro lalogue When yolona th to 10 words (ox sop wort) fr each
tuck andrei du, the resus cntom hat to same extent:
‘Sorerr's Stone 6 of the 10 words were stared
‘Shand of Secrets 9 fhe 10
Prsme of kata 8 fhe 10
ote of re 4 he 10,
rote Phos Bf te 10
alt Boo Price 6 ol he 10
Deathly Halos: 7of he 10
Chamber ofScets Prone of ctaton and Deathly Hal a hemos wrt in orn, This makes ese, a st for eatly Halls because they spt itn two
‘mois Inord:ta ncue as mucho he ook cont as pass. Nonetheless forthe mova were not sls, at ust mans tat the drectors and profes sa
ther awn creatty and interpretations Thats, ater al acrtcalmessge from Har Pter-be sel