├── .gitignore ├── LDA.ipynb ├── Print Chapters.ipynb ├── README.md ├── basic_nlp.py ├── clean_files.ipynb ├── df_dominant_topics.csv ├── images ├── anger-fear.png ├── anger.png ├── anticipation.png ├── arithmancy.png ├── disgust.png ├── elbow.png ├── emotions.png ├── erwan-hesry-166245-unsplash.jpg ├── fear.png ├── ivo-rainha-755570-unsplash.jpg ├── ivo-rainha-764590-unsplash.jpg ├── jessica-fadel-431249-unsplash.jpg ├── joy-anger.png ├── joy-sadness.png ├── joy.png ├── lda crop.png ├── lda.png ├── michael-d-beckwith-572965-unsplash.jpg ├── mystery.png ├── natalia-y-468516-unsplash.jpg ├── negative.png ├── nrc_books.png ├── nrc_books_area.png ├── nrc_chapters.png ├── nrc_chapters_line.png ├── nrc_chapters_moving_average.png ├── positive-negative.png ├── positive.png ├── regex.png ├── rhii-photography-767018-unsplash.jpg ├── sadness.png ├── sentiment.png ├── surprise-anticipation.png ├── surprise.png ├── table0.png ├── table1.png ├── table2.png └── trust.png ├── lda.xlsx ├── prepare_text.py ├── regex.docx ├── sentiment_analysis.ipynb ├── src ├── __init__.py └── helper_functions.py ├── summarization_with_LDA.ipynb └── text_summarization.ipynb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/.gitignore -------------------------------------------------------------------------------- /LDA.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/LDA.ipynb -------------------------------------------------------------------------------- /Print Chapters.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/Print Chapters.ipynb -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/README.md -------------------------------------------------------------------------------- /basic_nlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/basic_nlp.py -------------------------------------------------------------------------------- /clean_files.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/clean_files.ipynb -------------------------------------------------------------------------------- /df_dominant_topics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/df_dominant_topics.csv -------------------------------------------------------------------------------- /images/anger-fear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/anger-fear.png -------------------------------------------------------------------------------- /images/anger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/anger.png -------------------------------------------------------------------------------- /images/anticipation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/anticipation.png -------------------------------------------------------------------------------- /images/arithmancy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/arithmancy.png -------------------------------------------------------------------------------- /images/disgust.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/disgust.png -------------------------------------------------------------------------------- /images/elbow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/elbow.png -------------------------------------------------------------------------------- /images/emotions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/emotions.png -------------------------------------------------------------------------------- /images/erwan-hesry-166245-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/erwan-hesry-166245-unsplash.jpg -------------------------------------------------------------------------------- /images/fear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/fear.png -------------------------------------------------------------------------------- /images/ivo-rainha-755570-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/ivo-rainha-755570-unsplash.jpg -------------------------------------------------------------------------------- /images/ivo-rainha-764590-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/ivo-rainha-764590-unsplash.jpg -------------------------------------------------------------------------------- /images/jessica-fadel-431249-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/jessica-fadel-431249-unsplash.jpg -------------------------------------------------------------------------------- /images/joy-anger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/joy-anger.png -------------------------------------------------------------------------------- /images/joy-sadness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/joy-sadness.png -------------------------------------------------------------------------------- /images/joy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/joy.png -------------------------------------------------------------------------------- /images/lda crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/lda crop.png -------------------------------------------------------------------------------- /images/lda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/lda.png -------------------------------------------------------------------------------- /images/michael-d-beckwith-572965-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/michael-d-beckwith-572965-unsplash.jpg -------------------------------------------------------------------------------- /images/mystery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/mystery.png -------------------------------------------------------------------------------- /images/natalia-y-468516-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/natalia-y-468516-unsplash.jpg -------------------------------------------------------------------------------- /images/negative.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/negative.png -------------------------------------------------------------------------------- /images/nrc_books.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/nrc_books.png -------------------------------------------------------------------------------- /images/nrc_books_area.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/nrc_books_area.png -------------------------------------------------------------------------------- /images/nrc_chapters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/nrc_chapters.png -------------------------------------------------------------------------------- /images/nrc_chapters_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/nrc_chapters_line.png -------------------------------------------------------------------------------- /images/nrc_chapters_moving_average.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/nrc_chapters_moving_average.png -------------------------------------------------------------------------------- /images/positive-negative.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/positive-negative.png -------------------------------------------------------------------------------- /images/positive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/positive.png -------------------------------------------------------------------------------- /images/regex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/regex.png -------------------------------------------------------------------------------- /images/rhii-photography-767018-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/rhii-photography-767018-unsplash.jpg -------------------------------------------------------------------------------- /images/sadness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/sadness.png -------------------------------------------------------------------------------- /images/sentiment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/sentiment.png -------------------------------------------------------------------------------- /images/surprise-anticipation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/surprise-anticipation.png -------------------------------------------------------------------------------- /images/surprise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/surprise.png -------------------------------------------------------------------------------- /images/table0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/table0.png -------------------------------------------------------------------------------- /images/table1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/table1.png -------------------------------------------------------------------------------- /images/table2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/table2.png -------------------------------------------------------------------------------- /images/trust.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/images/trust.png -------------------------------------------------------------------------------- /lda.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/lda.xlsx -------------------------------------------------------------------------------- /prepare_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/prepare_text.py -------------------------------------------------------------------------------- /regex.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/regex.docx -------------------------------------------------------------------------------- /sentiment_analysis.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/sentiment_analysis.ipynb -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/helper_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/src/helper_functions.py -------------------------------------------------------------------------------- /summarization_with_LDA.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/summarization_with_LDA.ipynb -------------------------------------------------------------------------------- /text_summarization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raffg/harry_potter_nlp/HEAD/text_summarization.ipynb --------------------------------------------------------------------------------