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
npm install
npm test
npm start
npm run doc
Main page:
Natural Language Processing:
Smart suggestions: