Skip to content

React/Redux web application with natural language processing

License

Notifications You must be signed in to change notification settings

Aljullu/weather-app

Repository files navigation

Weather App

Weather App that lets the user introduce a natural language query and parses it to return relevant results after fetching data in AccuWeather.

Some accepted queries are:

  • City names
  • Temperature description words (freezing, cold, cool, warm and hot)
  • Weather condition texts (sunny. clear, mostly cloudy, light fog...)

Those can be combined with three operators:

  • and (including two synonyms: but and as well as)
  • or
  • not

This way, natural language queries like cold but not freezing and cloudy are understood.

Tech stack:

  • React
  • Redux
  • Babel
  • Testing: Karma and Mocha
  • Documentation: ESDoc
  • Linting: ESLint

Installation

npm install
npm test
npm start

Generate docs

npm run doc

Screenshots

Main page:

Natural Language Processing:

Smart suggestions: