Spaces:
Sleeping
Sleeping
Commit
·
877f029
1
Parent(s):
b0964ac
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,54 @@
|
|
1 |
-
#
|
2 |
-
In this repository, I have created a natural language processing (NLP) system that analyzes the TV Series - How I Met Your Mother.
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# HOW I MET YOUR MOTHER - SERIES ANALYSIS
|
|
|
2 |
|
3 |
+

|
4 |
+
|
5 |
+
## Overview
|
6 |
+
The HIMYM Analysis project is a web application designed to analyze themes and character networks in the TV series "How I Met Your Mother" using subtitles or scripts.
|
7 |
+
This project leverages `gradio` for the web interface, allowing users to perform theme classification and generate character networks interactively.
|
8 |
+
|
9 |
+
## Features
|
10 |
+
### 1. __Theme Classification (Zero Shot Classifier):__
|
11 |
+
- Input a list of themes.
|
12 |
+
- Upload subtitles or scripts.
|
13 |
+
- Visualize the distribution of themes in the series using a bar chart.
|
14 |
+
|
15 |
+

|
16 |
+
|
17 |
+
|
18 |
+
### 2. __Character Network:__
|
19 |
+
- Generate and visualize character interaction networks.
|
20 |
+
- Extract named entities from subtitles or scripts to create character networks.
|
21 |
+
|
22 |
+

|
23 |
+
|
24 |
+
### 3. __Talk To Barney:__
|
25 |
+
- Ask anything from Barney and the answer is gonna be legend- wait for it, -dary.
|
26 |
+
|
27 |
+
|
28 |
+
## Installation
|
29 |
+
__Clone the repository:__
|
30 |
+
```bash
|
31 |
+
git clone https://github.com/iiakshat/himym-analysis.git
|
32 |
+
cd HIMYM-Analysis
|
33 |
+
```
|
34 |
+
|
35 |
+
__Install the required Python packages:__
|
36 |
+
|
37 |
+
```bash
|
38 |
+
pip install -r requirements.txt
|
39 |
+
```
|
40 |
+
|
41 |
+
## Usage
|
42 |
+
__To run the application, execute the following command:__
|
43 |
+
```bash
|
44 |
+
python app.py
|
45 |
+
```
|
46 |
+
|
47 |
+
The web application will launch, and you will be provided with a URL to access the interface.
|
48 |
+
|
49 |
+
## Contributing
|
50 |
+
- Fork the repository.
|
51 |
+
- Create a new branch `(git checkout -b feature-branch)`.
|
52 |
+
- Make your changes and commit them `(git commit -m 'Add some feature')`.
|
53 |
+
- Push to the branch `(git push origin feature-branch)`.
|
54 |
+
- Create a new Pull Request.
|