Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.Ruserdata
.DS_Store
data/csv/clean/tidyTranscripts.csv
.html
43 changes: 38 additions & 5 deletions analysis/actII.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,21 @@ If you've seen Frasier before, you know the the show is led by main characters:

Let's begin by taking a look at the line share of these main characters:

![](../images/linesPerMainCharacter.png)
[![](../images/linesPerMainCharacter.png)](../images/linesPerMainCharacter.png)

Overall Frasier Crane carries 34.01% of all lines, almost twice as many as any other character on the show.

The line share of characters outside of the main five continued to grow throughout the entire 11 seasons.

![](../images/linesPerCharacterType.png)
[![](../images/linesPerCharacterType.png)](../images/linesPerCharacterType.png)

Since Frasier is the main character of the show and we've already seen that he has the most lines of the show, does it make sense that he would also have the most words per episode as well?

![](../images/wordCountPerEpisode.png) Like with the subtitle analysis, we'll also dive into a unigram sentiment analysis to see which characters use the most positive and negative words in each episode.
[![](../images/wordCountPerEpisode.png)](../images/wordCountPerEpisode.png)

![](../images/sentimentOfMainCharacters.png)
Like with the subtitle analysis, we'll also dive into a unigram sentiment analysis to see which characters use the most positive and negative words in each episode.

[![](../images/sentimentOfMainCharacters.png)](../images/sentimentOfMainCharacters.png)

It's interesting to see that Niles and Frasier follow a similiar linear trend in the sentiment of their words. Frasier's largest use of negative words comes in episode 90: Ham Radio where he directs an old-timey radio show that turns into a disaster, while his largest uses of positive words comes in episode 214: The Ring Cycle where Daphne and Niles elope in Las Vegas and then stage a series of fake weddings.

Expand Down Expand Up @@ -68,4 +70,35 @@ Here we find that Fraiser has mentioned Niles 2111 times compared Niles' mention
Top Positive & Negative Words
-----------------------------

![](../images/transcriptSentimentWords.png)
[![](../images/transcriptSentimentWords.png)](../images/transcriptSentimentWords.png)

Most Distinguishing Words For Main Characters
---------------------------------------------

| character | word | uniquenessOfWord|
|:----------|:--------|-----------------:|
| Daphne | crane | 1943.0577|
| Daphne | dr | 1857.6753|
| Daphne | mum | 479.5264|
| Daphne | bloody | 238.4252|
| Daphne | nice | 168.8845|
| Frasier | niles | 4413.9584|
| Frasier | dad | 3442.1692|
| Frasier | roz | 2905.5846|
| Frasier | god | 1102.0595|
| Frasier | time | 861.8832|
| Martin | yeah | 2141.1908|
| Martin | hey | 1785.0858|
| Martin | fras | 853.3099|
| Martin | eddie | 770.8073|
| Martin | guys | 625.8700|
| Niles | frasier | 1445.4581|
| Niles | maris | 762.1647|
| Niles | wait | 227.8986|
| Niles | mel | 136.2381|
| Niles | maris's | 120.6549|
| Roz | alice | 348.1129|
| Roz | line | 217.9855|
| Roz | martin | 135.2960|
| Roz | roger | 125.1669|
| Roz | weird | 102.8421|
148 changes: 148 additions & 0 deletions analysis/actIII.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
The Kitchen Sink
================
Chip Oglesby
2018-05-02

What are the most mentioned restaurants?
----------------------------------------

| character | n|
|:----------|----:|
| Frasier | 19|
| Niles | 9|
| Faye | 1|
| Kenny | 1|
| Martin | 1|

Who talks about sherry?
-----------------------

| character | n|
|:----------|----:|
| Frasier | 74|
| Niles | 25|

Who talks about coffee?
-----------------------

| character | n|
|:----------|----:|
| Frasier | 179|
| Niles | 71|
| Martin | 52|
| Roz | 39|
| Daphne | 32|

Who talks about Eddie??
-----------------------

| character | n|
|:----------|----:|
| Martin | 228|
| Frasier | 124|
| Daphne | 68|
| Niles | 43|
| Roz | 14|

Who talks about beer?
---------------------

| character | n|
|:----------|----:|
| Martin | 66|
| Frasier | 29|
| Niles | 14|
| Daphne | 6|
| Roz | 5|

Who talks about Opera?
----------------------

| character | n|
|:----------|----:|
| Frasier | 89|
| Niles | 35|
| Daphne | 15|
| Martin | 15|
| Roz | 4|

Who talks about Roz?
--------------------

| character | n|
|:----------|-----:|
| Frasier | 1244|
| Niles | 124|
| Martin | 86|
| Daphne | 80|
| Roz | 43|

Who talks about Daphne?
-----------------------

| character | n|
|:----------|----:|
| Frasier | 594|
| Niles | 493|
| Martin | 147|
| Roz | 83|
| Daphne | 30|

Who talks about Maris?
----------------------

| character | n|
|:----------|----:|
| Niles | 343|
| Frasier | 165|
| Martin | 50|
| Daphne | 8|
| Roz | 7|

Who talks about Lilith?
-----------------------

| character | n|
|:----------|----:|
| Frasier | 125|
| Martin | 22|
| Niles | 15|
| Lilith | 7|
| Roz | 7|

Which brother introduces themselves as doctor?
----------------------------------------------

| character | n|
|:----------|-----:|
| Frasier | 1054|
| Niles | 440|

Who talks about mom the most?
-----------------------------

| character | n|
|:----------|----:|
| Frasier | 269|
| Niles | 121|
| Martin | 86|

How many times does frasier say hello seattle or I'm listening?
---------------------------------------------------------------

| character | n|
|:----------|----:|
| Frasier | 111|

Is Frasier the only one who says DEAR GOD
-----------------------------------------

| character | n|
|:----------|----:|
| Frasier | 124|
| Niles | 27|
| Gil | 2|
| Charlotte | 1|
| Daphne | 1|
| Martin | 1|
| Roz | 1|
Loading