Skip to content
Merged
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
91 changes: 62 additions & 29 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,35 +20,68 @@ It uses different models (e.g., Naive Bayes, LSTM) trained on the **LIAR dataset
---

## πŸ“‚ Project Structure
```bash
dataset/liar
Β  Β β”œβ”€β”€ README.md Β  ##Dataset description
Β  Β β”œβ”€β”€ train.tsv Β  ##Training data
Β  Β β”œβ”€β”€ test.tsv Β  Β ##Testing data
Β  Β β”œβ”€β”€ valid.tsv Β  ##Validation data

module/
Β  Β β”œβ”€β”€ dataset.ipynb
Β  Β β”œβ”€β”€ fake-news-detection-using-lstm.ipynb
Β  Β β”œβ”€β”€ fake-news-detection-using-nb.ipynb
Β  Β β”œβ”€β”€ liar-data-analysis.ipynb

templates/
Β  Β β”œβ”€β”€ index.html

scripts/
Β  Β β”œβ”€β”€ setup_nltk.py
Β   └── fake_news_logreg_rf.py Β  Β  ## Train & evaluate Naive Bayes, Logistic Regression, Random Forest
results/
Β  Β β”œβ”€β”€ model_comparison.md Β  Β  Β  Β ## Generated baseline comparison table (markdown)
Β   └── comparison.png Β  Β  Β  Β  Β  Β  ## Generated accuracy bar chart

.gitattributes
app.py
hero_img.svg
LICENSE
Readme.md
requirements.txt

```
QuickFactChecker/
β”œβ”€β”€ .github/ # GitHub-related configurations
β”‚ β”œβ”€β”€ ISSUE_TEMPLATE/ # Templates for creating GitHub issues
β”‚ β”œβ”€β”€ workflows/ # GitHub Actions workflows (CI/CD automation)
β”‚ └── pull_request_template.md # Template for new pull requests
β”‚
β”œβ”€β”€ .venv/ # Virtual environment for Python dependencies
β”‚ └── Lib/site-packages/ # Installed Python packages
β”‚
β”œβ”€β”€ Public/ # Public assets (frontend files)
β”‚ β”œβ”€β”€ css/ # Stylesheets
β”‚ β”œβ”€β”€ js/ # JavaScript files
β”‚ β”œβ”€β”€ locales/ # Language translation files (i18n support)
β”‚ β”œβ”€β”€ index.html # Main HTML file
β”‚ β”œβ”€β”€ index_i18n.html # Multilingual HTML file
β”‚ β”œβ”€β”€ script.js # Main frontend script
β”‚ └── style.css # Main stylesheet
β”‚
β”œβ”€β”€ app.py # Flask application entry point
β”œβ”€β”€ install_i18n.py # Script to set up internationalization (i18n)
β”‚
β”œβ”€β”€ module/ # Custom Python modules
β”‚
β”œβ”€β”€ dataset/ # Datasets and analysis notebooks
β”‚ β”œβ”€β”€ liar/ # LIAR dataset folder
β”‚ β”œβ”€β”€ dataset.ipynb # General dataset exploration notebook
β”‚ β”œβ”€β”€ fake-news-detection-ml-comparison.ipynb # Comparison of ML models
β”‚ β”œβ”€β”€ fake-news-detection-using-lr.ipynb # Logistic Regression implementation
β”‚ β”œβ”€β”€ fake-news-detection-using-lstm.ipynb # LSTM model notebook
β”‚ β”œβ”€β”€ fake-news-detection-using-nb.ipynb # Naive Bayes model notebook
β”‚ β”œβ”€β”€ fake-news-detection-using-svm.ipynb # SVM model notebook
β”‚ β”œβ”€β”€ fake-news-detection-using-xgboost.ipynb # XGBoost model notebook
β”‚ └── liar-data-analysis.ipynb # Data analysis for LIAR dataset
β”‚
β”œβ”€β”€ results/ # Folder for storing results, graphs, and metrics
β”‚
β”œβ”€β”€ scripts/ # Additional scripts used in the project
β”‚
β”œβ”€β”€ tests/ # Unit and integration tests
β”‚ β”œβ”€β”€ test_app.py # Tests for main app
β”‚ β”œβ”€β”€ tests_app.py # Additional test scripts
β”‚ └── tests_dummy.py # Dummy test file
β”‚
β”œβ”€β”€ utils/ # Utility modules
β”‚ └── fetch_url.py # Helper function to fetch and preprocess URLs
β”‚
β”œβ”€β”€ CODE_OF_CONDUCT.md # Community guidelines
β”œβ”€β”€ CONTRIBUTING.md # Contribution guidelines
β”œβ”€β”€ LICENSE # License information
β”œβ”€β”€ LOGO.svg # Project logo
β”œβ”€β”€ GSSoC.png # GSSoC banner image
β”œβ”€β”€ MULTILINGUAL_SUPPORT.md # Guide for adding multiple language support
β”œβ”€β”€ Readme.md # Main project documentation
β”œβ”€β”€ debug.log # Debugging log file
β”œβ”€β”€ .env # Environment variables
β”œβ”€β”€ .gitignore # Files to be ignored by Git
β”œβ”€β”€ .gitattributes # Git configuration for line endings
β”œβ”€β”€ .coverage # Code coverage report
└── files.txt # Miscellaneous file list

```

## βš™οΈ Installation & Setup
Expand Down
Loading