Skip to content

Commit

Permalink
refactor weather skill
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisveilleux committed May 12, 2021
1 parent 759cb1a commit 10af4d3
Show file tree
Hide file tree
Showing 230 changed files with 1,699 additions and 2,327 deletions.
2,155 changes: 471 additions & 1,684 deletions __init__.py

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions dialog/en-us/RelativeDay.voc

This file was deleted.

1 change: 0 additions & 1 deletion dialog/en-us/and.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/at.time.forecast.affirmative.condition.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/at.time.forecast.cond.alternative.dialog

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/at.time.forecast.local.cond.alternative.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/at.time.forecast.local.no.cond.predicted.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/at.time.forecast.no.cond.predicted.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/at.time.local.high.temperature.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/at.time.local.low.temperature.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/at.time.local.no.cond.predicted.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/at.time.local.temperature.dialog

This file was deleted.

4 changes: 0 additions & 4 deletions dialog/en-us/at.time.local.weather.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/at.time.no.cond.predicted.dialog

This file was deleted.

15 changes: 0 additions & 15 deletions dialog/en-us/condition.category.value

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions dialog/en-us/current.high.temperature.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/current.hot.dialog

This file was deleted.

1 change: 1 addition & 0 deletions dialog/en-us/current.humidity.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Currently, the humidity is {percent}
1 change: 1 addition & 0 deletions dialog/en-us/current.humidity.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Currently, the humidity in {location} is {percent}
2 changes: 0 additions & 2 deletions dialog/en-us/current.local.cold.dialog

This file was deleted.

4 changes: 0 additions & 4 deletions dialog/en-us/current.local.high.temperature.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/current.local.hot.dialog

This file was deleted.

4 changes: 0 additions & 4 deletions dialog/en-us/current.local.low.temperature.dialog

This file was deleted.

4 changes: 0 additions & 4 deletions dialog/en-us/current.local.temperature.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/current.local.weather.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/current.low.temperature.dialog

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions dialog/en-us/current.sunrise.future.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
the sun will rise at {time} today
sunrise will be at {time} today
2 changes: 2 additions & 0 deletions dialog/en-us/current.sunrise.future.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
the sun rose at {time} today in {location}
sunrise was at {time} today in {location}
File renamed without changes.
2 changes: 2 additions & 0 deletions dialog/en-us/current.sunrise.past.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
the sun rose at {time} today in {location}
sunrise was at {time} today in {location}
File renamed without changes.
3 changes: 3 additions & 0 deletions dialog/en-us/current.sunset.future.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
the sun will set at {time} today in {location}
in {location} the sun will go down at {time} today
sunset will be at {time} today in {location}
3 changes: 3 additions & 0 deletions dialog/en-us/current.sunset.past.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
the sun set at {time} today
the sun went down at {time} today
sunset was at {time} today
3 changes: 3 additions & 0 deletions dialog/en-us/current.sunset.past.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
the sun set at {time} today in {location}
in {location} the sun went down at {time} today
sunset was at {time} today in {location}
4 changes: 0 additions & 4 deletions dialog/en-us/current.temperature.dialog

This file was deleted.

4 changes: 4 additions & 0 deletions dialog/en-us/current.temperature.high.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
A high of {temperature} degrees {temperature_unit} is expected.
A high of {temperature} degrees can be expected.
Today the temperature will reach {temperature} degrees.

4 changes: 4 additions & 0 deletions dialog/en-us/current.temperature.high.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
A high of {temperature} degrees {temperature_unit} is expected in {location}.
A high of {temperature} degrees can be expected in {location}.
Today a the temperature will reach {temperature} degrees in {location}.

1 change: 1 addition & 0 deletions dialog/en-us/current.temperature.high.low.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Today's forecast is for a high of {high_temperature} and a low of {low_temperature}.
4 changes: 4 additions & 0 deletions dialog/en-us/current.temperature.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
It's currently {temperature} degrees {temperature_unit}.
It's currently {temperature} degrees.
Right now, it's {temperature} degrees.

4 changes: 4 additions & 0 deletions dialog/en-us/current.temperature.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
It's currently {temperature} degrees {temperature_unit} in {location}.
It's currently {temperature} degrees in {location}.
Right now, it's {temperature} degrees in {location}.

4 changes: 4 additions & 0 deletions dialog/en-us/current.temperature.low.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
A low of {temperature} degrees {temperature_unit} is expected.
A low of {temperature} degrees can be expected.
Today it will be as low as {temperature} degrees.

2 changes: 2 additions & 0 deletions dialog/en-us/current.temperature.low.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Today the temperature will be as low as {temperature} degrees {temperature_unit} in {location}.
Temperatures can be as low as {temperature} degrees in {location}.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions dialog/en-us/current.weather.dialog

This file was deleted.

3 changes: 3 additions & 0 deletions dialog/en-us/current.weather.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
It's currently {condition} and {temperature} degrees {temperature_unit}.
It's currently {condition} and {temperature} degrees.
Right now, it's {condition} and {temperature} degrees.
3 changes: 3 additions & 0 deletions dialog/en-us/current.weather.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
It's currently {condition} and {temperature} degrees {temperature_unit} in {location}.
Right now, it's {condition} and {temperature} degrees in {location}.
{location} has {condition} and is currently {temperature} degrees.
2 changes: 2 additions & 0 deletions dialog/en-us/current.wind.light.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The wind is light at {speed} {speed_unit} from the {direction}
Today there is light wind from the {direction} at {speed} {speed_unit}
2 changes: 2 additions & 0 deletions dialog/en-us/current.wind.light.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The wind is light in {location} at {speed} {speed_unit} from the {direction}
In {location} today there is light wind from the {direction} at {speed} {speed_unit}
2 changes: 2 additions & 0 deletions dialog/en-us/current.wind.moderate.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Currently the wind is a moderate {speed} {speed_unit} from the {direction}
It's a bit windy today, currently {speed} {speed_unit}
2 changes: 2 additions & 0 deletions dialog/en-us/current.wind.moderate.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Currently the wind is a moderate {speed} {speed_unit} from the {direction} in {location}
It's a bit windy in {location} today, currently {speed} {speed_unit}
3 changes: 3 additions & 0 deletions dialog/en-us/current.wind.strong.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Currently, the wind is from the {direction} at {speed} {speed_unit}, might be good to stay inside today
The wind is very strong from the {direction} today, {speed} {speed_unit}
It's very windy today, {speed} {speed_unit}
3 changes: 3 additions & 0 deletions dialog/en-us/current.wind.strong.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Currently, the wind is from the {direction} at {speed} {speed_unit} in {location}, a good day to stay inside
The wind is very strong from the {direction} in {location} today, {speed} {speed_unit}
{location} will have strong winds today, {speed} {speed_unit}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.humidity.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The humidity {day} will be {percent}
{day} the forecast calls for a humidity of {percent}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.humidity.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The humidity in {location} {day} will be {percent}
{day} the forecast in {location} calls for a humidity of {percent}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.precipitation.next.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There is a {percent} chance of {precipitation} {day}
The forecast calls for a {percent} chance of {precipitation} {day}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.precipitation.next.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
In {location} there is a {percent} chance of {precipitation} {day}
The forecast calls for a {percent} chance of {precipitation} in {location} {day}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.precipitation.next.none.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
No precipitation is in the forecast for the next 7 days
None is forecasted in the next 7 days.
2 changes: 2 additions & 0 deletions dialog/en-us/daily.precipitation.next.none.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
No precipitation is in the forecast for the next seven days in {location}
In {location} none is forecasted
3 changes: 3 additions & 0 deletions dialog/en-us/daily.sunrise.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
the sun will rise at {time} {day}
sunrise will be at {time} {day}
{day} the sun will rise at {time}
3 changes: 3 additions & 0 deletions dialog/en-us/daily.sunrise.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
the sun will rise at {time} {day} in {location}
in {location} sunrise will be at {time} {day}
{day} the sun will rise at {time} in {location}
4 changes: 4 additions & 0 deletions dialog/en-us/daily.sunset.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
the sun will set at {time} {day}
the sun will go down at {time} {day}
sunset will be at {time} {day}
{day} the sun will set at {time}
3 changes: 3 additions & 0 deletions dialog/en-us/daily.sunset.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
the sun will set at {time} {day} in {location}
in {location} sunset will be at {time} {day}
{day} the sun will set at {time} in {location}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.temperature.high.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} it will be as high as {temperature}
{day} the temperature will be as high as {temperature} degrees.
2 changes: 2 additions & 0 deletions dialog/en-us/daily.temperature.high.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
It will be as high as {temperature} degrees in {location} {day}
{location} will have a high of {temperature} degrees {day}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.temperature.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} it will be {temperature}
{day} the temperature will be {temperature} degrees.
2 changes: 2 additions & 0 deletions dialog/en-us/daily.temperature.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} it will be {temperature} degrees in {location}
{day}, {location} will have a temperature of {temperature} degrees
2 changes: 2 additions & 0 deletions dialog/en-us/daily.temperature.low.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} it will be as low as {temperature}
{day} the temperature will be as low as {temperature} degrees.
2 changes: 2 additions & 0 deletions dialog/en-us/daily.temperature.low.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} it will be as low as {temperature} degrees in {location}
{day}, {location} will be as low as {temperature} degrees
5 changes: 5 additions & 0 deletions dialog/en-us/daily.weather.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{day} expect {condition}, with a high of {high_temperature} and a low of {low_temperature}
Expect {condition}, with a high of {high_temperature} and a low of {low_temperature} {day}
{day} the high will be {high_temperature} and the low {low_temperature}, with {condition}
{day} it will be {condition} with a high of {high_temperature} and a low of {low_temperature}
The forecast {day} is {condition} with a high of {high_temperature} and a low of {low_temperature}
3 changes: 3 additions & 0 deletions dialog/en-us/daily.weather.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{day} it will be {condition}, with a high of {high_temperature} and a low of {low_temperature} in {location}
{day}, {location} will have a high of {high_temperature} and a low of {low_temperature}, with {condition}
The forecast {day} is {high_temperature} for a high and {low_temperature} for a low in {location}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.wind.light.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There will be a light wind coming from the {direction} {day} at {speed} {speed_unit}
It will not be very windy {day}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.wind.light.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There will be a light wind coming from the {direction} in {location} {day} at {speed} {speed_unit}
It will not be very windy in {location} {day}
3 changes: 3 additions & 0 deletions dialog/en-us/daily.wind.moderate.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The wind will be moderate, about {speed} {speed_unit} from the {direction} {day}
The forecast calls for a moderate wind from the {direction} at {speed} {speed_unit} {day}
You can expect a moderate wind of about {speed} {speed_unit} {day}
3 changes: 3 additions & 0 deletions dialog/en-us/daily.wind.moderate.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The wind will be moderate in {location} {day}, about {speed} {speed_unit} from the {direction}
The forecast {day} predicts {location} will have moderate wind from the {direction} of {speed} {speed_unit}
You can expect a wind of about {speed} {speed_unit} in {location} {day}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.wind.strong.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There will be strong wind from the {direction} of {speed} {speed_unit} {day}
The wind will be as strong as {speed} {speed_unit} {day}
2 changes: 2 additions & 0 deletions dialog/en-us/daily.wind.strong.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There will be a strong wind from the {direction} of {speed} {speed_unit} in {location} {day}
The wind will be as strong as {speed} {speed_unit} in {location} {day}
File renamed without changes.
2 changes: 0 additions & 2 deletions dialog/en-us/forecast.hard.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.high.temperature.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.hot.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.light.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.local.hard.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.local.high.temperature.dialog

