Giter VIP home page Giter VIP logo

tripassess's Introduction

Inspiration

COVID-19 showed us how vulnerable we can be when traveling and how dangerous many nations are, either due to public health crises or political instability. So we thought it would be important that when traveling goes back to a new normal, that we can prepare and check any dangers in our country.

What it does

Travel Assess takes in the user's current nation they reside and the country they wish to travel. Then, the program searches through the web, search any top and relevant news, along with any news on the relationship of the two countries. From their, the program reads through the contents of the news it gathers to determine the overall sentiment of that nation, Too many negative or dangerous connotation words will trigger a "Danger" response, and vice versa. The program then reports to the user how safe their destination currently is, along with the top headlines.

How I built it

The program is built in python, with the user interface being built with the streamlit API. The natural language processing is determined by the nltk and the vaderSentiment API's. The newsapi-python API gathers the news articles based off three different categories: top headlines of the destinations, all relevant news on destination, and all top headlines relating to the source and destination country relations.

Challenges I ran into

A few challenges we ran into include the webscrapping with newsapi-python as it limits how many requests can be pulled each day. Learning the nltk API also had some issues, as it was difficult to pull the contents from the news in a multidimensional array and to find its overall sentiment. Other issues included getting headlines to appear in streamlit, images of articles not showing up, and creating an algorithm that determines the sentiment of the news to determine how safe it was to travel.

Accomplishments that I'm proud of

I'm most proud of the ease of use a user has with the program. All they have to do is input their country and destination and the program does all the heavy work for them, giving them information they could take hours on their own.

What I learned

We learned how useful and powerful APIs work and ways to utilize them in very applicable and unique ways. Learning the nltk and newsapi-python APIs are extraordinarily useful for gathering and analyzing string type data.

What's next for Trip Assess

Future features of Trip Assess we hope to see is creating user profiles, trip cost calculator, and ways to share with travel agencies to implement in their own businesses.

Video Demo

https://youtu.be/ps_FupKjdTM

tripassess's People

Contributors

hamishwillee avatar rahqis avatar chrisdavidmills avatar alextugarev avatar akosyakov avatar desagaz avatar lmeerwood avatar f1ashhimself avatar mozilla-github-standards avatar vladyslavhnatchenko avatar geropl avatar j9peters avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.