{"id":19640453,"url":"https://github.com/moritzkoerber/text_analysis_app","last_synced_at":"2026-04-09T22:32:33.963Z","repository":{"id":40967513,"uuid":"205657798","full_name":"moritzkoerber/text_analysis_app","owner":"moritzkoerber","description":"A web app that classifies the content of messages that are usually sent during disasters such as earthquakes.","archived":false,"fork":false,"pushed_at":"2024-08-20T16:25:59.000Z","size":44,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-09T18:57:39.360Z","etag":null,"topics":["flask","machine-learning","nltk","python","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moritzkoerber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-01T09:54:17.000Z","updated_at":"2024-04-23T07:33:56.000Z","dependencies_parsed_at":"2025-01-10T10:54:03.774Z","dependency_job_id":null,"html_url":"https://github.com/moritzkoerber/text_analysis_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzkoerber%2Ftext_analysis_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzkoerber%2Ftext_analysis_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzkoerber%2Ftext_analysis_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzkoerber%2Ftext_analysis_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moritzkoerber","download_url":"https://codeload.github.com/moritzkoerber/text_analysis_app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","machine-learning","nltk","python","scikit-learn"],"created_at":"2024-11-11T14:05:50.840Z","updated_at":"2026-04-09T22:32:28.942Z","avatar_url":"https://github.com/moritzkoerber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Classifying disaster response messages\n\nThis repository contains a web app that classifies the content of messages that are usually sent during disasters such as earthquakes. Labels are, for example, *medical* or *request*.\n\n## How to use the app\n \nTo run the app, run './app/run.py'. If you use this app on your local machine, you can visit it at [http://localhost:3001/](http://localhost:3001/). Run './data/process_data.py' to preprocess the data. Please provide the file paths of the messages and categories datasets as the first and second argument respectively, as well as the filepath of the database to save the cleaned data to as the third argument. Example: `python ./data/process_data.py './data/disaster_messages.csv' './data/disaster_categories.csv' './data/database.db'`. The predictive model has been Run './models/train_classifier.py' to retrain the model. Please provide the filepath of the disaster messages database as the first argument and the filepath of the pickle file to save the model to as the second argument. Example: `python ./models/train_classifier.py './data/database.db' './models/model.pkl'`.\n\n## Folder structure\n\n'./data/' contains the underlying data in .csv-format. './models/' contains the predictive model in .pkl-format. './app' contains all files of the app itself.  \n\n## Requirements\n\nThe required packages are and their corresponding version are stored in './requirements.txt'.\n\n## Further information\n\nThis app has been built on top of material provided by [Udacity](http://udacity.com), with modifications from my side. The process_data.py and train_classifier.py were written by myself; feel free to use it or develop it further.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoritzkoerber%2Ftext_analysis_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoritzkoerber%2Ftext_analysis_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoritzkoerber%2Ftext_analysis_app/lists"}