This file was deleted.

1 change: 0 additions & 1 deletion dialog/en-us/forecast.local.hot.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.local.light.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.local.low.temperature.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/forecast.local.medium.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.local.temperature.dialog

This file was deleted.

5 changes: 0 additions & 5 deletions dialog/en-us/forecast.local.weather.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.low.temperature.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/forecast.medium.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/forecast.temperature.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/forecast.weather.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/hard.wind.dialog

This file was deleted.

4 changes: 0 additions & 4 deletions dialog/en-us/hour.local.weather.dialog

This file was deleted.

4 changes: 0 additions & 4 deletions dialog/en-us/hour.weather.dialog

This file was deleted.

2 changes: 2 additions & 0 deletions dialog/en-us/hourly.precipitation.next.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There is a {percent} chance of {precipitation} at {time}
The forecast calls for a {percent} chance of {precipitation} at {time}
2 changes: 2 additions & 0 deletions dialog/en-us/hourly.precipitation.next.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
In {location} there is a {percent} chance of {precipitation} at {time}
The forecast calls for a {percent} chance of {precipitation} in {location} at {time}
2 changes: 2 additions & 0 deletions dialog/en-us/hourly.temperature.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
It will be about {temperature} degrees in the {time}
In the {time}, it will be {temperature} degrees
2 changes: 2 additions & 0 deletions dialog/en-us/hourly.temperature.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
In {location} it will be about {temperature} degrees in the {time}
In the {time}, it will be {temperature} degrees in {location}
4 changes: 4 additions & 0 deletions dialog/en-us/hourly.weather.local.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
It will be {condition}, with temperatures near {temperature}
Later it will be {condition} and around {temperature} degrees
Later it will be {condition} and {temperature} degrees
Around {temperature} degrees with {condition}
4 changes: 4 additions & 0 deletions dialog/en-us/hourly.weather.location.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{location} weather in the next few hours will be {condition} and {temperature} degrees
Later it will be {condition} in {location}, with temperatures around {temperature}
{location} will be around {temperature} with {condition}
{location} will be about {temperature} degrees with {condition}
2 changes: 0 additions & 2 deletions dialog/en-us/light.wind.dialog

This file was deleted.

3 changes: 0 additions & 3 deletions dialog/en-us/local.hard.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/local.light.wind.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/local.medium.wind.dialog

This file was deleted.

5 changes: 2 additions & 3 deletions dialog/en-us/location.not.found.dialog
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
I not sure where that is
I don't know that location
I don't know that place
I can't find a city named {location}. Please try again
The city {location} is not in my memory banks. Please try again
2 changes: 0 additions & 2 deletions dialog/en-us/medium.wind.dialog

This file was deleted.

1 change: 0 additions & 1 deletion dialog/en-us/min.max.dialog

This file was deleted.

2 changes: 0 additions & 2 deletions dialog/en-us/no precipitation expected.dialog

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion dialog/en-us/on.date.dialog

This file was deleted.

1 change: 0 additions & 1 deletion dialog/en-us/on.dialog

This file was deleted.

0 comments on commit 10af4d3

Please sign in to comment.